Home | History | Annotate | Download | only in Frontend
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 # For the host only
      4 # =====================================================
      5 include $(CLEAR_VARS)
      6 include $(CLEAR_TBLGEN_VARS)
      7 
      8 TBLGEN_TABLES := \
      9   AttrList.inc \
     10   Attrs.inc \
     11   CC1Options.inc \
     12   DiagnosticASTKinds.inc \
     13   DiagnosticCommonKinds.inc \
     14   DiagnosticDriverKinds.inc \
     15   DiagnosticFrontendKinds.inc \
     16   DiagnosticLexKinds.inc \
     17   DiagnosticSemaKinds.inc \
     18   DeclNodes.inc \
     19   StmtNodes.inc
     20 
     21 clang_frontend_SRC_FILES := \
     22   ASTConsumers.cpp \
     23   ASTMerge.cpp \
     24   ASTUnit.cpp \
     25   CacheTokens.cpp \
     26   CompilerInstance.cpp \
     27   CompilerInvocation.cpp \
     28   CreateInvocationFromCommandLine.cpp \
     29   DependencyFile.cpp \
     30   FrontendAction.cpp \
     31   FrontendActions.cpp \
     32   FrontendOptions.cpp \
     33   HeaderIncludeGen.cpp \
     34   InitHeaderSearch.cpp \
     35   InitPreprocessor.cpp \
     36   LangStandards.cpp \
     37   LogDiagnosticPrinter.cpp \
     38   MultiplexConsumer.cpp \
     39   PrintPreprocessedOutput.cpp \
     40   TextDiagnostic.cpp \
     41   TextDiagnosticBuffer.cpp \
     42   TextDiagnosticPrinter.cpp \
     43   Warnings.cpp \
     44   VerifyDiagnosticConsumer.cpp
     45 
     46 LOCAL_SRC_FILES := $(clang_frontend_SRC_FILES)
     47 
     48 LOCAL_MODULE:= libclangFrontend
     49 LOCAL_MODULE_TAGS:= optional
     50 
     51 LOCAL_MODULE_TAGS := optional
     52 
     53 include $(CLANG_HOST_BUILD_MK)
     54 include $(CLANG_TBLGEN_RULES_MK)
     55 include $(CLANG_VERSION_INC_MK)
     56 include $(BUILD_HOST_STATIC_LIBRARY)
     57