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