Home | History | Annotate | Download | only in AST
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 include $(CLEAR_TBLGEN_VARS)
      4 
      5 TBLGEN_TABLES :=    \
      6 	AttrDump.inc	\
      7 	AttrImpl.inc	\
      8 	AttrList.inc	\
      9 	Attrs.inc	\
     10         AttrVisitor.inc \
     11 	CommentCommandInfo.inc \
     12 	CommentCommandList.inc \
     13 	CommentHTMLNamedCharacterReferences.inc \
     14 	CommentHTMLTags.inc \
     15 	CommentHTMLTagsProperties.inc \
     16 	CommentNodes.inc \
     17 	DeclNodes.inc	\
     18 	DiagnosticASTKinds.inc	\
     19 	DiagnosticCommentKinds.inc \
     20 	DiagnosticCommonKinds.inc	\
     21 	DiagnosticFrontendKinds.inc \
     22 	DiagnosticSemaKinds.inc	\
     23 	StmtNodes.inc
     24 
     25 clang_ast_SRC_FILES := \
     26   APValue.cpp \
     27   ASTConsumer.cpp \
     28   ASTContext.cpp \
     29   ASTDiagnostic.cpp \
     30   ASTDumper.cpp \
     31   ASTImporter.cpp \
     32   ASTTypeTraits.cpp \
     33   AttrImpl.cpp \
     34   CommentBriefParser.cpp \
     35   CommentCommandTraits.cpp \
     36   Comment.cpp \
     37   CommentLexer.cpp \
     38   CommentParser.cpp \
     39   CommentSema.cpp \
     40   CXXInheritance.cpp \
     41   DeclarationName.cpp \
     42   DeclBase.cpp \
     43   Decl.cpp \
     44   DeclCXX.cpp \
     45   DeclFriend.cpp \
     46   DeclGroup.cpp \
     47   DeclObjC.cpp \
     48   DeclOpenMP.cpp \
     49   DeclPrinter.cpp \
     50   DeclTemplate.cpp \
     51   ExprClassification.cpp \
     52   ExprConstant.cpp \
     53   Expr.cpp \
     54   ExprCXX.cpp \
     55   ExprObjC.cpp \
     56   ExternalASTSource.cpp \
     57   InheritViz.cpp \
     58   ItaniumCXXABI.cpp \
     59   ItaniumMangle.cpp \
     60   Mangle.cpp \
     61   MicrosoftCXXABI.cpp \
     62   MicrosoftMangle.cpp \
     63   NestedNameSpecifier.cpp \
     64   NSAPI.cpp \
     65   OpenMPClause.cpp \
     66   ParentMap.cpp \
     67   RawCommentList.cpp \
     68   RecordLayoutBuilder.cpp \
     69   RecordLayout.cpp \
     70   SelectorLocationsKind.cpp \
     71   Stmt.cpp \
     72   StmtCXX.cpp \
     73   StmtIterator.cpp \
     74   StmtObjC.cpp \
     75   StmtOpenMP.cpp \
     76   StmtPrinter.cpp \
     77   StmtProfile.cpp \
     78   StmtViz.cpp \
     79   TemplateBase.cpp \
     80   TemplateName.cpp \
     81   Type.cpp \
     82   TypeLoc.cpp \
     83   TypePrinter.cpp \
     84   VTableBuilder.cpp \
     85   VTTBuilder.cpp
     86 
     87 # For the host
     88 # =====================================================
     89 include $(CLEAR_VARS)
     90 
     91 LOCAL_SRC_FILES := $(clang_ast_SRC_FILES)
     92 LOCAL_MODULE:= libclangAST
     93 LOCAL_MODULE_TAGS := optional
     94 
     95 include $(CLANG_HOST_BUILD_MK)
     96 include $(CLANG_TBLGEN_RULES_MK)
     97 include $(BUILD_HOST_STATIC_LIBRARY)
     98 
     99 # For the target
    100 # =====================================================
    101 include $(CLEAR_VARS)
    102 
    103 LOCAL_SRC_FILES := $(clang_ast_SRC_FILES)
    104 LOCAL_MODULE:= libclangAST
    105 LOCAL_MODULE_TAGS := optional
    106 
    107 include $(CLANG_DEVICE_BUILD_MK)
    108 include $(CLANG_TBLGEN_RULES_MK)
    109 include $(BUILD_STATIC_LIBRARY)
    110