Misha Brukman | 0603079 | 2004-06-17 15:49:36 +0000 | [diff] [blame] | 1 | ##===- utils/TableGen/Makefile -----------------------------*- Makefile -*-===## |
John Criswell | e2fab73 | 2003-10-20 22:29:16 +0000 | [diff] [blame] | 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 | ##===----------------------------------------------------------------------===## |
Chris Lattner | a539c03 | 2006-07-07 00:21:17 +0000 | [diff] [blame] | 9 | |
Chris Lattner | 0a92ebf | 2003-10-05 19:27:59 +0000 | [diff] [blame] | 10 | LEVEL = ../.. |
Chris Lattner | e62c118 | 2002-12-02 01:23:04 +0000 | [diff] [blame] | 11 | TOOLNAME = tblgen |
Reid Spencer | c9c1787 | 2007-02-06 18:51:28 +0000 | [diff] [blame] | 12 | NO_INSTALL = 1; |
Reid Spencer | 6cb21d4 | 2004-10-27 23:18:45 +0000 | [diff] [blame] | 13 | USEDLIBS = LLVMSupport.a LLVMSystem.a |
Reid Spencer | 28421d0 | 2006-04-13 06:27:20 +0000 | [diff] [blame] | 14 | EXTRA_DIST = FileLexer.cpp.cvs FileLexer.l.cvs \ |
| 15 | FileParser.cpp.cvs FileParser.h.cvs FileParser.y.cvs |
Chris Lattner | a539c03 | 2006-07-07 00:21:17 +0000 | [diff] [blame] | 16 | REQUIRES_EH := 1 |
Chris Lattner | 6c1ba31 | 2007-10-18 15:54:45 +0000 | [diff] [blame^] | 17 | REQUIRES_RTTI := 1 |
Chris Lattner | e62c118 | 2002-12-02 01:23:04 +0000 | [diff] [blame] | 18 | |
| 19 | include $(LEVEL)/Makefile.common |
| 20 | |
Reid Spencer | d386e55 | 2006-06-01 18:20:23 +0000 | [diff] [blame] | 21 | # Disable -pedantic for tblgen |
| 22 | CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts)) |
| 23 | CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts)) |
| 24 | |
John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 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 | # |
Reid Spencer | 68a24bd | 2005-08-27 18:50:39 +0000 | [diff] [blame] | 30 | $(ObjDir)/FileLexer.o : $(PROJ_SRC_DIR)/FileParser.h |