version 1.42, 2015/02/21 06:20:54 |
version 1.49, 2017/03/12 04:51:49 |
|
|
## $OpenXM: OpenXM_contrib2/asir2000/Makefile.am,v 1.41 2013/12/20 03:58:45 noro Exp $ |
## $OpenXM: OpenXM_contrib2/asir2000/Makefile.am,v 1.48 2016/09/22 07:15:33 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-7.2b.tar.gz |
GC_TAR_GZ = gc-7.4.2.tar.gz |
GC_PATCH = gc-7.diff gc-7.0-risa.diff |
GC_PATCH = gc-7.diff gc-7.0-risa.diff |
|
LIB_ATOMIC = libatomic_ops-7.4.0 |
|
LIB_ATOMIC_TAR_GZ = ${LIB_ATOMIC}.tar.gz |
#GC_TAR_GZ = ${GC}.tar.gz |
#GC_TAR_GZ = ${GC}.tar.gz |
#GC_PATCH = gc6.diff gc6-risa.diff |
#GC_PATCH = gc6.diff gc6-risa.diff |
GC_MASTER_SITE=http://www.math.kobe-u.ac.jp/pub/OpenXM/misc/ |
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 \ |
-I${prefix}/include @GCINC@ @PARIINC@ @X_CFLAGS@ |
-I${prefix}/include @GCINC@ @PARIINC@ @X_CFLAGS@ |
|
|
GLIB = @ASIR_GCLIB@ |
GLIB = @ASIR_GCLIB@ |
Line 33 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 = ${libdir}/libgmp.a |
GMPLIB = -L${libdir} @GMPLIB@ |
|
|
ASIRLIB = ${BLIB} ${PLIB} ${IOLIB} ${PLLIB} ${ELIB} ${FLIB} ${ALIB} |
ASIRLIB = ${BLIB} ${PLIB} ${IOLIB} ${PLLIB} ${ELIB} ${FLIB} ${ALIB} |
LIBS = @LIBS@ @GCLIB@ @PARILIB@ @LAPACKLIB@ ${X11LIB} ${FEPLIB} ${GMPLIB} -lm ${EXTRALIBS} |
LIBS = @LIBS@ @GCLIB@ @PARILIB@ @LAPACKLIB@ ${X11LIB} ${FEPLIB} ${GMPLIB} -lm @WSLIB@ ${EXTRALIBS} |
# EXTRALIBS = @EXTRALIBS@ |
# EXTRALIBS = @EXTRALIBS@ |
|
|
all-recursive: ${GLIB} |
all-recursive: ${GLIB} |
Line 48 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 ; \ |