mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
62a3a7ed8c
Remove the android/ top dir Fixe the Makefile.am to be androgenized To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files. Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
34 lines
960 B
Makefile
34 lines
960 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
GES_TOP := $(LOCAL_PATH)
|
|
|
|
GES_BUILT_SOURCES := \
|
|
ges/Android.mk \
|
|
tools/Android.mk
|
|
GES_BUILT_SOURCES := $(patsubst %, $(abspath $(GES_TOP))/%, $(GES_BUILT_SOURCES))
|
|
|
|
.PHONY: ges-configure ges-configure-real
|
|
ges-configure-real:
|
|
cd $(GES_TOP) ; \
|
|
CC="$(CONFIGURE_CC)" \
|
|
CFLAGS="$(CONFIGURE_CFLAGS)" \
|
|
LD=$(TARGET_LD) \
|
|
LDFLAGS="$(CONFIGURE_LDFLAGS)" \
|
|
CPP=$(CONFIGURE_CPP) \
|
|
CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
|
|
PKG_CONFIG_LIBDIR=$(CONFIGURE_PKG_CONFIG_LIBDIR) \
|
|
PKG_CONFIG_TOP_BUILD_DIR=/ \
|
|
$(abspath $(GES_TOP))/$(CONFIGURE) --prefix=/system --host=arm-linux-androideabi \
|
|
--disable-gtk-doc --disable-valgrind && \
|
|
for file in $(GES_BUILT_SOURCES); do \
|
|
rm -f $$file && \
|
|
make -C $$(dirname $$file) $$(basename $$file) ; \
|
|
done
|
|
|
|
ges-configure: ges-configure-real
|
|
|
|
CONFIGURE_TARGETS += ges-configure
|
|
|
|
-include $(GES_TOP)/ges/Android.mk
|
|
-include $(GES_TOP)/tools/Android.mk
|