LEVEL = ../..
TOOLNAME = opt
-USEDLIBS = opt bcreader bcwriter asmwriter analysis vmcore support instrument
+
+USEDLIBS = bcreader bcwriter instrument profpaths \
+ sparc mapping regalloc.a sched select codegen preopts \
+ postopts.a \
+ livevar scalaropts \
+ ipo ipa.a datastructure transforms target.a analysis \
+ transformutils vmcore support
+
+TOOLLINKOPTS = -ldl
+KEEP_SYMBOLS = 1
include $(LEVEL)/Makefile.common