1 LOCAL_PATH:= $(call my-dir) 2 3 mcld_mips_target_SRC_FILES := \ 4 MipsDiagnostic.cpp \ 5 MipsELFDynamic.cpp \ 6 MipsELFMCLinker.cpp \ 7 MipsEmulation.cpp \ 8 MipsGOT.cpp \ 9 MipsLDBackend.cpp \ 10 MipsMCLinker.cpp \ 11 MipsRelocator.cpp \ 12 MipsTargetMachine.cpp 13 14 # For the host 15 # ===================================================== 16 include $(CLEAR_VARS) 17 18 LOCAL_SRC_FILES := $(mcld_mips_target_SRC_FILES) 19 LOCAL_MODULE:= libmcldMipsTarget 20 21 LOCAL_MODULE_TAGS := optional 22 23 include $(MCLD_HOST_BUILD_MK) 24 include $(BUILD_HOST_STATIC_LIBRARY) 25 26 # For the device 27 # ===================================================== 28 ifeq ($(TARGET_ARCH),mips) 29 30 include $(CLEAR_VARS) 31 32 LOCAL_SRC_FILES := $(mcld_mips_target_SRC_FILES) 33 LOCAL_MODULE:= libmcldMipsTarget 34 35 LOCAL_MODULE_TAGS := optional 36 37 include $(MCLD_DEVICE_BUILD_MK) 38 include $(BUILD_STATIC_LIBRARY) 39 40 endif 41