2004-06-17 15:49:36 +00:00
|
|
|
##===- utils/TableGen/Makefile -----------------------------*- Makefile -*-===##
|
2003-10-20 22:29:16 +00:00
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file was developed by the LLVM research group and is distributed under
|
|
|
|
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2006-07-07 00:21:17 +00:00
|
|
|
|
2003-10-05 19:27:59 +00:00
|
|
|
LEVEL = ../..
|
2002-12-02 01:23:04 +00:00
|
|
|
TOOLNAME = tblgen
|
2007-02-06 18:51:28 +00:00
|
|
|
NO_INSTALL = 1;
|
2004-10-27 23:18:45 +00:00
|
|
|
USEDLIBS = LLVMSupport.a LLVMSystem.a
|
2006-04-13 06:27:20 +00:00
|
|
|
EXTRA_DIST = FileLexer.cpp.cvs FileLexer.l.cvs \
|
|
|
|
FileParser.cpp.cvs FileParser.h.cvs FileParser.y.cvs
|
2006-07-07 00:21:17 +00:00
|
|
|
REQUIRES_EH := 1
|
2007-10-18 15:54:45 +00:00
|
|
|
REQUIRES_RTTI := 1
|
2002-12-02 01:23:04 +00:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|
2006-06-01 18:20:23 +00:00
|
|
|
# Disable -pedantic for tblgen
|
|
|
|
CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
|
|
|
|
CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
|
|
|
|
|
2003-06-30 21:59:07 +00:00
|
|
|
#
|
|
|
|
# Make the source file depend on the header file. In this way, dependencies
|
|
|
|
# (which depend on the source file) won't get generated until bison is done
|
|
|
|
# generating the C source and header files for the parser.
|
|
|
|
#
|
2005-08-27 18:50:39 +00:00
|
|
|
$(ObjDir)/FileLexer.o : $(PROJ_SRC_DIR)/FileParser.h
|