| version 1.2, 2000/01/09 15:57:25 |
version 1.11, 2000/01/20 02:33:46 |
|
|
| # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.1 2000/01/08 19:11:10 maekawa Exp $ |
# $OpenXM: OpenXM/src/asir2000/Makefile,v 1.10 2000/01/19 11:58:23 takayama Exp $ |
| |
|
| ASIR = ../../../OpenXM_contrib2/asir2000 |
ASIR = ../../../OpenXM_contrib2/asir2000 |
| BINDIR = ../../bin |
PARI = ../pari |
| LIBDIR = ../../lib |
|
| |
|
| all: configure |
all: configure |
| @if [ ! -f ./.make_done ]; then \ |
@if [ ! -f ./.make_done ]; then \ |
|
|
| @touch ./.make_done |
@touch ./.make_done |
| |
|
| install: all |
install: all |
| (cd $(ASIR) ; make install ; make install2) |
(cd $(ASIR) ; make install ; make install-lib) |
| |
|
| clean: |
clean: |
| (cd $(ASIR) ; make clean) |
(cd $(ASIR) ; make clean) |
| @rm -f ./.make_done ./.configure_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: |
configure: install-pari |
| @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 |
| |
|
| |
install-pari: |
| |
@if [ ! -f ./.install-pari_done ]; then \ |
| |
(cd $(PARI) ; make install) \ |
| |
fi |
| |
@touch ./.install-pari_done |