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