version 1.9, 1999/11/27 13:24:40 |
version 1.10, 2000/01/10 19:11:59 |
|
|
## $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.8 1999/11/22 04:22:57 takayama Exp $ |
## $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.9 1999/11/27 13:24:40 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 |
|
OPENXM_CONTRIB=../../../OpenXM_contrib |
|
GC=$(OPENXM_CONTRIB)/gc |
|
GMP=$(OPENXM_CONTRIB)/gmp |
|
|
all : allGC allGMP |
all : all-gc all-gmp |
(cd plugin; make all) |
(cd plugin; make all) |
(cd Kan; make all) |
(cd Kan; make all) |
|
|
all2 : allGC allGMP |
all2 : all-gc all-gmp |
(cd Kan; make all) |
(cd Kan; make all) |
|
|
allGC : |
all-gc: |
(cd gc; make) |
(cd $(GC) ; make all) |
allGMP : |
|
|
all-gmp: |
if test -f /usr/lib/libgmp.a ; \ |
if test -f /usr/lib/libgmp.a ; \ |
then \ |
then \ |
echo "Using /usr/lib/libgmp.a" ; \ |
echo "Using /usr/lib/libgmp.a" ; \ |
/bin/rm -rf gmp/libgmp.a ; \ |
/bin/rm -rf $(GMP)/libgmp.a ; \ |
ln -s /usr/lib/libgmp.a gmp/libgmp.a ; \ |
ln -s /usr/lib/libgmp.a $(GMP)/libgmp.a ; \ |
else \ |
else \ |
(cd gmp; make) ; \ |
(cd $(GMP) ; make) ; \ |
fi |
fi |
|
|
|
|
|
|
(cd Kan; make sm1.nogc) |
(cd Kan; make sm1.nogc) |
|
|
configure : configure_symbolic_links |
configure : configure_symbolic_links |
(cd gmp; ./configure ) |
(cd $(GMP) ; ./configure ) |
|
|
configure_symbolic_links : |
configure_symbolic_links : |
/bin/rm -f gc gmp lib Doc/var.sm1 |
/bin/rm -f gc gmp lib Doc/var.sm1 |
|
|
|
|
############## |
############## |
clean : |
clean : |
if test -f gmp/Makefile ; \ |
if test -f $(GMP)/Makefile ; \ |
then \ |
then \ |
(cd gmp; make clean) ; \ |
(cd $(GMP) ; make clean) ; \ |
fi |
fi |
if test -f gc/Makefile ; \ |
if test -f $(GC)/Makefile ; \ |
then \ |
then \ |
(cd gc; make clean) ; \ |
(cd $(GC); make clean) ; \ |
fi |
fi |
(cd Kan; make clean) |
(cd Kan; make clean) |
(cd plugin; make clean) |
(cd plugin; make clean) |
|
|
cleana: distclean |
cleana: distclean |
|
|
distclean : |
distclean : |
if test -f gmp/Makefile ; \ |
if test -f $(GMP)/Makefile ; \ |
then \ |
then \ |
(cd gmp; make distclean) ; \ |
(cd $(GMP) ; make distclean) ; \ |
fi |
fi |
if test -f gc/Makefile ; \ |
if test -f $(GC)/Makefile ; \ |
then \ |
then \ |
(cd gc; make clean; /bin/rm -f *.a) ; \ |
(cd $(GC); make clean; /bin/rm -f *.a) ; \ |
fi |
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) |