1 ##===- clang/lib/Checker/Makefile --------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
10 # This implements analyses built on top of source-level CFGs.
12 ##===----------------------------------------------------------------------===##
14 CLANG_LEVEL := ../../..
15 LIBRARYNAME := clangStaticAnalyzerCheckers
17 BUILT_SOURCES = Checkers.inc
18 TABLEGEN_INC_FILES_COMMON = 1
20 include $(CLANG_LEVEL)/Makefile
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, $@) $<