Home | History | Annotate | Download | only in TableGen
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 tablegen_SRC_FILES := \
      4   AsmMatcherEmitter.cpp \
      5   AsmWriterEmitter.cpp \
      6   AsmWriterInst.cpp \
      7   CallingConvEmitter.cpp \
      8   CodeEmitterGen.cpp \
      9   CodeGenDAGPatterns.cpp \
     10   CodeGenInstruction.cpp \
     11   CodeGenMapTable.cpp \
     12   CodeGenRegisters.cpp \
     13   CodeGenSchedule.cpp \
     14   CodeGenTarget.cpp \
     15   CTagsEmitter.cpp \
     16   DAGISelEmitter.cpp \
     17   DAGISelMatcherEmitter.cpp \
     18   DAGISelMatcherGen.cpp \
     19   DAGISelMatcherOpt.cpp \
     20   DAGISelMatcher.cpp \
     21   DFAPacketizerEmitter.cpp \
     22   DisassemblerEmitter.cpp \
     23   FastISelEmitter.cpp \
     24   FixedLenDecoderEmitter.cpp \
     25   InstrInfoEmitter.cpp \
     26   IntrinsicEmitter.cpp \
     27   OptParserEmitter.cpp \
     28   PseudoLoweringEmitter.cpp \
     29   RegisterInfoEmitter.cpp \
     30   SubtargetEmitter.cpp \
     31   TableGen.cpp \
     32   X86DisassemblerTables.cpp \
     33   X86ModRMFilters.cpp \
     34   X86RecognizableInstr.cpp
     35 
     36 include $(CLEAR_VARS)
     37 
     38 LOCAL_MODULE := llvm-tblgen
     39 LOCAL_MODULE_TAGS := optional
     40 LOCAL_SRC_FILES := $(tablegen_SRC_FILES)
     41 
     42 REQUIRES_EH := 1
     43 REQUIRES_RTTI := 1
     44 
     45 LOCAL_STATIC_LIBRARIES := \
     46   libLLVMTableGen \
     47   libLLVMSupport
     48 
     49 LOCAL_LDLIBS += -lm
     50 ifeq ($(HOST_OS),windows)
     51   LOCAL_LDLIBS += -limagehlp -lpsapi
     52 else
     53   LOCAL_LDLIBS += -lpthread -ldl
     54 endif
     55 
     56 include $(LLVM_HOST_BUILD_MK)
     57 include $(BUILD_HOST_EXECUTABLE)
     58