version 1.7, 2000/01/19 01:15:46 |
version 1.12, 2000/01/20 07:47:39 |
|
|
# $OpenXM: OpenXM/src/asir2000/Makefile,v 1.6 2000/01/09 20:39:49 maekawa Exp $ |
# $OpenXM: OpenXM/src/asir2000/Makefile,v 1.11 2000/01/20 02:33:46 noro Exp $ |
|
|
ASIR = ../../../OpenXM_contrib2/asir2000 |
ASIR = ../../../OpenXM_contrib2/asir2000 |
PARI = ../pari |
PARI = ../pari |
|
|
all: configure |
all: configure |
|
@if [ ! -d $(ASIR) ]; then \ |
|
echo "You do not have the source of asir2000. Skip asir2000." ; \ |
|
exit 0 ; \ |
|
fi |
@if [ ! -f ./.make_done ]; then \ |
@if [ ! -f ./.make_done ]; then \ |
(cd $(ASIR) ; make all) \ |
(cd $(ASIR) ; make all) \ |
fi |
fi |
@touch ./.make_done |
@touch ./.make_done |
|
|
install: all |
install: all |
|
@if [ ! -d $(ASIR) ]; then \ |
|
echo "You do not have the source of asir2000. Skip asir2000." ; \ |
|
exit 0 ; \ |
|
fi |
(cd $(ASIR) ; make install ; make install-lib) |
(cd $(ASIR) ; make install ; make install-lib) |
|
|
clean: |
clean: |
|
@if [ ! -d $(ASIR) ]; then \ |
|
echo "You do not have the source of asir2000. Skip asir2000." ; \ |
|
exit 0 ; \ |
|
fi |
(cd $(ASIR) ; make clean) |
(cd $(ASIR) ; make clean) |
@rm -f ./.make_done ./.configure_done ./.install-pari_done |
@rm -f ./.make_done ./.configure_done ./.install-pari_done |
|
|
distclean: |
distclean: clean |
@cat BINARIES | xargs -t rm -rf |
@cat BINARIES | xargs -t rm -rf |
|
|
configure: install-pari |
configure: install-pari |
|
@if [ ! -d $(ASIR) ]; then \ |
|
echo "You do not have the source of asir2000. Skip asir2000." ; \ |
|
exit 0 ; \ |
|
fi |
@if [ ! -f ./.configure_done ]; then \ |
@if [ ! -f ./.configure_done ]; then \ |
(cd $(ASIR) ; ./configure ; xmkmf -a ; make depend) \ |
(cd $(ASIR) ; ./configure ; xmkmf ; make Makefiles ; make depend) \ |
fi |
fi |
@touch ./.configure_done |
@touch ./.configure_done |
|
|