Use live out sets for return values instead of imp_defs, which is cleaner and faster.
[oota-llvm.git] / lib / AsmParser / Makefile
index 0503b04faf0c68f4dbc5ec6de4b5b4c2128949bf..1a031a0b3bd7b8df0e7c4c8bfae5e3db3614ce57 100644 (file)
@@ -1,7 +1,20 @@
+##===- 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.
+# 
+##===----------------------------------------------------------------------===##
 
 LEVEL = ../..
-
-LIBRARYNAME = asmparser
+LIBRARYNAME := LLVMAsmParser
+BUILT_SOURCES := llvmAsmParser.cpp llvmAsmParser.h Lexer.cpp
 
 include $(LEVEL)/Makefile.common
 
+#
+# 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: llvmAsmParser.h