• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH:= $(call my-dir)
2
3clang_codegen_TBLGEN_TABLES := \
4  AttrList.inc \
5  Attrs.inc \
6  CommentCommandList.inc \
7  CommentNodes.inc \
8  DeclNodes.inc \
9  DiagnosticCommonKinds.inc \
10  DiagnosticFrontendKinds.inc \
11  StmtNodes.inc \
12  arm_neon.inc
13
14clang_codegen_SRC_FILES := \
15  BackendUtil.cpp \
16  CGAtomic.cpp \
17  CGBlocks.cpp \
18  CGBuiltin.cpp \
19  CGCUDANV.cpp \
20  CGCUDARuntime.cpp \
21  CGCXX.cpp \
22  CGCXXABI.cpp \
23  CGCall.cpp \
24  CGClass.cpp \
25  CGCleanup.cpp \
26  CGDebugInfo.cpp \
27  CGDecl.cpp \
28  CGDeclCXX.cpp \
29  CGException.cpp \
30  CGExpr.cpp \
31  CGExprAgg.cpp \
32  CGExprCXX.cpp \
33  CGExprComplex.cpp \
34  CGExprConstant.cpp \
35  CGExprScalar.cpp \
36  CGObjC.cpp \
37  CGObjCGNU.cpp \
38  CGObjCMac.cpp \
39  CGObjCRuntime.cpp \
40  CGOpenCLRuntime.cpp \
41  CGRTTI.cpp \
42  CGRecordLayoutBuilder.cpp \
43  CGStmt.cpp \
44  CGVTT.cpp \
45  CGVTables.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# For the host only
57# =====================================================
58include $(CLEAR_VARS)
59include $(CLEAR_TBLGEN_VARS)
60
61LOCAL_MODULE:= libclangCodeGen
62LOCAL_MODULE_TAGS := optional
63
64LOCAL_SRC_FILES := $(clang_codegen_SRC_FILES)
65TBLGEN_TABLES := $(clang_codegen_TBLGEN_TABLES)
66
67include $(CLANG_HOST_BUILD_MK)
68include $(CLANG_VERSION_INC_MK)
69include $(CLANG_TBLGEN_RULES_MK)
70include $(LLVM_GEN_INTRINSICS_MK)
71include $(BUILD_HOST_STATIC_LIBRARY)
72