version 1.41, 2013/12/20 03:58:45 |
version 1.51, 2019/03/26 08:10:13 |
|
|
## $OpenXM: OpenXM_contrib2/asir2000/Makefile.am,v 1.40 2013/12/20 02:02:23 noro Exp $ |
## $OpenXM: OpenXM_contrib2/asir2000/Makefile.am,v 1.50 2019/03/23 12:17:15 ohara Exp $ |
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 |
AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 |
if USE_PLOT |
if USE_PLOT |
|
|
|
|
SUBDIRS = asm builtin engine fft include io lib parse ${PLOTDIR} |
SUBDIRS = asm builtin engine fft include io lib parse ${PLOTDIR} |
|
|
asirdir = ${libdir}/asir |
asirdir = ${libdir}/asir2000 |
asir_PROGRAMS = asir |
asir_PROGRAMS = asir |
asir_SOURCES = parse/main.c |
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=ftp://ftp.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 ; \ |
Line 81 libasir.a: ${ASIRLIB} ${GLIB} parse/gc_risa.c |
|
Line 85 libasir.a: ${ASIRLIB} ${GLIB} parse/gc_risa.c |
|
|
|
install-libasir: libasir.a |
install-libasir: libasir.a |
mkdir -p ${DESTDIR}${libdir} |
mkdir -p ${DESTDIR}${libdir} |
${INSTALL_DATA} libasir.a ${DESTDIR}${libdir}/libasir${libasir_postfix}.a |
${INSTALL_DATA} libasir.a ${DESTDIR}${libdir}/libasir2000${libasir_postfix}.a |
|
|
install-libasir-gc: libasir-gc.a |
install-libasir-gc: libasir-gc.a |
mkdir -p ${DESTDIR}${libdir} |
mkdir -p ${DESTDIR}${libdir} |
${INSTALL_DATA} libasir-gc.a ${DESTDIR}${libdir}/libasir-gc.a |
${INSTALL_DATA} libasir-gc.a ${DESTDIR}${libdir}/libasir2000-gc.a |
|
|
install-openxm: asir${EXEEXT} install-libasir install-libasir-gc |
install-openxm: asir${EXEEXT} install-libasir install-libasir-gc |
-mkdir -p ${DESTDIR}${bindir} |
-mkdir -p ${DESTDIR}${bindir} |
${INSTALL_PROGRAM} asir ${DESTDIR}${bindir} |
${INSTALL_PROGRAM} asir2000 ${DESTDIR}${bindir} |
-mkdir -p ${DESTDIR}${asirdir} |
-mkdir -p ${DESTDIR}${asirdir} |
|
${INSTALL_PROGRAM} asir${EXEEXT} ${DESTDIR}${asirdir} |
(cd ${top_srcdir}/lib; ${MAKE} install-doc install-lib) |
(cd ${top_srcdir}/lib; ${MAKE} install-doc install-lib) |
-rm -f ${DESTDIR}${bindir}/ox_asir${EXEEXT} |
-rm -f ${DESTDIR}${bindir}/ox_asir2000${EXEEXT} |
(cd ${DESTDIR}${bindir} ; ${LN_S} asir${EXEEXT} ox_asir${EXEEXT}) |
${LN_S} ${DESTDIR}${asirdir}/asir${EXEEXT} ${DESTDIR}${bindir}/ox_asir2000${EXEEXT} |
-(cd ${DESTDIR}${asirdir}; \ |
-(cd ${DESTDIR}${asirdir}; \ |
rm -f asir${EXEEXT} ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT}) |
rm -f ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT}) |
(cd ${DESTDIR}${asirdir} ; \ |
(cd ${DESTDIR}${asirdir} ; \ |
${LN_S} ../../bin/asir${EXEEXT} asir${EXEEXT} ; \ |
|
${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_plot${EXEEXT}) |
${LN_S} asir${EXEEXT} ox_plot${EXEEXT}) |
|
|
${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_plot${EXEEXT}) |
${LN_S} asir${EXEEXT} ox_plot${EXEEXT}) |
-mkdir -p ${DESTDIR}${bindir} |
-mkdir -p ${DESTDIR}${bindir} |
-rm -f ${DESTDIR}${bindir}/asir${EXEEXT} |
-rm -f ${DESTDIR}${bindir}/asir2000${EXEEXT} |
(cd ${DESTDIR}${bindir} ; ${LN_S} ../lib/asir/asir${EXEEXT} asir${EXEEXT}) |
(cd ${DESTDIR}${bindir} ; ${LN_S} ../lib/asir/asir${EXEEXT} asir${EXEEXT}) |
|
|
install-doc: |
install-doc: |