1LOCAL_PATH:= $(call my-dir) 2 3mcld_core_SRC_FILES := \ 4 AttributeOption.cpp \ 5 Environment.cpp \ 6 GeneralOptions.cpp \ 7 InputTree.cpp \ 8 IRBuilder.cpp \ 9 LinkerConfig.cpp \ 10 Linker.cpp \ 11 LinkerScript.cpp \ 12 Module.cpp \ 13 TargetOptions.cpp 14 15# For the host 16# ===================================================== 17include $(CLEAR_VARS) 18 19LOCAL_SRC_FILES := $(mcld_core_SRC_FILES) 20LOCAL_MODULE:= libmcldCore 21 22LOCAL_MODULE_TAGS := optional 23 24include $(MCLD_HOST_BUILD_MK) 25include $(BUILD_HOST_STATIC_LIBRARY) 26 27# For the device 28# ===================================================== 29include $(CLEAR_VARS) 30 31LOCAL_SRC_FILES := $(mcld_core_SRC_FILES) 32LOCAL_MODULE:= libmcldCore 33 34LOCAL_MODULE_TAGS := optional 35 36include $(MCLD_DEVICE_BUILD_MK) 37include $(BUILD_STATIC_LIBRARY) 38