Home | History | Annotate | Download | only in CodeGen
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 clang_codegen_TBLGEN_TABLES := \
      4   AttrList.inc \
      5   Attrs.inc \
      6   DeclNodes.inc \
      7   DiagnosticCommonKinds.inc \
      8   DiagnosticFrontendKinds.inc \
      9   StmtNodes.inc \
     10   arm_neon.inc
     11 
     12 clang_codegen_SRC_FILES := \
     13   BackendUtil.cpp \
     14   CGBlocks.cpp \
     15   CGBuiltin.cpp \
     16   CGCUDANV.cpp \
     17   CGCUDARuntime.cpp \
     18   CGCXX.cpp \
     19   CGCXXABI.cpp \
     20   CGCall.cpp \
     21   CGClass.cpp \
     22   CGCleanup.cpp \
     23   CGDebugInfo.cpp \
     24   CGDecl.cpp \
     25   CGDeclCXX.cpp \
     26   CGException.cpp \
     27   CGExpr.cpp \
     28   CGExprAgg.cpp \
     29   CGExprCXX.cpp \
     30   CGExprComplex.cpp \
     31   CGExprConstant.cpp \
     32   CGExprScalar.cpp \
     33   CGObjC.cpp \
     34   CGObjCGNU.cpp \
     35   CGObjCMac.cpp \
     36   CGObjCRuntime.cpp \
     37   CGOpenCLRuntime.cpp \
     38   CGRTTI.cpp \
     39   CGRecordLayoutBuilder.cpp \
     40   CGStmt.cpp \
     41   CGVTT.cpp \
     42   CGVTables.cpp \
     43   CodeGenAction.cpp \
     44   CodeGenFunction.cpp \
     45   CodeGenModule.cpp \
     46   CodeGenTBAA.cpp \
     47   CodeGenTypes.cpp \
     48   ItaniumCXXABI.cpp \
     49   MicrosoftCXXABI.cpp \
     50   ModuleBuilder.cpp \
     51   TargetInfo.cpp
     52 
     53 # For the host only
     54 # =====================================================
     55 include $(CLEAR_VARS)
     56 include $(CLEAR_TBLGEN_VARS)
     57 
     58 LOCAL_MODULE:= libclangCodeGen
     59 LOCAL_MODULE_TAGS := optional
     60 
     61 LOCAL_SRC_FILES := $(clang_codegen_SRC_FILES)
     62 TBLGEN_TABLES := $(clang_codegen_TBLGEN_TABLES)
     63 
     64 include $(CLANG_HOST_BUILD_MK)
     65 include $(CLANG_VERSION_INC_MK)
     66 include $(CLANG_TBLGEN_RULES_MK)
     67 include $(LLVM_GEN_INTRINSICS_MK)
     68 include $(BUILD_HOST_STATIC_LIBRARY)
     69