version 1.29, 2003/09/02 03:24:47 |
version 1.34, 2003/11/24 23:16:02 |
|
|
# $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.28 2001/12/28 02:33:56 noro Exp $ |
# $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.33 2003/11/24 08:16:13 takayama Exp $ |
# |
# |
# Building kan96xx depends on |
# Building kan96xx depends on |
# install-gmp, install-gc [install-asir-gc] |
# install-gmp, install-gc [install-asir-gc] |
|
|
|
|
all : all-sm1 all-kanlib.a |
all : all-sm1 all-kanlib.a |
|
|
all-sm1 : all-plugin |
all-sm1 : all-plugin all-trans |
(cd Kan; make all) |
(cd Kan; make all) |
all-plugin : configure |
all-plugin : configure |
(cd plugin ; make all) |
(cd plugin ; make all) |
all-kanlib.a : all-plugin |
all-trans: configure |
|
(cd trans ; make all) |
|
all-kanlib.a : all-plugin all-trans |
(cd Kan ; make kanlib.a) |
(cd Kan ; make kanlib.a) |
|
|
### When you make sm1 without the garbage collector, type in make sm1.nogc |
### When you make sm1 without the garbage collector, type in make sm1.nogc |
Line 26 sm1-nogc : all-plugin |
|
Line 28 sm1-nogc : all-plugin |
|
configure: configure_symbolic_links |
configure: configure_symbolic_links |
if test ! -f ./.configure_done ; \ |
if test ! -f ./.configure_done ; \ |
then \ |
then \ |
(cd Kan; ./configure) ; \ |
(cd Kan; sh ./configure) ; \ |
(cd plugin; ./configure) ; \ |
(cd plugin; sh ./configure) ; \ |
|
(cd trans; sh ./configure) ; \ |
fi |
fi |
@touch ./.configure_done |
@touch ./.configure_done |
configure_symbolic_links : |
configure_symbolic_links : |
Line 40 configure_symbolic_links : |
|
Line 43 configure_symbolic_links : |
|
@touch ./.configure_symbolic_links_done |
@touch ./.configure_symbolic_links_done |
############### |
############### |
install: install-exec install-man install-document |
install: install-exec install-man install-document |
install-exec: install-OpenXM-bin |
install-exec: clean-for-install all-sm1 |
install-OpenXM-bin: clean-for-install all-sm1 |
install Kan/sm1 ${OpenXM_bin} |
if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ |
|
rm -f ${OpenXM_bin}/sm1.exe ; \ |
|
cp Kan/sm1.exe ${OpenXM_bin} ; \ |
|
else \ |
|
cp Kan/sm1 ${OpenXM_bin} ; \ |
|
fi |
|
install-man : |
install-man : |
-cp Doc/sm1.1 ${OpenXM_HOME}/man/man1 |
-cp Doc/sm1.1 ${OpenXM_HOME}/man/man1 |
install-document: |
install-document: |
Line 69 clean : clean-done |
|
Line 66 clean : clean-done |
|
${RM} -f ./.*done |
${RM} -f ./.*done |
(cd Kan; make clean) |
(cd Kan; make clean) |
(cd plugin; make clean) |
(cd plugin; make clean) |
|
(cd trans; make clean) |
(cd Doc; make clean) |
(cd Doc; make clean) |
${RM} -f sm1 gmp gc Doc/var.sm1 lib |
${RM} -f sm1 gmp gc Doc/var.sm1 lib |
|
distclean: clean |
|
-(cd Kan ; make distclean) |
|
-(cd plugin ; make distclean) |
|
-(cd trans ; make distclean) |
|
-(cd Doc ; make distclean) |
|
|
|
|
|
|