Annotation of OpenXM/src/kan96xx/Makefile, Revision 1.1.1.1
1.1 maekawa 1: all :
2: (cd gc; make)
3: (cd gmp; ./configure; make)
4: (cd plugin; make all)
5: (cd Kan; make all)
6:
7: all2 :
8: (cd gc; make)
9: (cd gmp; ./configure; make)
10: (cd Kan; make all)
11:
12:
13: ### When you make sm1 without the garbage collector, type in make sm1.nogc
14: sm1.nogc :
15: (cd Kan; make sm1.nogc)
16:
17: ### generate a distribution.
18: dist :
19: ./makeDist
20: ###############
21: install :
22: mkdir /usr/local/lib/sm1
23: cp lib/* /usr/local/lib/sm1
24: cp Kan/sm1 /usr/local/bin
25:
26: ###############
27: install-binary :
28: /bin/rm -f sm1
29: echo ":" > sm1
30: echo "LOAD_SM1_PATH=`pwd`/lib/" >>sm1
31: echo "export LOAD_SM1_PATH" >>sm1
32: echo -n "`pwd`/`ls Kan/sm1.*` " >>sm1
33: echo -n '$$' >>sm1
34: echo '*' >>sm1
35: chmod +x sm1
36: ln -s sm1 Kan/sm1
37: install-binary-solaris :
38: /bin/rm -f sm1
39: /usr/ucb/echo ":" > sm1
40: /usr/ucb/echo "LOAD_SM1_PATH=`pwd`/lib/" >>sm1
41: /usr/ucb/echo "export LOAD_SM1_PATH" >>sm1
42: /usr/ucb/echo -n "`pwd`/`ls Kan/sm1.*` " >>sm1
43: /usr/ucb/echo -n '$$' >>sm1
44: /usr/ucb/echo '*' >>sm1
45: chmod +x sm1
46: ln -s sm1 Kan/sm1
47: clean-binary :
48: echo " ../kanbinary* will be removed"
49: echo "after 10 seconds. To cancel type in ctrl-C."
50: ( sleep 10 ; /bin/rm -rf ../kanbinary* )
51: install-openXM-bin :
52: cp Kan/sm1 ../bin
53:
54: ##############
55: clean :
56: (cd gmp; make distclean)
57: (cd gc; make clean)
58: (cd Kan; make clean)
59: (cd plugin; make clean)
60: /bin/rm -f sm1
61:
62:
63: ### clean also *.a files.
64: cleana :
65: (cd gmp; make distclean; /bin/rm -f *.a)
66: (cd gc; make clean; /bin/rm -f *.a)
67: (cd Kan; make cleana)
68: (cd plugin; make clean; /bin/rm -f *.a)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>