Annotation of OpenXM/src/asir2000/Makefile, Revision 1.12
1.12 ! takayama 1: # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.11 2000/01/20 02:33:46 noro Exp $
1.1 maekawa 2:
3: ASIR = ../../../OpenXM_contrib2/asir2000
1.4 maekawa 4: PARI = ../pari
1.1 maekawa 5:
1.5 maekawa 6: all: configure
1.12 ! takayama 7: @if [ ! -d $(ASIR) ]; then \
! 8: echo "You do not have the source of asir2000. Skip asir2000." ; \
! 9: exit 0 ; \
! 10: fi
1.1 maekawa 11: @if [ ! -f ./.make_done ]; then \
12: (cd $(ASIR) ; make all) \
13: fi
14: @touch ./.make_done
15:
16: install: all
1.12 ! takayama 17: @if [ ! -d $(ASIR) ]; then \
! 18: echo "You do not have the source of asir2000. Skip asir2000." ; \
! 19: exit 0 ; \
! 20: fi
1.7 noro 21: (cd $(ASIR) ; make install ; make install-lib)
1.1 maekawa 22:
23: clean:
1.12 ! takayama 24: @if [ ! -d $(ASIR) ]; then \
! 25: echo "You do not have the source of asir2000. Skip asir2000." ; \
! 26: exit 0 ; \
! 27: fi
1.1 maekawa 28: (cd $(ASIR) ; make clean)
1.6 maekawa 29: @rm -f ./.make_done ./.configure_done ./.install-pari_done
1.1 maekawa 30:
1.10 takayama 31: distclean: clean
1.1 maekawa 32: @cat BINARIES | xargs -t rm -rf
33:
1.5 maekawa 34: configure: install-pari
1.12 ! takayama 35: @if [ ! -d $(ASIR) ]; then \
! 36: echo "You do not have the source of asir2000. Skip asir2000." ; \
! 37: exit 0 ; \
! 38: fi
1.1 maekawa 39: @if [ ! -f ./.configure_done ]; then \
1.11 noro 40: (cd $(ASIR) ; ./configure ; xmkmf ; make Makefiles ; make depend) \
1.1 maekawa 41: fi
42: @touch ./.configure_done
1.4 maekawa 43:
44: install-pari:
1.6 maekawa 45: @if [ ! -f ./.install-pari_done ]; then \
46: (cd $(PARI) ; make install) \
47: fi
48: @touch ./.install-pari_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>