-LEVEL = ../..
-include $(LEVEL)/Makefile.common
+##===- tools/llvm-as/Makefile ------------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LEVEL := ../..
+TOOLNAME := llvm-as
+LINK_COMPONENTS := asmparser bitwriter
-all:: as
-clean::
- rm -f as
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS := 1
-as : $(ObjectsG)
- $(LinkG) -o as $(ObjectsG) -lasmparser -lbcwriter -lasmwriter -lanalysis -lvmcore
+include $(LEVEL)/Makefile.common