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