version 1.24, 2000/09/17 03:12:10 |
version 1.26, 2001/05/20 07:48:17 |
|
|
## $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.23 2000/08/31 13:35:09 takayama Exp $ |
## $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.25 2000/12/25 06:19:10 takayama Exp $ |
|
|
## Type in make configure and make all to build all |
## Type in make configure and make all to build all |
|
TOPDIR=../../../OpenXM |
OpenXM_contrib=../../../OpenXM_contrib |
OpenXM_contrib=../../../OpenXM_contrib |
OPENXM_CONTRIB=../../../OpenXM_contrib |
OpenXM_ROOT=${TOPDIR} |
OpenXM_ROOT=../../../OpenXM |
|
OpenXM_bin=$(OpenXM_ROOT)/bin |
OpenXM_bin=$(OpenXM_ROOT)/bin |
|
|
GC=$(OPENXM_CONTRIB)/gc |
GC=${OpenXM_contrib}/gc |
|
|
all : all-plugin all-sm1 all-kanlib.a |
all : all-plugin all-sm1 all-kanlib.a |
## .SUFFIXES: |
## .SUFFIXES: |
|
|
(cd Kan; make sm1.nogc) |
(cd Kan; make sm1.nogc) |
|
|
configure: configure_symbolic_links |
configure: configure_symbolic_links |
|
(cd Kan; sh configure) |
|
|
|
|
configure_symbolic_links : |
configure_symbolic_links : |
@if test ! -f ./.done_links ; \ |
@if test ! -f ./.done_links ; \ |
then \ |
then \ |
/bin/rm -f gc gmp lib Doc/var.sm1 ; \ |
/bin/rm -f gc gmp lib Doc/var.sm1 ; \ |
ln -f -s $(OpenXM_contrib)/gc gc ; \ |
ln -f -s ${OpenXM_contrib}/gc gc ; \ |
ln -f -s $(OpenXM_contrib)/gmp gmp ; \ |
ln -f -s ${OpenXM_contrib}/gmp gmp ; \ |
ln -f -s ./Doc lib ; \ |
ln -f -s ./Doc lib ; \ |
(cd Doc; ln -f -s ../Kan/var.sm1 var.sm1) ; \ |
(cd Doc; ln -f -s ../Kan/var.sm1 var.sm1) ; \ |
fi |
fi |
|
|
install-openXM-bin: install-bin-OpenXM #alias |
install-openXM-bin: install-bin-OpenXM #alias |
|
|
install-bin-OpenXM: clean-for-debug |
install-bin-OpenXM: clean-for-debug |
cp Kan/sm1 $(OpenXM_bin) |
if [ "`uname`" = "CYGWIN_NT-5.0" ]; then \ |
|
cp Kan/sm1.exe $(OpenXM_bin) ; \ |
|
else \ |
|
cp Kan/sm1 $(OpenXM_bin) ; \ |
|
fi |
|
|
install-for-debug : |
install-for-debug : |
ln -f -s ../src/kan96xx/Kan/sm1 $(OpenXM_bin)/sm1 |
if [ "`uname`" = "CYGWIN_NT-5.0" ]; then \ |
|
ln -f -s ../src/kan96xx/Kan/sm1.exe $(OpenXM_bin)/sm1.exe ; \ |
|
else \ |
|
ln -f -s ../src/kan96xx/Kan/sm1 $(OpenXM_bin)/sm1 ; \ |
|
fi |
|
|
install-doc: install-document |
install-doc: install-document |
|
|