Adding ocaml language bindings for the vmcore and bitwriter libraries. These are
[oota-llvm.git] / tools / llvm-as / Makefile
index 956469516667c70cc5beeca048df3805afb0a456..c86b900b226595369a7029c3c14a76183b1e2cec 100644 (file)
@@ -1,9 +1,15 @@
-LEVEL = ../..
-include $(LEVEL)/Makefile.common
+##===- tools/llvm-as/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.
+# 
+##===----------------------------------------------------------------------===##
 
-all:: as
-clean::
-       rm -f as
+LEVEL = ../..
+TOOLNAME = llvm-as
+LINK_COMPONENTS := asmparser bitwriter
+REQUIRES_EH := 1
 
-as : $(ObjectsG) ../../lib/Assembly/Parser/Debug/libasmparser.a
-       $(LinkG) -o as $(ObjectsG) -lasmparser -lbcwriter -lasmwriter -lanalysis -lvmcore  -lsupport
+include $(LEVEL)/Makefile.common