summaryrefslogtreecommitdiff
path: root/tools/lli/Makefile
blob: 3e3f0b0d9e914790169dceedaeeac113d4f2edb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
LEVEL = ../..
TOOLNAME = lli
USEDLIBS = bcreader bcwriter vmcore asmwriter analysis support \
	   target transforms
TOOLLINKOPTS = -ldl

include $(LEVEL)/Makefile.common

all :: $(LEVEL)/tools/Debug/RuntimeLib.bc

Debug/RuntimeLib.c: RuntimeLib.lc
	cp -f $< $@

Debug/RuntimeLib.ll: Debug/RuntimeLib.c
	@-rm $@
	/home/vadve/lattner/cvs/gcc_install/bin/gcc $< -S -o $@

$(LEVEL)/tools/Debug/RuntimeLib.bc: Debug/RuntimeLib.ll
	LD_LIBRARY_PATH=../lib/Debug:/usr/dcs/software/evaluation/encap/gcc-3.0.2/lib/ ../Debug/gccas $< -o $@