projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix spelling and grammar in a comment.
[oota-llvm.git]
/
lib
/
AsmParser
/
Makefile
diff --git
a/lib/AsmParser/Makefile
b/lib/AsmParser/Makefile
index 865e112c5172089c4550e8c34d5e655b6bce33ae..62e9c87076340ebc2ab6ad30899802949d95fb2a 100644
(file)
--- a/
lib/AsmParser/Makefile
+++ b/
lib/AsmParser/Makefile
@@
-2,19
+2,25
@@
#
# The LLVM Compiler Infrastructure
#
#
# 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
:
= ../..
+LEVEL = ../..
LIBRARYNAME := LLVMAsmParser
LIBRARYNAME := LLVMAsmParser
-BUILT_SOURCES := llvmAsmParser.cpp llvmAsmParser.h Lexer.cpp
+BUILD_ARCHIVE = 1
+EXTRA_DIST := llvmAsmParser.cpp.cvs llvmAsmParser.h.cvs llvmAsmParser.y.cvs
include $(LEVEL)/Makefile.common
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 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.
#
# 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.
-$(O
BJDIR)/Lexer.o:
llvmAsmParser.h
+$(O
bjDir)/LLLexer.o: $(PROJ_SRC_DIR)/
llvmAsmParser.h