[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx

Annotation of OpenXM/src/kan96xx/Makefile, Revision 1.3

1.3     ! takayama    1: ## Type in make configure and make all to build all
        !             2: all :
1.1       maekawa     3:        (cd gc; make)
1.3     ! takayama    4:        (cd gmp;  make)
1.1       maekawa     5:        (cd plugin; make all)
                      6:        (cd Kan; make all)
                      7:
                      8: all2 :
                      9:        (cd gc; make)
1.3     ! takayama   10:        (cd gmp;  make)
1.1       maekawa    11:        (cd Kan; make all)
                     12:
                     13:
                     14: ### When you make sm1 without the garbage collector, type in make sm1.nogc
                     15: sm1.nogc :
                     16:        (cd Kan; make sm1.nogc)
1.2       takayama   17:
1.3     ! takayama   18: configure : configure_symbolic_links
        !            19:        (cd gmp; ./configure )
        !            20:
1.2       takayama   21: configure_symbolic_links :
1.3     ! takayama   22:        ln -fs ./gc-4.14 gc
        !            23: #      ln -fs ./gmp-2.0.2 gmp
        !            24:        ln -fs ./gmp-2.0.2-ssh-2 gmp
        !            25:        ln -fs ./Doc lib
1.1       maekawa    26:
                     27: ### generate a distribution.
                     28: dist :
                     29:        ./makeDist
                     30: ###############
                     31: install :
                     32:        mkdir /usr/local/lib/sm1
                     33:        cp lib/* /usr/local/lib/sm1
                     34:        cp Kan/sm1 /usr/local/bin
                     35:
                     36: ###############
                     37: install-binary :
                     38:        /bin/rm -f sm1
                     39:        echo ":" > sm1
                     40:        echo "LOAD_SM1_PATH=`pwd`/lib/" >>sm1
                     41:        echo "export LOAD_SM1_PATH" >>sm1
                     42:        echo -n "`pwd`/`ls Kan/sm1.*` " >>sm1
                     43:        echo  -n '$$' >>sm1
                     44:        echo '*' >>sm1
                     45:        chmod +x sm1
                     46:        ln -s sm1 Kan/sm1
                     47: install-binary-solaris :
                     48:        /bin/rm -f sm1
                     49:        /usr/ucb/echo ":" > sm1
                     50:        /usr/ucb/echo "LOAD_SM1_PATH=`pwd`/lib/" >>sm1
                     51:        /usr/ucb/echo "export LOAD_SM1_PATH" >>sm1
                     52:        /usr/ucb/echo -n "`pwd`/`ls Kan/sm1.*` " >>sm1
                     53:        /usr/ucb/echo  -n '$$' >>sm1
                     54:        /usr/ucb/echo '*' >>sm1
                     55:        chmod +x sm1
                     56:        ln -s sm1 Kan/sm1
                     57: clean-binary :
                     58:        echo " ../kanbinary*  will be removed"
                     59:        echo "after 10 seconds. To cancel type in ctrl-C."
                     60:        ( sleep 10 ; /bin/rm -rf ../kanbinary* )
                     61: install-openXM-bin :
                     62:        cp Kan/sm1 ../bin
                     63:
                     64: ##############
                     65: clean :
                     66:        (cd gmp; make distclean)
                     67:        (cd gc; make clean)
                     68:        (cd Kan; make clean)
                     69:        (cd plugin; make clean)
                     70:        /bin/rm -f sm1
                     71:
                     72:
                     73: ### clean also *.a files.
                     74: cleana :
                     75:        (cd gmp; make distclean; /bin/rm -f *.a)
                     76:        (cd gc; make clean; /bin/rm -f *.a)
                     77:        (cd Kan; make cleana)
                     78:        (cd plugin; make clean; /bin/rm -f *.a)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>