Makefile文件  |  97行  |  2.13 KB

LOCAL_PATH:= $(call my-dir)

include $(CLEAR_TBLGEN_VARS)

TBLGEN_TABLES :=    \
	AttrList.inc	\
	Attrs.inc	\
	AttrParsedAttrKinds.inc    \
	AttrParsedAttrImpl.inc    \
	AttrParsedAttrList.inc    \
	AttrSpellingListIndex.inc \
	AttrTemplateInstantiate.inc	\
        AttrVisitor.inc \
	CommentCommandList.inc \
	CommentNodes.inc \
	DeclNodes.inc	\
	DiagnosticASTKinds.inc	\
	DiagnosticSemaKinds.inc	\
	DiagnosticParseKinds.inc	\
	DiagnosticCommentKinds.inc \
	DiagnosticCommonKinds.inc	\
	StmtNodes.inc	\
	arm_neon.inc

clang_sema_SRC_FILES := \
  AnalysisBasedWarnings.cpp \
  AttributeList.cpp \
  CodeCompleteConsumer.cpp \
  DeclSpec.cpp \
  DelayedDiagnostic.cpp \
  IdentifierResolver.cpp \
  JumpDiagnostics.cpp \
  MultiplexExternalSemaSource.cpp \
  Scope.cpp \
  ScopeInfo.cpp \
  SemaAccess.cpp \
  SemaAttr.cpp \
  SemaCast.cpp \
  SemaChecking.cpp \
  SemaCodeComplete.cpp \
  SemaConsumer.cpp \
  Sema.cpp \
  SemaCoroutine.cpp \
  SemaCUDA.cpp \
  SemaCXXScopeSpec.cpp \
  SemaDeclAttr.cpp \
  SemaDecl.cpp \
  SemaDeclCXX.cpp \
  SemaDeclObjC.cpp \
  SemaExceptionSpec.cpp \
  SemaExpr.cpp \
  SemaExprCXX.cpp \
  SemaExprMember.cpp \
  SemaExprObjC.cpp \
  SemaFixItUtils.cpp \
  SemaInit.cpp \
  SemaLambda.cpp \
  SemaLookup.cpp \
  SemaObjCProperty.cpp \
  SemaOpenMP.cpp \
  SemaOverload.cpp \
  SemaPseudoObject.cpp \
  SemaStmtAsm.cpp \
  SemaStmtAttr.cpp \
  SemaStmt.cpp \
  SemaTemplate.cpp \
  SemaTemplateDeduction.cpp \
  SemaTemplateInstantiate.cpp \
  SemaTemplateInstantiateDecl.cpp \
  SemaTemplateVariadic.cpp \
  SemaType.cpp \
  TypeLocBuilder.cpp

# For the host
# =====================================================
include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(clang_sema_SRC_FILES)
LOCAL_MODULE:= libclangSema
LOCAL_MODULE_TAGS := optional

include $(CLANG_HOST_BUILD_MK)
include $(CLANG_TBLGEN_RULES_MK)
include $(BUILD_HOST_STATIC_LIBRARY)

# For the target
# =====================================================
include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(clang_sema_SRC_FILES)
LOCAL_MODULE:= libclangSema
LOCAL_MODULE_TAGS := optional

include $(CLANG_DEVICE_BUILD_MK)
include $(CLANG_TBLGEN_RULES_MK)
include $(BUILD_STATIC_LIBRARY)