version 1.35, 2012/05/09 06:17:13 |
version 1.46, 2015/08/14 07:36:59 |
|
|
## $OpenXM: OpenXM_contrib2/asir2000/Makefile.am,v 1.34 2009/03/04 09:15:36 ohara Exp $ |
## $OpenXM: OpenXM_contrib2/asir2000/Makefile.am,v 1.45 2015/08/06 09:01:26 ohara Exp $ |
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 |
AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 |
if USE_PLOT |
if USE_PLOT |
Line 15 asir_SOURCES = parse/main.c |
|
Line 15 asir_SOURCES = parse/main.c |
|
asir_LDADD = libasir.a @ASIR_GCLIB@ |
asir_LDADD = libasir.a @ASIR_GCLIB@ |
CLEANFILES = ${asir_LDADD} asir-openxm-${VERSION}.tgz |
CLEANFILES = ${asir_LDADD} asir-openxm-${VERSION}.tgz |
|
|
GC_TAR_GZ = ${GC}.tar.gz |
GC_TAR_GZ = gc-7.4.2.tar.gz |
GC_PATCH = gc-7.0-risa.diff |
GC_PATCH = gc-7.diff gc-7.0-risa.diff |
GC_MASTER_SITE=ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/ |
LIB_ATOMIC = libatomic_ops-7.4.0 |
|
LIB_ATOMIC_TAR_GZ = ${LIB_ATOMIC}.tar.gz |
|
#GC_TAR_GZ = ${GC}.tar.gz |
|
#GC_PATCH = gc6.diff gc6-risa.diff |
|
GC_MASTER_SITE=http://www.math.kobe-u.ac.jp/pub/OpenXM/misc/ |
OX_FETCH = ${bindir}/oxfetch.sh |
OX_FETCH = ${bindir}/oxfetch.sh |
|
|
DEFS = @DEFS@ -DASIR_LIBDIR=\"${asirdir}\" |
DEFS = @DEFS@ -DASIR_LIBDIR=\"${asirdir}\" |
INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/parse -I${top_srcdir}/io \ |
AM_CPPFLAGS = -I${top_srcdir}/include -I${top_srcdir}/parse -I${top_srcdir}/io \ |
@GCINC@ @PARIINC@ @X_CFLAGS@ |
-I${prefix}/include @GCINC@ @PARIINC@ @X_CFLAGS@ |
|
|
GLIB = @ASIR_GCLIB@ |
GLIB = @ASIR_GCLIB@ |
ALIB = asm/libasm.a |
ALIB = asm/libasm.a |
Line 31 ELIB = engine/libca.a |
|
Line 35 ELIB = engine/libca.a |
|
FLIB = fft/libdft.a |
FLIB = fft/libdft.a |
IOLIB = io/libio.a |
IOLIB = io/libio.a |
PLIB = parse/libparse.a |
PLIB = parse/libparse.a |
|
GMPLIB = -L ${libdir} -lmpfr -lgmp |
|
|
ASIRLIB = ${BLIB} ${PLIB} ${IOLIB} ${PLLIB} ${ELIB} ${FLIB} ${ALIB} |
ASIRLIB = ${BLIB} ${PLIB} ${IOLIB} ${PLLIB} ${ELIB} ${FLIB} ${ALIB} |
LIBS = @LIBS@ @GCLIB@ @PARILIB@ @LAPACKLIB@ ${X11LIB} ${FEPLIB} -lm ${EXTRALIBS} |
LIBS = @LIBS@ @GCLIB@ @PARILIB@ @LAPACKLIB@ ${X11LIB} ${FEPLIB} ${GMPLIB} -lm @WSLIB@ ${EXTRALIBS} |
# EXTRALIBS = @EXTRALIBS@ |
# EXTRALIBS = @EXTRALIBS@ |
|
|
all-recursive: ${GLIB} |
all-recursive: ${GLIB} |
Line 45 libasir-gc.a: ${GC_PATCH} |
|
Line 50 libasir-gc.a: ${GC_PATCH} |
|
-if [ ! -f ${top_srcdir}/.gc_fetch_done ]; then \ |
-if [ ! -f ${top_srcdir}/.gc_fetch_done ]; then \ |
if [ ! -f ${GC_DISTDIR}/${GC_TAR_GZ} ]; then \ |
if [ ! -f ${GC_DISTDIR}/${GC_TAR_GZ} ]; then \ |
${OX_FETCH} ${GC_MASTER_SITE}${GC_TAR_GZ} ${GC_DISTDIR}; \ |
${OX_FETCH} ${GC_MASTER_SITE}${GC_TAR_GZ} ${GC_DISTDIR}; \ |
|
${OX_FETCH} ${GC_MASTER_SITE}${LIB_ATOMIC_TAR_GZ} ${GC_DISTDIR}; \ |
fi ; \ |
fi ; \ |
touch ${top_srcdir}/.gc_fetch_done ; \ |
touch ${top_srcdir}/.gc_fetch_done ; \ |
fi |
fi |
-if [ ! -f ${top_srcdir}/.gc_risa_done ]; then \ |
-if [ ! -f ${top_srcdir}/.gc_risa_done ]; then \ |
(cd ${top_srcdir}; tar xzvf ${GC_DISTDIR}/${GC_TAR_GZ}) ; \ |
(cd ${top_srcdir}; tar xzvf ${GC_DISTDIR}/${GC_TAR_GZ}) ; \ |
|
(cd ${top_srcdir}/${GC}; tar xzvf ${GC_DISTDIR}/${LIB_ATOMIC_TAR_GZ}; mv ${LIB_ATOMIC} libatomic_ops) ; \ |
for i in ${GC_PATCH} ; do \ |
for i in ${GC_PATCH} ; do \ |
(cd ${top_srcdir}/${GC}; patch -p1 < ../$$i) ; \ |
(cd ${top_srcdir}/${GC}; patch -p1 < ../$$i) ; \ |
done ; \ |
done ; \ |