Home | History | Annotate | Download | only in X86
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 mcld_x86_target_SRC_FILES := \
      4   X86Diagnostic.cpp \
      5   X86ELFDynamic.cpp \
      6   X86ELFMCLinker.cpp \
      7   X86Emulation.cpp  \
      8   X86GOT.cpp  \
      9   X86GOTPLT.cpp  \
     10   X86LDBackend.cpp  \
     11   X86MCLinker.cpp  \
     12   X86PLT.cpp  \
     13   X86Relocator.cpp  \
     14   X86TargetMachine.cpp
     15 
     16 # For the host
     17 # =====================================================
     18 include $(CLEAR_VARS)
     19 
     20 LOCAL_SRC_FILES := $(mcld_x86_target_SRC_FILES)
     21 LOCAL_MODULE:= libmcldX86Target
     22 
     23 LOCAL_MODULE_TAGS := optional
     24 
     25 include $(MCLD_HOST_BUILD_MK)
     26 include $(BUILD_HOST_STATIC_LIBRARY)
     27 
     28 # For the device
     29 # =====================================================
     30 ifeq ($(TARGET_ARCH),x86)
     31 
     32 include $(CLEAR_VARS)
     33 
     34 LOCAL_SRC_FILES := $(mcld_x86_target_SRC_FILES)
     35 LOCAL_MODULE:= libmcldX86Target
     36 
     37 LOCAL_MODULE_TAGS := optional
     38 
     39 include $(MCLD_DEVICE_BUILD_MK)
     40 include $(BUILD_STATIC_LIBRARY)
     41 
     42 endif
     43