include $(CLEAR_VARS) LOCAL_MODULE := libsigc++ LOCAL_CPP_EXTENSION := .cc LOCAL_SRC_FILES := $(wildcard jni/libsigc++/sigc++/*.cc jni/libsigc++/sigc++/functors/*.cc) LOCAL_C_INCLUDES := jni/libsigc++ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES) %.h: m4 -Ijni/libsigc++/sigc++/macros $(dir $@)/macros/$(notdir $@).m4 > $@ jni/libsigc++/sigc++config.h: jni/libsigc++/sigc++config.h.in jni/libsigc++.config.h cat $^ > $@ mkxp: $(subst /macros/,/,$(subst .m4,,$(filter-out %/template.macros.m4, \ $(wildcard jni/libsigc++/sigc++/macros/*.m4 jni/libsigc++/sigc++/*/macros/*.m4)))) \ jni/libsigc++/sigc++config.h include $(BUILD_STATIC_LIBRARY)