-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android.mk
34 lines (28 loc) · 960 Bytes
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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