1 ##===- utils/TableGen/Makefile -----------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file was developed by the LLVM research group and is distributed under
6 # the University of Illinois Open Source License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
11 USEDLIBS = LLVMSupport.a LLVMSystem.a
12 EXTRA_DIST = FileLexer.cpp.cvs FileLexer.l.cvs \
13 FileParser.cpp.cvs FileParser.h.cvs FileParser.y.cvs
15 include $(LEVEL)/Makefile.common
17 # Disable -pedantic for tblgen
18 CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
19 CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
22 # Make the source file depend on the header file. In this way, dependencies
23 # (which depend on the source file) won't get generated until bison is done
24 # generating the C source and header files for the parser.
26 $(ObjDir)/FileLexer.o : $(PROJ_SRC_DIR)/FileParser.h