Add a comment for a nasty short term hack.
[oota-llvm.git] / lib / AsmParser / Makefile
1 ##===- lib/AsmParser/Makefile ------------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9
10 LEVEL = ../..
11 LIBRARYNAME := LLVMAsmParser
12 BUILD_ARCHIVE = 1
13 EXTRA_DIST := llvmAsmParser.cpp.cvs llvmAsmParser.h.cvs llvmAsmParser.y.cvs
14
15 include $(LEVEL)/Makefile.common
16
17 # Disable -pedantic for this library, as bison output isn't necessarily 
18 # -pedantic clean.
19 CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
20 CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
21
22 #
23 # Make the object code file for the lexer depend upon the header file generated
24 # by the Bison parser.  This prevents the Lexer from being compiled before the
25 # header file it needs is built.
26 $(ObjDir)/LLLexer.o: $(PROJ_SRC_DIR)/llvmAsmParser.h