Reverting back to original 1.8 version so I can manually merge in patch.
[llvm-complete.git] / lib / AsmParser / Makefile
blob9755571d07cae1cc8bef49628220067125292831
1 ##===- lib/AsmParser/Makefile ------------------------------*- Makefile -*-===##
2 #
3 # The LLVM Compiler Infrastructure
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 ##===----------------------------------------------------------------------===##
10 LEVEL = ../..
11 LIBRARYNAME := LLVMAsmParser
12 BUILD_ARCHIVE = 1
13 REQUIRES_EH := 1
14 EXTRA_DIST := Lexer.cpp.cvs Lexer.l.cvs \
15 llvmAsmParser.cpp.cvs llvmAsmParser.h.cvs llvmAsmParser.y.cvs
17 include $(LEVEL)/Makefile.common
19 # Disable -pedantic for this library, as bison output isn't necessarily
20 # -pedantic clean.
21 CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
22 CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
25 # Make the object code file for the lexer depend upon the header file generated
26 # by the Bison parser. This prevents the Lexer from being compiled before the
27 # header file it needs is built.
28 $(ObjDir)/Lexer.o: $(PROJ_SRC_DIR)/llvmAsmParser.h