1 LOCAL_PATH:= $(call my-dir) 2 3 mcld_target_SRC_FILES := \ 4 ELFAttribute.cpp \ 5 ELFAttributeData.cpp \ 6 ELFAttributeValue.cpp \ 7 ELFDynamic.cpp \ 8 ELFEmulation.cpp \ 9 ELFMCLinker.cpp \ 10 GNUInfo.cpp \ 11 GNULDBackend.cpp \ 12 GOT.cpp \ 13 OutputRelocSection.cpp \ 14 PLT.cpp \ 15 TargetLDBackend.cpp 16 17 # For the host 18 # ===================================================== 19 include $(CLEAR_VARS) 20 21 LOCAL_SRC_FILES := $(mcld_target_SRC_FILES) 22 LOCAL_MODULE:= libmcldTarget 23 24 LOCAL_MODULE_TAGS := optional 25 26 include $(MCLD_HOST_BUILD_MK) 27 include $(BUILD_HOST_STATIC_LIBRARY) 28 29 # For the device 30 # ===================================================== 31 include $(CLEAR_VARS) 32 33 LOCAL_SRC_FILES := $(mcld_target_SRC_FILES) 34 LOCAL_MODULE:= libmcldTarget 35 36 LOCAL_MODULE_TAGS := optional 37 38 include $(MCLD_DEVICE_BUILD_MK) 39 include $(BUILD_STATIC_LIBRARY) 40