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

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

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

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