| version 1.20, 2000/03/04 11:03:37 |
version 1.22, 2000/08/31 13:27:33 |
|
|
| ## $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.19 2000/02/28 07:19:40 takayama Exp $ |
## $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.21 2000/03/06 14:58:01 takayama Exp $ |
| |
|
| ## Type in make configure and make all to build all |
## Type in make configure and make all to build all |
| OpenXM_contrib=../../../OpenXM_contrib |
OpenXM_contrib=../../../OpenXM_contrib |
| Line 9 OpenXM_bin=$(OpenXM_ROOT)/bin |
|
| Line 9 OpenXM_bin=$(OpenXM_ROOT)/bin |
|
| GC=$(OPENXM_CONTRIB)/gc |
GC=$(OPENXM_CONTRIB)/gc |
| GMP=$(OPENXM_CONTRIB)/gmp |
GMP=$(OPENXM_CONTRIB)/gmp |
| |
|
| all : all-gc all-gmp all-plugin all-sm1 all-kanlib.a |
all : all-plugin all-sm1 all-kanlib.a |
| ## .SUFFIXES: |
## .SUFFIXES: |
| |
|
| all2 : all-gc all-gmp |
all2 : all-gc all-gmp |
| Line 43 all-kanlib.a : all-plugin |
|
| Line 43 all-kanlib.a : all-plugin |
|
| sm1.nogc : |
sm1.nogc : |
| (cd Kan; make sm1.nogc) |
(cd Kan; make sm1.nogc) |
| |
|
| configure: configure_symbolic_links configure-gmp |
configure: configure_symbolic_links |
| |
|
| configure-gmp: configure_symbolic_links |
configure-gmp: configure_symbolic_links |
| if test -f $(GMP)/.gmp_configured ; \ |
if test -f $(GMP)/.gmp_configured ; \ |
| Line 68 configure_symbolic_links : |
|
| Line 68 configure_symbolic_links : |
|
| dist : |
dist : |
| ./makeDist |
./makeDist |
| ############### |
############### |
| install : install-openXM-bin install-document install.man |
install : install-openXM-bin install-doc install-man |
| |
|
| install.man : |
install.man: install-man #aliases |
| |
|
| |
install-man : |
| @if [ ! -d $(OpenXM_ROOT)/man ]; then \ |
@if [ ! -d $(OpenXM_ROOT)/man ]; then \ |
| mkdir $(OpenXM_ROOT)/man ; \ |
mkdir $(OpenXM_ROOT)/man ; \ |
| fi |
fi |
| Line 115 install-openXM-bin : clean-for-debug |
|
| Line 117 install-openXM-bin : clean-for-debug |
|
| install-for-debug : |
install-for-debug : |
| ln -f -s ../src/kan96xx/Kan/sm1 $(OpenXM_bin)/sm1 |
ln -f -s ../src/kan96xx/Kan/sm1 $(OpenXM_bin)/sm1 |
| |
|
| install-document : |
install-doc: install-document |
| (cd Doc ; make install-document) |
|
| |
|
| |
install-document : #alias |
| |
-(cd Doc ; make install-document) |
| |
|
| ############## |
############## |
| clean-for-debug : |
clean-for-debug : |
| /bin/rm -f $(OpenXM_bin)/sm1 |
/bin/rm -f $(OpenXM_bin)/sm1 |
| |
|
| clean : |
clean : |
| /bin/rm -f ./.done_links |
/bin/rm -f ./.done_links |
| if test -f $(GMP)/Makefile ; \ |
|
| then \ |
|
| (cd $(GMP) ; make clean) ; \ |
|
| fi |
|
| if test -f $(GC)/Makefile ; \ |
|
| then \ |
|
| (cd $(GC); make clean) ; \ |
|
| fi |
|
| (cd Kan; make clean) |
(cd Kan; make clean) |
| (cd plugin; make clean) |
(cd plugin; make clean) |
| /bin/rm -f sm1 |
/bin/rm -f sm1 |
|
|
| cleana: distclean |
cleana: distclean |
| |
|
| distclean : clean |
distclean : clean |
| if test -f $(GMP)/Makefile ; \ |
|
| then \ |
|
| (cd $(GMP) ; make distclean) ; \ |
|
| fi |
|
| -/bin/rm -f $(GMP)/.gmp_configured |
|
| if test -f $(GC)/Makefile ; \ |
|
| then \ |
|
| (cd $(GC); make clean; /bin/rm -f *.a) ; \ |
|
| fi |
|
| (cd Kan; make cleana) |
(cd Kan; make cleana) |
| (cd plugin; make clean; /bin/rm -f *.a) |
(cd plugin; make clean; /bin/rm -f *.a) |
| /bin/rm -rf gc gmp lib Doc/var.sm1 |
/bin/rm -rf gc gmp lib Doc/var.sm1 |