Home | History | Annotate | Download | only in CodeGen
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 include $(CLEAR_TBLGEN_VARS)
      4 
      5 clang_codegen_TBLGEN_TABLES := \
      6   AttrList.inc \
      7   AttrParsedAttrList.inc \
      8   Attrs.inc \
      9   AttrVisitor.inc \
     10   CommentCommandList.inc \
     11   CommentNodes.inc \
     12   DeclNodes.inc \
     13   DiagnosticCommonKinds.inc \
     14   DiagnosticFrontendKinds.inc \
     15   DiagnosticSemaKinds.inc \
     16   StmtNodes.inc \
     17   arm_neon.inc
     18 
     19 clang_codegen_SRC_FILES := \
     20   BackendUtil.cpp \
     21   CGAtomic.cpp \
     22   CGBlocks.cpp \
     23   CGBuiltin.cpp \
     24   CGCall.cpp \
     25   CGClass.cpp \
     26   CGCleanup.cpp \
     27   CGCUDANV.cpp \
     28   CGCUDARuntime.cpp \
     29   CGCXXABI.cpp \
     30   CGCXX.cpp \
     31   CGDebugInfo.cpp \
     32   CGDecl.cpp \
     33   CGDeclCXX.cpp \
     34   CGException.cpp \
     35   CGExprAgg.cpp \
     36   CGExprComplex.cpp \
     37   CGExprConstant.cpp \
     38   CGExpr.cpp \
     39   CGExprCXX.cpp \
     40   CGExprScalar.cpp \
     41   CGLoopInfo.cpp \
     42   CGObjC.cpp \
     43   CGObjCGNU.cpp \
     44   CGObjCMac.cpp \
     45   CGObjCRuntime.cpp \
     46   CGOpenCLRuntime.cpp \
     47   CGOpenMPRuntime.cpp \
     48   CGRecordLayoutBuilder.cpp \
     49   CGStmt.cpp \
     50   CGStmtOpenMP.cpp \
     51   CGVTables.cpp \
     52   CGVTT.cpp \
     53   CodeGenABITypes.cpp \
     54   CodeGenAction.cpp \
     55   CodeGenFunction.cpp \
     56   CodeGenModule.cpp \
     57   CodeGenPGO.cpp \
     58   CodeGenTBAA.cpp \
     59   CodeGenTypes.cpp \
     60   CoverageMappingGen.cpp \
     61   ItaniumCXXABI.cpp \
     62   MicrosoftCXXABI.cpp \
     63   ModuleBuilder.cpp \
     64   ObjectFilePCHContainerOperations.cpp \
     65   SanitizerMetadata.cpp \
     66   TargetInfo.cpp
     67 
     68 # For the host
     69 # =====================================================
     70 include $(CLEAR_VARS)
     71 
     72 LOCAL_MODULE:= libclangCodeGen
     73 LOCAL_MODULE_TAGS := optional
     74 
     75 LOCAL_SRC_FILES := $(clang_codegen_SRC_FILES)
     76 TBLGEN_TABLES := $(clang_codegen_TBLGEN_TABLES)
     77 
     78 include $(CLANG_HOST_BUILD_MK)
     79 include $(CLANG_VERSION_INC_MK)
     80 include $(CLANG_TBLGEN_RULES_MK)
     81 include $(LLVM_GEN_ATTRIBUTES_MK)
     82 include $(LLVM_GEN_INTRINSICS_MK)
     83 include $(BUILD_HOST_STATIC_LIBRARY)
     84 
     85 # For the target
     86 # =====================================================
     87 include $(CLEAR_VARS)
     88 
     89 LOCAL_MODULE:= libclangCodeGen
     90 LOCAL_MODULE_TAGS := optional
     91 
     92 LOCAL_SRC_FILES := $(clang_codegen_SRC_FILES)
     93 TBLGEN_TABLES := $(clang_codegen_TBLGEN_TABLES)
     94 
     95 include $(CLANG_DEVICE_BUILD_MK)
     96 include $(CLANG_VERSION_INC_MK)
     97 include $(CLANG_TBLGEN_RULES_MK)
     98 include $(LLVM_GEN_ATTRIBUTES_MK)
     99 include $(LLVM_GEN_INTRINSICS_MK)
    100 include $(BUILD_STATIC_LIBRARY)
    101