Home | History | Annotate | Download | only in TableGen
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 clang_tablegen_SRC_FILES := \
      4   ClangASTNodesEmitter.cpp \
      5   ClangAttrEmitter.cpp \
      6   ClangCommentCommandInfoEmitter.cpp \
      7   ClangCommentHTMLNamedCharacterReferenceEmitter.cpp \
      8   ClangCommentHTMLTagsEmitter.cpp \
      9   ClangDiagnosticsEmitter.cpp \
     10   ClangSACheckersEmitter.cpp \
     11   NeonEmitter.cpp \
     12   TableGen.cpp
     13 
     14 include $(CLEAR_VARS)
     15 
     16 LOCAL_MODULE := clang-tblgen
     17 LOCAL_MODULE_TAGS := optional
     18 LOCAL_SRC_FILES := $(clang_tablegen_SRC_FILES)
     19 
     20 REQUIRES_EH := 1
     21 REQUIRES_RTTI := 1
     22 
     23 LOCAL_STATIC_LIBRARIES := \
     24   libLLVMTableGen \
     25   libLLVMSupport
     26 
     27 LOCAL_LDLIBS += -lm
     28 ifeq ($(HOST_OS),windows)
     29   LOCAL_LDLIBS += -limagehlp -lpsapi
     30 else
     31   LOCAL_LDLIBS += -lpthread -ldl
     32 endif
     33 
     34 include $(LLVM_HOST_BUILD_MK)
     35 include $(BUILD_HOST_EXECUTABLE)
     36