LEVEL = ../..
-include $(LEVEL)/Makefile.common
+TOOLNAME = lli
+USEDLIBS = opt bcreader bcwriter vmcore asmwriter analysis support target
-all:: lli
-clean::
- rm -f lli
+include $(LEVEL)/Makefile.common
-lli : $(ObjectsG)
- $(LinkG) -o $@ $(ObjectsG) \
- -lopt -lbcreader -lbcwriter \
- -lvmcore -lasmwriter -lanalysis -lsupport -ltarget
LEVEL = ../..
-include $(LEVEL)/Makefile.common
-
-all:: analyze
-clean ::
- rm -f analyze
+TOOLNAME = analyze
+USEDLIBS = opt asmparser bcreader vmcore asmwriter analysis opt support
-LIBDEPS = ../../lib/Optimizations/Debug/libopt.a ../../lib/Analysis/Debug/libanalysis.a
+include $(LEVEL)/Makefile.common
-analyze : $(ObjectsG) Debug/.dir Depend/.dir $(LIBDEPS)
- $(LinkG) -o $@ $(ObjectsG) -lopt -lasmparser \
- -lbcreader -lvmcore -lasmwriter -lanalysis \
- -lopt -lsupport
LEVEL = ../..
-include $(LEVEL)/Makefile.common
-all:: as
-clean::
- rm -f as
+TOOLNAME = as
+USEDLIBS = asmparser bcwriter asmwriter analysis vmcore support
-as : $(ObjectsG) ../../lib/Assembly/Parser/Debug/libasmparser.a \
- ../../lib/VMCore/Debug/libvmcore.a
- $(LinkG) -o as $(ObjectsG) -lasmparser -lbcwriter -lasmwriter -lanalysis -lvmcore -lsupport
+include $(LEVEL)/Makefile.common
LEVEL = ../..
-include $(LEVEL)/Makefile.common
-all:: dis
-clean ::
- rm -f dis
+TOOLNAME = dis
+USEDLIBS = bcreader asmwriter analysis vmcore support
+include $(LEVEL)/Makefile.common
-dis : $(ObjectsG)
- $(LinkG) -o $@ $(ObjectsG) -lbcreader -lasmwriter -lanalysis -lvmcore -lsupport
LEVEL = ../..
-include $(LEVEL)/Makefile.common
+TOOLNAME = llc
+USEDLIBS = sched select sparc target opt livevar bcreader vmcore asmwriter analysis support
-all:: llc
-clean::
- rm -f llc
+include $(LEVEL)/Makefile.common
-llc : $(ObjectsG) $(LibsG)
- $(LinkG) -o $@ $(ObjectsG) \
- -lsched -lselect -lsparc -ltarget \
- -lopt -llivevar -lbcreader -lbcwriter \
- -lvmcore -lasmwriter -lanalysis -lsupport
LEVEL = ../..
-include $(LEVEL)/Makefile.common
+TOOLNAME = lli
+USEDLIBS = opt bcreader bcwriter vmcore asmwriter analysis support target
-all:: lli
-clean::
- rm -f lli
+include $(LEVEL)/Makefile.common
-lli : $(ObjectsG)
- $(LinkG) -o $@ $(ObjectsG) \
- -lopt -lbcreader -lbcwriter \
- -lvmcore -lasmwriter -lanalysis -lsupport -ltarget
LEVEL = ../..
-include $(LEVEL)/Makefile.common
-all:: as
-clean::
- rm -f as
+TOOLNAME = as
+USEDLIBS = asmparser bcwriter asmwriter analysis vmcore support
-as : $(ObjectsG) ../../lib/Assembly/Parser/Debug/libasmparser.a \
- ../../lib/VMCore/Debug/libvmcore.a
- $(LinkG) -o as $(ObjectsG) -lasmparser -lbcwriter -lasmwriter -lanalysis -lvmcore -lsupport
+include $(LEVEL)/Makefile.common
LEVEL = ../..
-include $(LEVEL)/Makefile.common
-all:: dis
-clean ::
- rm -f dis
+TOOLNAME = dis
+USEDLIBS = bcreader asmwriter analysis vmcore support
+include $(LEVEL)/Makefile.common
-dis : $(ObjectsG)
- $(LinkG) -o $@ $(ObjectsG) -lbcreader -lasmwriter -lanalysis -lvmcore -lsupport
LEVEL = ../..
-include $(LEVEL)/Makefile.common
+TOOLNAME = opt
+USEDLIBS = opt bcreader bcwriter asmwriter analysis vmcore support
-all:: opt
-clean ::
- rm -f opt
+include $(LEVEL)/Makefile.common
-opt : $(ObjectsG) ../../lib/Optimizations/Debug/libopt.a
- $(LinkG) -o $@ $(ObjectsG) -lopt -lbcreader -lbcwriter \
- -lasmwriter -lanalysis -lvmcore -lsupport