Home | History | Annotate | Download | only in Target
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 target_SRC_FILES := \
      4   Mangler.cpp \
      5   Target.cpp \
      6   TargetData.cpp \
      7   TargetELFWriterInfo.cpp \
      8   TargetInstrInfo.cpp \
      9   TargetIntrinsicInfo.cpp \
     10   TargetJITInfo.cpp \
     11   TargetLibraryInfo.cpp \
     12   TargetLoweringObjectFile.cpp \
     13   TargetMachine.cpp \
     14   TargetRegisterInfo.cpp \
     15   TargetSubtargetInfo.cpp
     16 
     17 # For the host
     18 # =====================================================
     19 include $(CLEAR_VARS)
     20 
     21 LOCAL_SRC_FILES := $(target_SRC_FILES)
     22 
     23 LOCAL_MODULE:= libLLVMTarget
     24 
     25 LOCAL_MODULE_TAGS := optional
     26 
     27 include $(LLVM_HOST_BUILD_MK)
     28 include $(BUILD_HOST_STATIC_LIBRARY)
     29 
     30 # For the device
     31 # =====================================================
     32 include $(CLEAR_VARS)
     33 
     34 LOCAL_SRC_FILES := $(target_SRC_FILES)
     35 
     36 LOCAL_MODULE:= libLLVMTarget
     37 
     38 LOCAL_MODULE_TAGS := optional
     39 
     40 include $(LLVM_DEVICE_BUILD_MK)
     41 include $(BUILD_STATIC_LIBRARY)
     42