2004-06-17 23:49:36 +08:00
|
|
|
##===- utils/TableGen/Makefile -----------------------------*- Makefile -*-===##
|
2003-10-21 06:29:16 +08: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 08:21:17 +08:00
|
|
|
|
2003-10-06 03:27:59 +08:00
|
|
|
LEVEL = ../..
|
|
|
|
TOOLNAME = tblgen
|
2007-02-07 02:51:28 +08:00
|
|
|
NO_INSTALL = 1;
|
2004-10-28 07:18:45 +08:00
|
|
|
USEDLIBS = LLVMSupport.a LLVMSystem.a
|
2007-11-18 10:57:27 +08:00
|
|
|
EXTRA_DIST = FileParser.cpp.cvs FileParser.h.cvs FileParser.y.cvs
|
2006-07-07 08:21:17 +08:00
|
|
|
REQUIRES_EH := 1
|
2007-10-18 23:54:45 +08:00
|
|
|
REQUIRES_RTTI := 1
|
2003-10-06 03:27:59 +08:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|
2006-06-02 02:20:23 +08:00
|
|
|
# Disable -pedantic for tblgen
|
|
|
|
CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
|
|
|
|
CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
|
|
|
|
|
2003-10-06 03:27:59 +08: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.
|
|
|
|
#
|
2007-11-18 10:57:27 +08:00
|
|
|
$(ObjDir)/TGLexer.o : $(PROJ_SRC_DIR)/FileParser.h
|
|
|
|
|