Home | History | Annotate | Download | only in lli
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../..
      4 
      5 
      6 #===---------------------------------------------------------------===
      7 # lli command line tool
      8 #===---------------------------------------------------------------===
      9 
     10 lli_SRC_FILES := \
     11   lli.cpp \
     12   RemoteMemoryManager.cpp \
     13   RemoteTarget.cpp \
     14   RemoteTargetExternal.cpp \
     15 
     16 lli_STATIC_LIBRARIES := \
     17   libLLVMIRReader \
     18   libLLVMBitReader \
     19   libLLVMARMCodeGen \
     20   libLLVMARMInfo \
     21   libLLVMARMDesc \
     22   libLLVMARMAsmPrinter \
     23   libLLVMARMAsmParser \
     24   libLLVMARMDisassembler \
     25   libLLVMAArch64CodeGen \
     26   libLLVMAArch64Info \
     27   libLLVMAArch64Desc \
     28   libLLVMAArch64AsmPrinter \
     29   libLLVMAArch64AsmParser \
     30   libLLVMAArch64Utils \
     31   libLLVMAArch64Disassembler \
     32   libLLVMMipsCodeGen \
     33   libLLVMMipsInfo \
     34   libLLVMMipsDesc \
     35   libLLVMMipsAsmPrinter \
     36   libLLVMMipsAsmParser \
     37   libLLVMMipsDisassembler \
     38   libLLVMX86CodeGen \
     39   libLLVMX86Info \
     40   libLLVMX86Desc \
     41   libLLVMX86AsmPrinter \
     42   libLLVMX86AsmParser \
     43   libLLVMX86Utils \
     44   libLLVMX86Disassembler \
     45   libLLVMAsmPrinter \
     46   libLLVMSelectionDAG \
     47   libLLVMJIT \
     48   libLLVMCodeGen \
     49   libLLVMInstrumentation \
     50   libLLVMExecutionEngine \
     51   libLLVMLinker \
     52   libLLVMInterpreter \
     53   libLLVMScalarOpts \
     54   libLLVMTransformUtils \
     55   libLLVMAnalysis \
     56   libLLVMTarget \
     57   libLLVMMC \
     58   libLLVMMCJIT \
     59   libLLVMRuntimeDyld \
     60   libLLVMMCParser \
     61   libLLVMObject \
     62   libLLVMCore \
     63   libLLVMAsmParser \
     64   libLLVMOption \
     65   libLLVMSupport \
     66   libLLVMMCDisassembler \
     67 
     68 include $(CLEAR_VARS)
     69 
     70 LOCAL_MODULE := lli
     71 LOCAL_MODULE_TAGS := optional
     72 LOCAL_MODULE_CLASS := EXECUTABLES
     73 LOCAL_IS_HOST_MODULE := true
     74 
     75 LOCAL_SRC_FILES := $(lli_SRC_FILES)
     76 
     77 LOCAL_STATIC_LIBRARIES := $(lli_STATIC_LIBRARIES)
     78 
     79 LOCAL_LDLIBS += -lpthread -lm -ldl
     80 
     81 include $(LLVM_ROOT_PATH)/llvm.mk
     82 include $(LLVM_HOST_BUILD_MK)
     83 include $(LLVM_GEN_INTRINSICS_MK)
     84 include $(BUILD_HOST_EXECUTABLE)
     85