]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/Makefile
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
[FreeBSD/stable/9.git] / contrib / llvm / tools / clang / lib / StaticAnalyzer / Checkers / Makefile
1 ##===- clang/lib/Checker/Makefile --------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9 #
10 # This implements analyses built on top of source-level CFGs. 
11 #
12 ##===----------------------------------------------------------------------===##
13
14 CLANG_LEVEL := ../../..
15 LIBRARYNAME := clangStaticAnalyzerCheckers
16
17 BUILT_SOURCES = Checkers.inc
18 TABLEGEN_INC_FILES_COMMON = 1
19
20 include $(CLANG_LEVEL)/Makefile
21
22 $(ObjDir)/Checkers.inc.tmp : Checkers.td $(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include/clang/StaticAnalyzer/Checkers/CheckerBase.td $(TBLGEN) $(ObjDir)/.dir
23         $(Echo) "Building Clang SA Checkers tables with tblgen"
24         $(Verb) $(TableGen) -gen-clang-sa-checkers -I $(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include -o $(call SYSPATH, $@) $<