1LOCAL_PATH:= $(call my-dir) 2 3mcld_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# ===================================================== 16include $(CLEAR_VARS) 17 18LOCAL_SRC_FILES := $(mcld_mips_target_SRC_FILES) 19LOCAL_MODULE:= libmcldMipsTarget 20 21LOCAL_MODULE_TAGS := optional 22 23include $(MCLD_HOST_BUILD_MK) 24include $(BUILD_HOST_STATIC_LIBRARY) 25 26# For the device 27# ===================================================== 28ifeq ($(TARGET_ARCH),mips) 29 30include $(CLEAR_VARS) 31 32LOCAL_SRC_FILES := $(mcld_mips_target_SRC_FILES) 33LOCAL_MODULE:= libmcldMipsTarget 34 35LOCAL_MODULE_TAGS := optional 36 37include $(MCLD_DEVICE_BUILD_MK) 38include $(BUILD_STATIC_LIBRARY) 39 40endif 41