Annotation of OpenXM_contrib2/asir-gc/Makefile.in, Revision 1.4
1.4 ! ohara 1: ## $OpenXM: OpenXM_contrib2/asir-gc/Makefile.in,v 1.3 2020/01/09 12:56:05 ohara Exp $
1.1 ohara 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:
1.4 ! ohara 14: GC=gc-8.0.6
1.1 ohara 15: GC_CONFIGURE_ARGS=@GC_CONFIGURE_ARGS@
16: GC_DISTDIR=@GC_DISTDIR@
17:
1.4 ! ohara 18: GC_TAR_GZ = gc-8.0.6.tar.gz
! 19: GC_PATCH = gc-8.0.6-risa.diff
! 20: LIB_ATOMIC = libatomic_ops-7.6.12
1.1 ohara 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
1.2 ohara 64: ${MKDIR_P} ${DESTDIR}${includedir}/gc
1.1 ohara 65: ${INSTALL_DATA} ${top_srcdir}/${GC}/include/*.h ${DESTDIR}${includedir}/gc/
1.2 ohara 66: ${INSTALL_DATA} ${top_srcdir}/${GC}/include/extra/gc.h ${DESTDIR}${includedir}/
1.1 ohara 67:
68: clean:
69: -rm -rf ${top_srcdir}/autom4te.cache
70: -rm -rf ${top_srcdir}/.gc_*_done
71: -rm -rf ${top_srcdir}/${GC}
1.3 ohara 72:
73: distclean: clean
74: -rm -f config.log config.status
75: -rm -f Makefile
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>