Annotation of OpenXM_contrib2/asir-gc/Makefile.in, Revision 1.1
1.1 ! ohara 1: ## $OpenXM$
! 2:
! 3: prefix=@prefix@
! 4: exec_prefix=@exec_prefix@
! 5: top_srcdir=@top_srcdir@
! 6: bindir=@bindir@
! 7: libdir=@libdir@
! 8: includedir=@includedir@
! 9: INSTALL=@INSTALL@
! 10: INSTALL_PROGRAM=@INSTALL_PROGRAM@
! 11: INSTALL_DATA=@INSTALL_DATA@
! 12: MKDIR_P=@MKDIR_P@
! 13:
! 14: GC=@GC@
! 15: GC_CONFIGURE_ARGS=@GC_CONFIGURE_ARGS@
! 16: GC_DISTDIR=@GC_DISTDIR@
! 17:
! 18: GC_TAR_GZ = gc-7.4.2.tar.gz
! 19: GC_PATCH = gc-7.diff gc-7.4.2-risa.diff
! 20: LIB_ATOMIC = libatomic_ops-7.4.0
! 21: LIB_ATOMIC_TAR_GZ = ${LIB_ATOMIC}.tar.gz
! 22: GC_MASTER_SITE = http://www.math.kobe-u.ac.jp/pub/OpenXM/misc/
! 23: OX_FETCH = ${bindir}/oxfetch.sh
! 24:
! 25: all: build
! 26:
! 27: fetch:
! 28: -if [ ! -f ${top_srcdir}/.gc_fetch_done ]; then \
! 29: if [ ! -f ${GC_DISTDIR}/${GC_TAR_GZ} ]; then \
! 30: ${OX_FETCH} ${GC_MASTER_SITE}${GC_TAR_GZ} ${GC_DISTDIR}; \
! 31: ${OX_FETCH} ${GC_MASTER_SITE}${LIB_ATOMIC_TAR_GZ} ${GC_DISTDIR}; \
! 32: fi ; \
! 33: touch ${top_srcdir}/.gc_fetch_done ; \
! 34: fi
! 35:
! 36: patch: ${GC_PATCH} fetch
! 37: -if [ ! -f ${top_srcdir}/.gc_risa_done ]; then \
! 38: (cd ${top_srcdir}; tar xzvf ${GC_DISTDIR}/${GC_TAR_GZ}) ; \
! 39: (cd ${top_srcdir}/${GC}; tar xzvf ${GC_DISTDIR}/${LIB_ATOMIC_TAR_GZ}; mv ${LIB_ATOMIC} libatomic_ops) ; \
! 40: for i in ${GC_PATCH} ; do \
! 41: (cd ${top_srcdir}/${GC}; patch -p1 < ../$$i) ; \
! 42: done ; \
! 43: touch ${top_srcdir}/.gc_risa_done ; \
! 44: fi
! 45: -if [ "${USE_GC_SPARC64}" = yes \
! 46: -a ! -f ${top_srcdir}/.gc_patch_sparc64_done ]; then \
! 47: (cd ${top_srcdir}/${GC}; patch -p0 < ../gc_sparc64.diff) ; \
! 48: touch ${top_srcdir}/.gc_patch_sparc64_done ; \
! 49: fi
! 50:
! 51: configure: patch
! 52: -if [ ! -f ${top_srcdir}/.gc_configure_done ]; then \
! 53: (cd ${top_srcdir}/${GC}; ./configure ${GC_CONFIGURE_ARGS}) ; \
! 54: touch ${top_srcdir}/.gc_configure_done ; \
! 55: fi
! 56:
! 57: build: configure
! 58: (cd ${top_srcdir}/${GC}; ${MAKE})
! 59:
! 60: install: build
! 61: ${MKDIR_P} ${DESTDIR}${libdir}
! 62: ${INSTALL_PROGRAM} ${top_srcdir}/${GC}/.libs/libasir-gc.* ${DESTDIR}${libdir}/
! 63: chmod 644 ${DESTDIR}${libdir}/libasir-gc.a
! 64:
! 65: install-headers: build
! 66: ${MKDIR_P} ${DESTDIR}${includedir}
! 67: ${INSTALL_DATA} ${top_srcdir}/${GC}/include/*.h ${DESTDIR}${includedir}/gc/
! 68:
! 69: clean:
! 70: -rm -rf ${top_srcdir}/autom4te.cache
! 71: -rm -rf ${top_srcdir}/.gc_*_done
! 72: -rm -rf ${top_srcdir}/${GC}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>