Test committed in r241153 is more target-specific than I thought.
[oota-llvm.git] / tools / llvm-as / Makefile
index 3fa7984e62130d58dd7af05e7a88381faa2b7682..dfd71b295a9a81f4fb64ae76e3f8b9c7189c351b 100644 (file)
@@ -1,9 +1,17 @@
-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) -lvmcore -lasmparser -lbcwriter -lanalysis -lasmwriter
+include $(LEVEL)/Makefile.common