blob: ec6d7c8b4d4c03c58d2e18456dd3c8f2938a1e32 [file] [log] [blame]
Misha Brukman06030792004-06-17 15:49:36 +00001##===- utils/TableGen/Makefile -----------------------------*- Makefile -*-===##
John Criswelle2fab732003-10-20 22:29:16 +00002#
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 Lattner0a92ebf2003-10-05 19:27:59 +00009LEVEL = ../..
Chris Lattnere62c1182002-12-02 01:23:04 +000010TOOLNAME = tblgen
Reid Spencer6cb21d42004-10-27 23:18:45 +000011USEDLIBS = LLVMSupport.a LLVMSystem.a
Reid Spencer28421d02006-04-13 06:27:20 +000012EXTRA_DIST = FileLexer.cpp.cvs FileLexer.l.cvs \
13 FileParser.cpp.cvs FileParser.h.cvs FileParser.y.cvs
Chris Lattnere62c1182002-12-02 01:23:04 +000014
15include $(LEVEL)/Makefile.common
16
Reid Spencerd386e552006-06-01 18:20:23 +000017# Disable -pedantic for tblgen
18CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
19CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
20
John Criswell7a73b802003-06-30 21:59:07 +000021#
22# Make the source file depend on the header file. In this way, dependencies
23# (which depend on the source file) won't get generated until bison is done
24# generating the C source and header files for the parser.
25#
Reid Spencer68a24bd2005-08-27 18:50:39 +000026$(ObjDir)/FileLexer.o : $(PROJ_SRC_DIR)/FileParser.h