1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4LOCAL_MODULE := foo 5LOCAL_SRC_FILES := foo/foo.c 6LOCAL_CFLAGS := -DFOO=2 7LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/foo 8LOCAL_EXPORT_CFLAGS := -DFOO=1 9LOCAL_EXPORT_LDLIBS := -llog 10include $(BUILD_STATIC_LIBRARY) 11 12include $(CLEAR_VARS) 13LOCAL_MODULE := bar 14LOCAL_SRC_FILES := bar/bar.c 15LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/bar 16LOCAL_STATIC_LIBRARIES := foo 17include $(BUILD_SHARED_LIBRARY) 18 19include $(CLEAR_VARS) 20LOCAL_MODULE := zoo 21LOCAL_SRC_FILES := zoo/zoo.c 22LOCAL_SHARED_LIBRARIES := bar 23include $(BUILD_SHARED_LIBRARY) 24