Simplify boolean conditional return statements.
[oota-llvm.git] / lib / AsmParser / Makefile
index 75ae34542a8cb387c367b1764edbca9164832170..995bb0e130e2bee6fbe94b259eba3b3890d9250f 100644 (file)
@@ -1,27 +1,14 @@
 ##===- lib/AsmParser/Makefile ------------------------------*- Makefile -*-===##
-# 
+#
 #                     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 := LLVMAsmParser
 BUILD_ARCHIVE = 1
-EXTRA_DIST := Lexer.cpp.cvs Lexer.l.cvs \
-              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 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)/Lexer.o: $(PROJ_SRC_DIR)/llvmAsmParser.h