1 LOCAL_PATH:= $(call my-dir) 2 3 mcld_arm_target_SRC_FILES := \ 4 ARMDiagnostic.cpp \ 5 ARMELFDynamic.cpp \ 6 ARMELFMCLinker.cpp \ 7 ARMEmulation.cpp \ 8 ARMGOT.cpp \ 9 ARMLDBackend.cpp \ 10 ARMMCLinker.cpp \ 11 ARMPLT.cpp \ 12 ARMRelocator.cpp \ 13 ARMTargetMachine.cpp \ 14 ARMToARMStub.cpp \ 15 ARMToTHMStub.cpp \ 16 THMToARMStub.cpp \ 17 THMToTHMStub.cpp 18 19 # For the host 20 # ===================================================== 21 include $(CLEAR_VARS) 22 23 LOCAL_SRC_FILES := $(mcld_arm_target_SRC_FILES) 24 LOCAL_MODULE:= libmcldARMTarget 25 26 LOCAL_MODULE_TAGS := optional 27 28 include $(MCLD_HOST_BUILD_MK) 29 include $(BUILD_HOST_STATIC_LIBRARY) 30 31 # For the device 32 # ===================================================== 33 ifeq ($(TARGET_ARCH),arm) 34 35 include $(CLEAR_VARS) 36 37 LOCAL_SRC_FILES := $(mcld_arm_target_SRC_FILES) 38 LOCAL_MODULE:= libmcldARMTarget 39 40 LOCAL_MODULE_TAGS := optional 41 42 include $(MCLD_DEVICE_BUILD_MK) 43 include $(BUILD_STATIC_LIBRARY) 44 45 endif 46