X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FAsmParser%2FMakefile;h=62e9c87076340ebc2ab6ad30899802949d95fb2a;hb=73b43b9b549a75fb0015c825df68abd95705a67c;hp=b5e6fb9cf6d4a3ef205444f5ba9c07677d1456ea;hpb=e488e9360b1a865ba604330965edcf139e590b65;p=oota-llvm.git diff --git a/lib/AsmParser/Makefile b/lib/AsmParser/Makefile index b5e6fb9cf6d..62e9c870763 100644 --- a/lib/AsmParser/Makefile +++ b/lib/AsmParser/Makefile @@ -2,20 +2,25 @@ # # 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. +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. # ##===----------------------------------------------------------------------===## LEVEL = ../.. - -LIBRARYNAME = asmparser +LIBRARYNAME := LLVMAsmParser +BUILD_ARCHIVE = 1 +EXTRA_DIST := llvmAsmParser.cpp.cvs llvmAsmParser.h.cvs llvmAsmParser.y.cvs include $(LEVEL)/Makefile.common +# Disable -pedantic for this library, as bison output isn't necessarily +# -pedantic clean. +CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts)) +CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts)) + # -# Make the source code file for the lexer depend upon the header file generated -# by the Bison parser. This prevents the generation of dependencies from -# being performed until after the header file has been created. -# -Lexer.cpp: llvmAsmParser.h +# Make the object code file for the lexer depend upon the header file generated +# by the Bison parser. This prevents the Lexer from being compiled before the +# header file it needs is built. +$(ObjDir)/LLLexer.o: $(PROJ_SRC_DIR)/llvmAsmParser.h