2010-12-23 02:52:56 +08:00
|
|
|
##===- clang/lib/Checker/Makefile --------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
#
|
|
|
|
# This implements analyses built on top of source-level CFGs.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
|
|
|
|
CLANG_LEVEL := ../../..
|
2010-12-24 03:38:26 +08:00
|
|
|
LIBRARYNAME := clangStaticAnalyzerCheckers
|
2010-12-23 02:52:56 +08:00
|
|
|
|
2011-02-15 02:13:31 +08:00
|
|
|
BUILT_SOURCES = Checkers.inc
|
|
|
|
TABLEGEN_INC_FILES_COMMON = 1
|
|
|
|
|
2010-12-23 02:52:56 +08:00
|
|
|
include $(CLANG_LEVEL)/Makefile
|
2011-02-15 02:13:31 +08:00
|
|
|
|
2011-10-06 09:52:10 +08:00
|
|
|
$(ObjDir)/Checkers.inc.tmp : Checkers.td $(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include/clang/StaticAnalyzer/Checkers/CheckerBase.td $(CLANG_TBLGEN) $(ObjDir)/.dir
|
2011-02-15 02:13:31 +08:00
|
|
|
$(Echo) "Building Clang SA Checkers tables with tblgen"
|
2011-10-06 09:52:10 +08:00
|
|
|
$(Verb) $(ClangTableGen) -gen-clang-sa-checkers -I $(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include -o $(call SYSPATH, $@) $<
|