Interchange Dwarf numbers of ESP and EBP on x86 Darwin.
[oota-llvm.git] / utils / TableGen / Makefile
1 ##===- utils/TableGen/Makefile -----------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
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.
7
8 ##===----------------------------------------------------------------------===##
9
10 LEVEL = ../..
11 TOOLNAME = tblgen
12 NO_INSTALL = 1;
13 USEDLIBS = LLVMSupport.a LLVMSystem.a
14 EXTRA_DIST = FileLexer.cpp.cvs FileLexer.l.cvs \
15              FileParser.cpp.cvs FileParser.h.cvs FileParser.y.cvs
16 REQUIRES_EH := 1
17 REQUIRES_RTTI := 1
18
19 include $(LEVEL)/Makefile.common
20
21 # Disable -pedantic for tblgen
22 CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
23 CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
24
25 #
26 # Make the source file depend on the header file.  In this way, dependencies
27 # (which depend on the source file) won't get generated until bison is done
28 # generating the C source and header files for the parser.
29 #
30 $(ObjDir)/FileLexer.o : $(PROJ_SRC_DIR)/FileParser.h