Home | History | Annotate | Download | only in Checkers
      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 $(CLANG_TBLGEN) $(ObjDir)/.dir
     23 	$(Echo) "Building Clang SA Checkers tables with tblgen"
     24 	$(Verb) $(ClangTableGen) -gen-clang-sa-checkers -I $(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include -o $(call SYSPATH, $@) $<
     25