+##===- lib/AsmParser/Makefile ------------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# 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
include $(LEVEL)/Makefile.common
-
-#
-# 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