-LEVEL = ../..
+#===- tools/llc/Makefile -----------------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
-## List source files in link order
-Source = \
- llc.o \
- LLCOptions.o
+LEVEL := ../..
+TOOLNAME := llc
+LINK_COMPONENTS := all-targets bitreader asmparser irreader
-include $(LEVEL)/Makefile.common
+# Support plugins.
+NO_DEAD_STRIP := 1
-all:: llc
-clean::
- rm -f llc
+include $(LEVEL)/Makefile.common
-llc : $(ObjectsG)
- $(LinkG) -o $@ $(ObjectsG) \
- -lselect -lsparc -ltarget \
- -lopt -lbcreader -lbcwriter \
- -lvmcore -lasmwriter -lanalysis -lsupport