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