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

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

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

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