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