1 LOCAL_PATH:= $(call my-dir)
5 LIBXKBCOMMON_TOP := $(LOCAL_PATH)
7 LIBXKBCOMMON_BUILT_MAKEFILES := \
8 $(LIBXKBCOMMON_TOP)/Android_build.mk
10 libxkbcommon-configure:
11 cd $(LIBXKBCOMMON_TOP) && autoreconf -fiv
12 cd $(LIBXKBCOMMON_TOP) && \
13 CC="$(CONFIGURE_CC)" \
14 CFLAGS="$(CONFIGURE_CFLAGS)" \
16 LDFLAGS="$(CONFIGURE_LDFLAGS)" \
17 CPP=$(CONFIGURE_CPP) \
18 CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
19 PKG_CONFIG_LIBDIR=$(CONFIGURE_PKG_CONFIG_LIBDIR) \
20 PKG_CONFIG_TOP_BUILD_DIR=$(PKG_CONFIG_TOP_BUILD_DIR) \
21 ./configure --host=arm-linux-androideabi \
23 --with-xkb-config-root=/system/usr/share/xkb
24 rm -f $(LIBXKBCOMMON_BUILT_MAKEFILES)
25 @for file in $(LIBXKBCOMMON_BUILT_MAKEFILES); do \
26 echo "make -C $$(dirname $$file) $$(basename $$file)" ; \
27 make -C $$(dirname $$file) $$(basename $$file) ; \
31 cd $(LIBXKBCOMMON_TOP) && \
37 .PHONY: libxkbcommon-configure libxkbcommon-clean libxkbcommon-reset
39 CONFIGURE_TARGETS += libxkbcommon-configure
40 CONFIGURE_RESET_TARGETS += libxkbcommon-reset
41 AGGREGATE_CLEAN_TARGETS += libxkbcommon-clean
42 CONFIGURE_PKG_CONFIG_LIBDIR := $(CONFIGURE_PKG_CONFIG_LIBDIR):$(LIBXKBCOMMON_TOP)
44 -include $(LIBXKBCOMMON_BUILT_MAKEFILES)