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

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

1.8     ! takayama    1: ##  $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.7 1999/11/07 13:24:19 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.7       takayama   23:        /bin/rm -f gc gmp lib Doc/var.sm1
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.7       takayama   28:        (cd Doc; ln -f -s ../Kan/var.sm1 var.sm1)
1.1       maekawa    29:
                     30: ### generate a distribution.
                     31: dist :
                     32:        ./makeDist
                     33: ###############
                     34: install :
                     35:        mkdir /usr/local/lib/sm1
                     36:        cp lib/* /usr/local/lib/sm1
                     37:        cp Kan/sm1 /usr/local/bin
                     38:
                     39: ###############
                     40: install-binary :
                     41:        /bin/rm -f sm1
                     42:        echo ":" > sm1
                     43:        echo "LOAD_SM1_PATH=`pwd`/lib/" >>sm1
                     44:        echo "export LOAD_SM1_PATH" >>sm1
                     45:        echo -n "`pwd`/`ls Kan/sm1.*` " >>sm1
                     46:        echo  -n '$$' >>sm1
                     47:        echo '*' >>sm1
                     48:        chmod +x sm1
                     49:        ln -s sm1 Kan/sm1
                     50: install-binary-solaris :
                     51:        /bin/rm -f sm1
                     52:        /usr/ucb/echo ":" > sm1
                     53:        /usr/ucb/echo "LOAD_SM1_PATH=`pwd`/lib/" >>sm1
                     54:        /usr/ucb/echo "export LOAD_SM1_PATH" >>sm1
                     55:        /usr/ucb/echo -n "`pwd`/`ls Kan/sm1.*` " >>sm1
                     56:        /usr/ucb/echo  -n '$$' >>sm1
                     57:        /usr/ucb/echo '*' >>sm1
                     58:        chmod +x sm1
                     59:        ln -s sm1 Kan/sm1
                     60: clean-binary :
                     61:        echo " ../kanbinary*  will be removed"
                     62:        echo "after 10 seconds. To cancel type in ctrl-C."
                     63:        ( sleep 10 ; /bin/rm -rf ../kanbinary* )
                     64: install-openXM-bin :
1.4       takayama   65:        /bin/rm -f ../bin/sm1
1.1       maekawa    66:        cp Kan/sm1 ../bin
1.4       takayama   67: install2 :
1.6       takayama   68:        /bin/rm -f ../bin/sm1
                     69:        ln -f -s ../src/kan96xx/Kan/sm1 ../bin/sm1
1.1       maekawa    70:
                     71: ##############
                     72: clean :
1.8     ! takayama   73:        (cd gmp; make clean)
1.1       maekawa    74:        (cd gc; make clean)
                     75:        (cd Kan; make clean)
                     76:        (cd plugin; make clean)
                     77:        /bin/rm -f sm1
                     78:
                     79:
                     80: ### clean also *.a files.
1.8     ! takayama   81: cleana:  distclean
        !            82:
        !            83: distclean :
1.1       maekawa    84:        (cd gmp; make distclean; /bin/rm -f *.a)
                     85:        (cd gc; make clean; /bin/rm -f *.a)
                     86:        (cd Kan; make cleana)
                     87:        (cd plugin; make clean; /bin/rm -f *.a)

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