mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-30 06:19:45 +00:00
Make use of the new TOOLNAME/USEDLIBS options provided in Makefile.common
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,11 +1,6 @@
|
|||||||
LEVEL = ../..
|
LEVEL = ../..
|
||||||
|
TOOLNAME = lli
|
||||||
|
USEDLIBS = opt bcreader bcwriter vmcore asmwriter analysis support target
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
all:: lli
|
|
||||||
clean::
|
|
||||||
rm -f lli
|
|
||||||
|
|
||||||
lli : $(ObjectsG)
|
|
||||||
$(LinkG) -o $@ $(ObjectsG) \
|
|
||||||
-lopt -lbcreader -lbcwriter \
|
|
||||||
-lvmcore -lasmwriter -lanalysis -lsupport -ltarget
|
|
||||||
|
@@ -1,13 +1,6 @@
|
|||||||
LEVEL = ../..
|
LEVEL = ../..
|
||||||
|
TOOLNAME = analyze
|
||||||
|
USEDLIBS = opt asmparser bcreader vmcore asmwriter analysis opt support
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
all:: analyze
|
|
||||||
clean ::
|
|
||||||
rm -f analyze
|
|
||||||
|
|
||||||
LIBDEPS = ../../lib/Optimizations/Debug/libopt.a ../../lib/Analysis/Debug/libanalysis.a
|
|
||||||
|
|
||||||
analyze : $(ObjectsG) Debug/.dir Depend/.dir $(LIBDEPS)
|
|
||||||
$(LinkG) -o $@ $(ObjectsG) -lopt -lasmparser \
|
|
||||||
-lbcreader -lvmcore -lasmwriter -lanalysis \
|
|
||||||
-lopt -lsupport
|
|
||||||
|
@@ -1,10 +1,6 @@
|
|||||||
LEVEL = ../..
|
LEVEL = ../..
|
||||||
|
|
||||||
|
TOOLNAME = as
|
||||||
|
USEDLIBS = asmparser bcwriter asmwriter analysis vmcore support
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
all:: as
|
|
||||||
clean::
|
|
||||||
rm -f as
|
|
||||||
|
|
||||||
as : $(ObjectsG) ../../lib/Assembly/Parser/Debug/libasmparser.a \
|
|
||||||
../../lib/VMCore/Debug/libvmcore.a
|
|
||||||
$(LinkG) -o as $(ObjectsG) -lasmparser -lbcwriter -lasmwriter -lanalysis -lvmcore -lsupport
|
|
||||||
|
@@ -1,10 +1,7 @@
|
|||||||
LEVEL = ../..
|
LEVEL = ../..
|
||||||
|
|
||||||
|
TOOLNAME = dis
|
||||||
|
USEDLIBS = bcreader asmwriter analysis vmcore support
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
all:: dis
|
|
||||||
clean ::
|
|
||||||
rm -f dis
|
|
||||||
|
|
||||||
dis : $(ObjectsG)
|
|
||||||
$(LinkG) -o $@ $(ObjectsG) -lbcreader -lasmwriter -lanalysis -lvmcore -lsupport
|
|
||||||
|
|
||||||
|
@@ -1,12 +1,6 @@
|
|||||||
LEVEL = ../..
|
LEVEL = ../..
|
||||||
|
TOOLNAME = llc
|
||||||
|
USEDLIBS = sched select sparc target opt livevar bcreader vmcore asmwriter analysis support
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
all:: llc
|
|
||||||
clean::
|
|
||||||
rm -f llc
|
|
||||||
|
|
||||||
llc : $(ObjectsG) $(LibsG)
|
|
||||||
$(LinkG) -o $@ $(ObjectsG) \
|
|
||||||
-lsched -lselect -lsparc -ltarget \
|
|
||||||
-lopt -llivevar -lbcreader -lbcwriter \
|
|
||||||
-lvmcore -lasmwriter -lanalysis -lsupport
|
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
LEVEL = ../..
|
LEVEL = ../..
|
||||||
|
TOOLNAME = lli
|
||||||
|
USEDLIBS = opt bcreader bcwriter vmcore asmwriter analysis support target
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
all:: lli
|
|
||||||
clean::
|
|
||||||
rm -f lli
|
|
||||||
|
|
||||||
lli : $(ObjectsG)
|
|
||||||
$(LinkG) -o $@ $(ObjectsG) \
|
|
||||||
-lopt -lbcreader -lbcwriter \
|
|
||||||
-lvmcore -lasmwriter -lanalysis -lsupport -ltarget
|
|
||||||
|
@@ -1,10 +1,6 @@
|
|||||||
LEVEL = ../..
|
LEVEL = ../..
|
||||||
|
|
||||||
|
TOOLNAME = as
|
||||||
|
USEDLIBS = asmparser bcwriter asmwriter analysis vmcore support
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
all:: as
|
|
||||||
clean::
|
|
||||||
rm -f as
|
|
||||||
|
|
||||||
as : $(ObjectsG) ../../lib/Assembly/Parser/Debug/libasmparser.a \
|
|
||||||
../../lib/VMCore/Debug/libvmcore.a
|
|
||||||
$(LinkG) -o as $(ObjectsG) -lasmparser -lbcwriter -lasmwriter -lanalysis -lvmcore -lsupport
|
|
||||||
|
@@ -1,10 +1,7 @@
|
|||||||
LEVEL = ../..
|
LEVEL = ../..
|
||||||
|
|
||||||
|
TOOLNAME = dis
|
||||||
|
USEDLIBS = bcreader asmwriter analysis vmcore support
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
all:: dis
|
|
||||||
clean ::
|
|
||||||
rm -f dis
|
|
||||||
|
|
||||||
dis : $(ObjectsG)
|
|
||||||
$(LinkG) -o $@ $(ObjectsG) -lbcreader -lasmwriter -lanalysis -lvmcore -lsupport
|
|
||||||
|
|
||||||
|
@@ -1,10 +1,6 @@
|
|||||||
LEVEL = ../..
|
LEVEL = ../..
|
||||||
|
TOOLNAME = opt
|
||||||
|
USEDLIBS = opt bcreader bcwriter asmwriter analysis vmcore support
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
all:: opt
|
|
||||||
clean ::
|
|
||||||
rm -f opt
|
|
||||||
|
|
||||||
opt : $(ObjectsG) ../../lib/Optimizations/Debug/libopt.a
|
|
||||||
$(LinkG) -o $@ $(ObjectsG) -lopt -lbcreader -lbcwriter \
|
|
||||||
-lasmwriter -lanalysis -lvmcore -lsupport
|
|
||||||
|
Reference in New Issue
Block a user