Fix warning
[oota-llvm.git] / lib / ExecutionEngine / Makefile
index bf4483f5b4d4445c2fc40c8d61442d241f63ebbe..a0e73d715001191f7fc267b10d454f324e977ca0 100644 (file)
@@ -1,11 +1,10 @@
 LEVEL = ../..
-include $(LEVEL)/Makefile.common
+TOOLNAME = lli
+USEDLIBS = bcreader vmcore analysis.a support.a target.a transforms.a
 
-all:: lli
-clean::        
-       rm -f lli
+# Have gcc tell the linker to export symbols from the program so that
+# dynamically loaded modules can be linked against them.
+#
+TOOLLINKOPTS = -ldl
 
-lli : $(ObjectsG)
-       $(LinkG) -o $@ $(ObjectsG) \
-               -lopt -lbcreader -lbcwriter \
-               -lvmcore -lasmwriter -lanalysis -lsupport -ltarget
+include $(LEVEL)/Makefile.common