version 1.32, 2003/09/11 00:52:04 |
version 1.36, 2004/02/23 11:38:36 |
|
|
# $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.31 2003/09/08 01:22:56 takayama Exp $ |
# $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.35 2003/12/04 07:49:24 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 28 configure: configure_symbolic_links |
|
Line 30 configure: configure_symbolic_links |
|
then \ |
then \ |
(cd Kan; sh ./configure) ; \ |
(cd Kan; sh ./configure) ; \ |
(cd plugin; sh ./configure) ; \ |
(cd plugin; sh ./configure) ; \ |
|
(cd trans; sh ./configure) ; \ |
fi |
fi |
@touch ./.configure_done |
@touch ./.configure_done |
configure_symbolic_links : |
configure_symbolic_links : |
Line 39 configure_symbolic_links : |
|
Line 42 configure_symbolic_links : |
|
fi |
fi |
@touch ./.configure_symbolic_links_done |
@touch ./.configure_symbolic_links_done |
############### |
############### |
install: install-exec install-man install-document |
install: install-exec install-man |
install-exec: clean-for-install all-sm1 |
install-exec: clean-for-install all-sm1 |
install Kan/sm1 ${OpenXM_bin} |
install Kan/sm1 ${OpenXM_bin} |
|
install trans/polymake2tfb ${OpenXM_bin} |
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 49 install-document: |
|
Line 53 install-document: |
|
install-for-debug : clean-for-install |
install-for-debug : clean-for-install |
if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ |
if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ |
ln -f -s ../src/kan96xx/Kan/sm1.exe ${OpenXM_bin}/sm1.exe ; \ |
ln -f -s ../src/kan96xx/Kan/sm1.exe ${OpenXM_bin}/sm1.exe ; \ |
|
ln -f -s ../src/kan96xx/trans/polymake2tfb.exe ${OpenXM_bin}/polymake2tfb.exe ; \ |
else \ |
else \ |
ln -f -s ../src/kan96xx/Kan/sm1 ${OpenXM_bin}/sm1 ; \ |
ln -f -s ../src/kan96xx/Kan/sm1 ${OpenXM_bin}/sm1 ; \ |
|
ln -f -s ../src/kan96xx/trans/polymake2tfb ${OpenXM_bin}/polymake2tfb ; \ |
fi |
fi |
|
|
|
|
Line 63 clean : clean-done |
|
Line 69 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 |
distclean: clean |
-(cd Kan ; make distclean) |
-(cd Kan ; make distclean) |
-(cd plugin ; make distclean) |
-(cd plugin ; make distclean) |
|
-(cd trans ; make distclean) |
-(cd Doc ; make distclean) |
-(cd Doc ; make distclean) |
|
|
|
|