Annotation of OpenXM/src/gc/Makefile, Revision 1.7
1.7 ! takayama 1: # $OpenXM: OpenXM/src/gc/Makefile,v 1.6 2004/02/28 15:35:45 ohara Exp $
1.1 takayama 2: OpenXM_HOME=../..
1.7 ! takayama 3: PREFIX=${OpenXM_HOME}
! 4: DISTDIR=${OpenXM_HOME}/../OpenXM_dist
! 5: RM = /bin/rm -rf
! 6: MASTER_CITES=ftp.math.kobe-u.ac.jp
! 7: # MASTER_CITES2 =
! 8: DISTFILES=gc6.2.tar.gz
! 9:
! 10: all : build
! 11: install : post-install
! 12:
! 13: fetch:
! 14: @if test ! -f .fetch_done ; \
! 15: then \
! 16: ${OpenXM_HOME}/bin/oxfetch.sh ftp://${MASTER_CITES}/pub/OpenXM/misc/${DISTFILES} ${DISTDIR}; \
! 17: fi
! 18: @touch .fetch_done
1.3 takayama 19:
1.7 ! takayama 20: patch : fetch
! 21: @if test ! -f .patch_done ; \
! 22: then \
! 23: $(RM) work ; \
! 24: mkdir work ; \
! 25: (cd work ; tar xzvf ../${DISTDIR}/${DISTFILES} ) ; \
! 26: fi
! 27: @touch .patch_done
! 28: # (cd work; patch -c -p0 <../patch-aa ; patch -c -p0 <../patch-bb ; patch -c -p0 <../patch-cc) ; \
1.1 takayama 29:
1.7 ! takayama 30: build : patch
! 31: @if test ! -f .build_done ; \
! 32: then \
! 33: (cd work/gc6.2 ; ./configure --prefix `pwd`/../../../../../OpenXM ; make ) ; \
1.1 takayama 34: fi
1.7 ! takayama 35: @touch .build_done
1.6 ohara 36:
1.7 ! takayama 37: post-install: build
! 38: @if test ! -f .post-install_done ; \
! 39: then \
! 40: (cd work/gc6.2 ; make install) ; \
1.6 ohara 41: fi
1.7 ! takayama 42: @touch .post-install_done
1.6 ohara 43:
1.7 ! takayama 44: clean:
! 45: $(RM) .*_done
! 46: -(cd work/gc6.2 ; make clean)
! 47: distclean:
! 48: $(RM) .*_done ./.use_ports
! 49: -(cd work/gc6.2 ; make distclean)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>