Annotation of OpenXM/src/kan96xx/Makefile, Revision 1.2
1.2 ! takayama 1: all : configure_symbolic_links
1.1 maekawa 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)
1.2 ! takayama 16:
! 17: configure_symbolic_links :
! 18: ln -s ./gc-4.14 gc
! 19: # ln -s ./gmp-2.0.2 gmp
! 20: ln -s ./gmp-2.0.2-ssh-2 gmp
! 21: ln -s ./Doc lib
1.1 maekawa 22:
23: ### generate a distribution.
24: dist :
25: ./makeDist
26: ###############
27: install :
28: mkdir /usr/local/lib/sm1
29: cp lib/* /usr/local/lib/sm1
30: cp Kan/sm1 /usr/local/bin
31:
32: ###############
33: install-binary :
34: /bin/rm -f sm1
35: echo ":" > sm1
36: echo "LOAD_SM1_PATH=`pwd`/lib/" >>sm1
37: echo "export LOAD_SM1_PATH" >>sm1
38: echo -n "`pwd`/`ls Kan/sm1.*` " >>sm1
39: echo -n '$$' >>sm1
40: echo '*' >>sm1
41: chmod +x sm1
42: ln -s sm1 Kan/sm1
43: install-binary-solaris :
44: /bin/rm -f sm1
45: /usr/ucb/echo ":" > sm1
46: /usr/ucb/echo "LOAD_SM1_PATH=`pwd`/lib/" >>sm1
47: /usr/ucb/echo "export LOAD_SM1_PATH" >>sm1
48: /usr/ucb/echo -n "`pwd`/`ls Kan/sm1.*` " >>sm1
49: /usr/ucb/echo -n '$$' >>sm1
50: /usr/ucb/echo '*' >>sm1
51: chmod +x sm1
52: ln -s sm1 Kan/sm1
53: clean-binary :
54: echo " ../kanbinary* will be removed"
55: echo "after 10 seconds. To cancel type in ctrl-C."
56: ( sleep 10 ; /bin/rm -rf ../kanbinary* )
57: install-openXM-bin :
58: cp Kan/sm1 ../bin
59:
60: ##############
61: clean :
62: (cd gmp; make distclean)
63: (cd gc; make clean)
64: (cd Kan; make clean)
65: (cd plugin; make clean)
66: /bin/rm -f sm1
67:
68:
69: ### clean also *.a files.
70: cleana :
71: (cd gmp; make distclean; /bin/rm -f *.a)
72: (cd gc; make clean; /bin/rm -f *.a)
73: (cd Kan; make cleana)
74: (cd plugin; make clean; /bin/rm -f *.a)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>