Makefile文件  |  74行  |  1.66 KB

LOCAL_PATH:= $(call my-dir)

include $(CLEAR_TBLGEN_VARS)

TBLGEN_TABLES := \
  AttrHasAttributeImpl.inc \
  DiagnosticASTKinds.inc \
  DiagnosticAnalysisKinds.inc \
  DiagnosticCommentKinds.inc \
  DiagnosticCommonKinds.inc \
  DiagnosticDriverKinds.inc \
  DiagnosticFrontendKinds.inc \
  DiagnosticGroups.inc \
  DiagnosticIndexName.inc \
  DiagnosticLexKinds.inc \
  DiagnosticParseKinds.inc \
  DiagnosticSemaKinds.inc \
  DiagnosticSerializationKinds.inc \
  arm_neon.h \
  arm_neon.inc

clang_basic_SRC_FILES := \
  Attributes.cpp \
  Builtins.cpp \
  CharInfo.cpp \
  Diagnostic.cpp \
  DiagnosticIDs.cpp \
  DiagnosticOptions.cpp \
  FileManager.cpp \
  FileSystemStatCache.cpp \
  IdentifierTable.cpp \
  LangOptions.cpp \
  Module.cpp \
  ObjCRuntime.cpp \
  OpenMPKinds.cpp \
  OperatorPrecedence.cpp \
  SanitizerBlacklist.cpp \
  Sanitizers.cpp \
  SourceLocation.cpp \
  SourceManager.cpp \
  TargetInfo.cpp \
  Targets.cpp \
  TokenKinds.cpp \
  Version.cpp \
  VersionTuple.cpp \
  VirtualFileSystem.cpp \
  Warnings.cpp

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

LOCAL_SRC_FILES := $(clang_basic_SRC_FILES)
LOCAL_MODULE:= libclangBasic
LOCAL_MODULE_TAGS := optional

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

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

LOCAL_SRC_FILES := $(clang_basic_SRC_FILES)
LOCAL_MODULE:= libclangBasic
LOCAL_MODULE_TAGS := optional

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