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.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2003-10-06 03:27:59 +08:00
|
|
|
LEVEL = ../..
|
|
|
|
TOOLNAME = tblgen
|
2004-10-28 07:18:45 +08:00
|
|
|
USEDLIBS = LLVMSupport.a LLVMSystem.a
|
2006-04-13 14:27:20 +08:00
|
|
|
EXTRA_DIST = FileLexer.cpp.cvs FileLexer.l.cvs \
|
|
|
|
FileParser.cpp.cvs FileParser.h.cvs FileParser.y.cvs
|
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.
|
|
|
|
#
|
2005-08-28 02:50:39 +08:00
|
|
|
$(ObjDir)/FileLexer.o : $(PROJ_SRC_DIR)/FileParser.h
|