Hash :
3199ea73
Author :
Date :
2012-05-14T14:33:29
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 35 36 37 38 39 40 41 42 43 44 45
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LIBXKBCOMMON_TOP := $(LOCAL_PATH)
LIBXKBCOMMON_BUILT_MAKEFILES := \
$(LIBXKBCOMMON_TOP)/Android_build.mk
libxkbcommon-configure:
cd $(LIBXKBCOMMON_TOP) && autoreconf -fiv
cd $(LIBXKBCOMMON_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=$(PKG_CONFIG_TOP_BUILD_DIR) \
./configure --host=arm-linux-androideabi \
--prefix /system \
--with-xkb-config-root=/system/usr/share/xkb
rm -f $(LIBXKBCOMMON_BUILT_MAKEFILES)
@for file in $(LIBXKBCOMMON_BUILT_MAKEFILES); do \
echo "make -C $$(dirname $$file) $$(basename $$file)" ; \
make -C $$(dirname $$file) $$(basename $$file) ; \
done
libxkbcommon-reset:
cd $(LIBXKBCOMMON_TOP) && \
git clean -qdxf && \
git reset --hard HEAD
libxkbcommon-clean:
.PHONY: libxkbcommon-configure libxkbcommon-clean libxkbcommon-reset
CONFIGURE_TARGETS += libxkbcommon-configure
CONFIGURE_RESET_TARGETS += libxkbcommon-reset
AGGREGATE_CLEAN_TARGETS += libxkbcommon-clean
CONFIGURE_PKG_CONFIG_LIBDIR := $(CONFIGURE_PKG_CONFIG_LIBDIR):$(LIBXKBCOMMON_TOP)
-include $(LIBXKBCOMMON_BUILT_MAKEFILES)