1 LOCAL_PATH:= $(call my-dir)
4 LIBXKBCOMMON_TOP := $(LOCAL_PATH)
6 LIBXKBCOMMON_BUILT_MAKEFILES := \
7 $(LIBXKBCOMMON_TOP)/Android_build.mk
9 LIBXKBCOMMON_CONFIGURE_TARGET := $(LIBXKBCOMMON_TOP)/Makefile
11 $(LIBXKBCOMMON_CONFIGURE_TARGET): $(CONFIGURE_DEPENDENCIES)
12 cd $(LIBXKBCOMMON_TOP) && autoreconf -fiv
13 cd $(LIBXKBCOMMON_TOP) && \
14 CC="$(CONFIGURE_CC)" \
15 CFLAGS="$(CONFIGURE_CFLAGS)" \
17 LDFLAGS="$(CONFIGURE_LDFLAGS)" \
18 CPP=$(CONFIGURE_CPP) \
19 CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
20 PKG_CONFIG_LIBDIR=$(CONFIGURE_PKG_CONFIG_LIBDIR) \
21 PKG_CONFIG_TOP_BUILD_DIR=$(PKG_CONFIG_TOP_BUILD_DIR) \
22 ./configure --host=arm-linux-androideabi \
24 --with-xkb-config-root=/system/usr/share/xkb
26 $(LIBXKBCOMMON_BUILT_MAKEFILES): $(LIBXKBCOMMON_CONFIGURE_TARGET)
27 make -C $(dir $@) $(notdir $@)
29 .PHONY: libxkbcommon-reset libxkbcommon-clean
32 cd $(LIBXKBCOMMON_TOP) && \
38 contrib-reset: libxkbcommon-reset
39 contrib-clean: libxkbcommon-clean
41 CONFIGURE_PKG_CONFIG_LIBDIR := $(CONFIGURE_PKG_CONFIG_LIBDIR):$(abspath $(LIBXKBCOMMON_TOP))
43 include $(LIBXKBCOMMON_BUILT_MAKEFILES)