1LOCAL_PATH:= $(call my-dir) 2 3mcld_codegen_SRC_FILES := \ 4 LLVMTargetMachine.cpp \ 5 SectLinker.cpp \ 6 SectLinkerOption.cpp 7 8# For the host 9# ===================================================== 10include $(CLEAR_VARS) 11 12LOCAL_SRC_FILES := $(mcld_codegen_SRC_FILES) 13LOCAL_MODULE:= libmcldCodeGen 14 15LOCAL_MODULE_TAGS := optional 16 17include $(MCLD_HOST_BUILD_MK) 18include $(BUILD_HOST_STATIC_LIBRARY) 19 20# For the device 21# ===================================================== 22include $(CLEAR_VARS) 23 24LOCAL_SRC_FILES := $(mcld_codegen_SRC_FILES) 25LOCAL_MODULE:= libmcldCodeGen 26 27LOCAL_MODULE_TAGS := optional 28 29include $(MCLD_DEVICE_BUILD_MK) 30include $(BUILD_STATIC_LIBRARY) 31