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 DeclNodes.inc \ 12 DiagnosticCommonKinds.inc \ 13 DiagnosticFrontendKinds.inc \ 14 StmtNodes.inc \ 15 arm_neon.inc 16 17 clang_codegen_SRC_FILES := \ 18 BackendUtil.cpp \ 19 CGBlocks.cpp \ 20 CGBuiltin.cpp \ 21 CGCall.cpp \ 22 CGClass.cpp \ 23 CGCXX.cpp \ 24 CGCXXABI.cpp \ 25 CGCleanup.cpp \ 26 CGDebugInfo.cpp \ 27 CGDecl.cpp \ 28 CGDeclCXX.cpp \ 29 CGException.cpp \ 30 CGExpr.cpp \ 31 CGExprAgg.cpp \ 32 CGExprComplex.cpp \ 33 CGExprConstant.cpp \ 34 CGExprCXX.cpp \ 35 CGExprScalar.cpp \ 36 CGObjC.cpp \ 37 CGObjCGNU.cpp \ 38 CGObjCMac.cpp \ 39 CGObjCRuntime.cpp \ 40 CGRecordLayoutBuilder.cpp \ 41 CGRTTI.cpp \ 42 CGStmt.cpp \ 43 CGTemporaries.cpp \ 44 CGVTables.cpp \ 45 CGVTT.cpp \ 46 CodeGenAction.cpp \ 47 CodeGenFunction.cpp \ 48 CodeGenModule.cpp \ 49 CodeGenTBAA.cpp \ 50 CodeGenTypes.cpp \ 51 ItaniumCXXABI.cpp \ 52 MicrosoftCXXABI.cpp \ 53 ModuleBuilder.cpp \ 54 TargetInfo.cpp 55 56 LOCAL_SRC_FILES := $(clang_codegen_SRC_FILES) 57 58 LOCAL_MODULE:= libclangCodeGen 59 60 LOCAL_MODULE_TAGS := optional 61 62 include $(CLANG_HOST_BUILD_MK) 63 include $(CLANG_VERSION_INC_MK) 64 include $(CLANG_TBLGEN_RULES_MK) 65 include $(LLVM_GEN_INTRINSICS_MK) 66 include $(BUILD_HOST_STATIC_LIBRARY) 67