opnsense-src/include/clang/Basic/Makefile

23 lines
970 B
Makefile
Raw Normal View History

2009-06-02 13:58:47 -04:00
LEVEL = ../../../../..
BUILT_SOURCES = DiagnosticAnalysisKinds.inc DiagnosticASTKinds.inc \
DiagnosticCommonKinds.inc DiagnosticDriverKinds.inc \
DiagnosticFrontendKinds.inc DiagnosticLexKinds.inc \
DiagnosticParseKinds.inc DiagnosticSemaKinds.inc \
DiagnosticGroups.inc
TABLEGEN_INC_FILES_COMMON = 1
include $(LEVEL)/Makefile.common
2009-11-18 09:59:57 -05:00
INPUT_TDS = $(wildcard $(PROJ_SRC_DIR)/Diagnostic*.td)
2010-01-23 06:10:26 -05:00
$(ObjDir)/Diagnostic%Kinds.inc.tmp : Diagnostic.td Diagnostic%Kinds.td $(TBLGEN) $(ObjDir)/.dir
2009-06-02 13:58:47 -04:00
$(Echo) "Building Clang $(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) diagnostic tables with tblgen"
$(Verb) $(TableGen) -gen-clang-diags-defs -clang-component=$(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) -o $(call SYSPATH, $@) $<
2010-01-23 06:10:26 -05:00
$(ObjDir)/DiagnosticGroups.inc.tmp : Diagnostic.td DiagnosticGroups.td $(INPUT_TDS) $(TBLGEN) $(ObjDir)/.dir
2009-06-02 13:58:47 -04:00
$(Echo) "Building Clang diagnostic groups with tblgen"
$(Verb) $(TableGen) -gen-clang-diag-groups -o $(call SYSPATH, $@) $<