version 1.18, 2003/03/20 07:06:31 |
version 1.28, 2007/02/18 08:46:47 |
Line 78 PACKAGE = @PACKAGE@ |
|
Line 78 PACKAGE = @PACKAGE@ |
|
PARIINC = @PARIINC@ |
PARIINC = @PARIINC@ |
PARILIB = @PARILIB@ |
PARILIB = @PARILIB@ |
RANLIB = @RANLIB@ |
RANLIB = @RANLIB@ |
|
USE_GC_INTERIX = @USE_GC_INTERIX@ |
|
USE_GC_SPARC64 = @USE_GC_SPARC64@ |
USE_GC_ZEROPAGE = @USE_GC_ZEROPAGE@ |
USE_GC_ZEROPAGE = @USE_GC_ZEROPAGE@ |
VERSION = @VERSION@ |
VERSION = @VERSION@ |
XPMLIB = @XPMLIB@ |
XPMLIB = @XPMLIB@ |
Line 91 am__quote = @am__quote@ |
|
Line 93 am__quote = @am__quote@ |
|
asm_obj = @asm_obj@ |
asm_obj = @asm_obj@ |
install_sh = @install_sh@ |
install_sh = @install_sh@ |
libasir_postfix = @libasir_postfix@ |
libasir_postfix = @libasir_postfix@ |
|
GC_DISTDIR = @GC_DISTDIR@ |
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 |
AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 |
@USE_PLOT_TRUE@PLOTDIR = plot |
@USE_PLOT_TRUE@PLOTDIR = plot |
Line 99 AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 |
|
Line 102 AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 |
|
|
|
SUBDIRS = asm builtin engine fft include io lib parse ${PLOTDIR} |
SUBDIRS = asm builtin engine fft include io lib parse ${PLOTDIR} |
|
|
DEFS = @DEFS@ -DASIR_LIBDIR=\"${prefix}/lib/asir\" |
asirdir = ${libdir}/asir |
|
asir_PROGRAMS = asir |
|
asir_SOURCES = parse/main.c |
|
asir_LDADD = libasir.a libasir-gc.a |
|
CLEANFILES = ${asir_LDADD} asir-openxm-${VERSION}.tgz |
|
|
|
GC = gc6.8 |
|
GC_TAR_GZ = ${GC}.tar.gz |
|
GC_MASTER_SITE = ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/ |
|
OX_FETCH = ${bindir}/oxfetch.sh |
|
|
|
DEFS = @DEFS@ -DASIR_LIBDIR=\"${asirdir}\" |
INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/parse -I${top_srcdir}/io \ |
INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/parse -I${top_srcdir}/io \ |
-I${top_srcdir}/gc/include \ |
-I${top_srcdir}/${GC}/include \ |
@PARIINC@ @MPIINC@ @X_CFLAGS@ |
@PARIINC@ @MPIINC@ @X_CFLAGS@ |
|
|
|
|
Line 115 PLIB = parse/libparse.a |
|
Line 129 PLIB = parse/libparse.a |
|
|
|
ASIRLIB = ${BLIB} ${PLIB} ${IOLIB} ${PLLIB} ${ELIB} ${FLIB} ${ALIB} |
ASIRLIB = ${BLIB} ${PLIB} ${IOLIB} ${PLLIB} ${ELIB} ${FLIB} ${ALIB} |
LIBS = @LIBS@ @PARILIB@ @MPILIB@ @LAPACKLIB@ ${X11LIB} ${FEPLIB} -lm ${EXTRALIBS} |
LIBS = @LIBS@ @PARILIB@ @MPILIB@ @LAPACKLIB@ ${X11LIB} ${FEPLIB} -lm ${EXTRALIBS} |
|
|
# EXTRALIBS = @EXTRALIBS@ |
|
bin_PROGRAMS = asir |
|
asir_SOURCES = parse/main.c |
|
asir_LDADD = libasir.a libasir-gc.a |
|
CLEANFILES = ${asir_LDADD} |
|
subdir = . |
subdir = . |
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
CONFIG_CLEAN_FILES = |
CONFIG_CLEAN_FILES = |
bin_PROGRAMS = asir$(EXEEXT) |
asir_PROGRAMS = asir$(EXEEXT) |
PROGRAMS = $(bin_PROGRAMS) |
PROGRAMS = $(asir_PROGRAMS) |
|
|
am_asir_OBJECTS = main.$(OBJEXT) |
am_asir_OBJECTS = main.$(OBJEXT) |
asir_OBJECTS = $(am_asir_OBJECTS) |
asir_OBJECTS = $(am_asir_OBJECTS) |
Line 172 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/ |
|
Line 180 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/ |
|
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4 |
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4 |
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
install-binPROGRAMS: $(bin_PROGRAMS) |
install-asirPROGRAMS: $(asir_PROGRAMS) |
@$(NORMAL_INSTALL) |
@$(NORMAL_INSTALL) |
$(mkinstalldirs) $(DESTDIR)$(bindir) |
$(mkinstalldirs) $(DESTDIR)$(asirdir) |
@list='$(bin_PROGRAMS)'; for p in $$list; do \ |
@list='$(asir_PROGRAMS)'; for p in $$list; do \ |
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ |
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ |
if test -f $$p \ |
if test -f $$p \ |
; then \ |
; then \ |
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \ |
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \ |
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \ |
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(asirdir)/$$f"; \ |
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \ |
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(asirdir)/$$f; \ |
else :; fi; \ |
else :; fi; \ |
done |
done |
|
|
uninstall-binPROGRAMS: |
uninstall-asirPROGRAMS: |
@$(NORMAL_UNINSTALL) |
@$(NORMAL_UNINSTALL) |
@list='$(bin_PROGRAMS)'; for p in $$list; do \ |
@list='$(asir_PROGRAMS)'; for p in $$list; do \ |
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ |
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ |
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ |
echo " rm -f $(DESTDIR)$(asirdir)/$$f"; \ |
rm -f $(DESTDIR)$(bindir)/$$f; \ |
rm -f $(DESTDIR)$(asirdir)/$$f; \ |
done |
done |
|
|
clean-binPROGRAMS: |
clean-asirPROGRAMS: |
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
-test -z "$(asir_PROGRAMS)" || rm -f $(asir_PROGRAMS) |
main.$(OBJEXT): parse/main.c |
main.$(OBJEXT): parse/main.c |
asir$(EXEEXT): $(asir_OBJECTS) $(asir_DEPENDENCIES) |
asir$(EXEEXT): $(asir_OBJECTS) $(asir_DEPENDENCIES) |
@rm -f asir$(EXEEXT) |
@rm -f asir$(EXEEXT) |
Line 395 check: check-recursive |
|
Line 403 check: check-recursive |
|
all-am: Makefile $(PROGRAMS) |
all-am: Makefile $(PROGRAMS) |
installdirs: installdirs-recursive |
installdirs: installdirs-recursive |
installdirs-am: |
installdirs-am: |
$(mkinstalldirs) $(DESTDIR)$(bindir) |
$(mkinstalldirs) $(DESTDIR)$(asirdir) |
|
|
install: install-recursive |
install: install-recursive |
install-exec: install-exec-recursive |
install-exec: install-exec-recursive |
Line 423 maintainer-clean-generic: |
|
Line 431 maintainer-clean-generic: |
|
@echo "it deletes files that may require special tools to rebuild." |
@echo "it deletes files that may require special tools to rebuild." |
clean: clean-recursive |
clean: clean-recursive |
|
|
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am |
clean-am: clean-asirPROGRAMS clean-generic mostlyclean-am |
|
|
dist-all: distdir |
dist-all: distdir |
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
Line 441 info: info-recursive |
|
Line 449 info: info-recursive |
|
|
|
info-am: |
info-am: |
|
|
install-data-am: |
install-data-am: install-asirPROGRAMS |
|
|
install-exec-am: install-binPROGRAMS |
install-exec-am: |
@$(NORMAL_INSTALL) |
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook |
|
|
|
install-info: install-info-recursive |
install-info: install-info-recursive |
|
|
Line 461 mostlyclean: mostlyclean-recursive |
|
Line 467 mostlyclean: mostlyclean-recursive |
|
|
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic |
mostlyclean-am: mostlyclean-compile mostlyclean-generic |
|
|
uninstall-am: uninstall-binPROGRAMS uninstall-info-am |
uninstall-am: uninstall-asirPROGRAMS uninstall-info-am |
|
|
uninstall-info: uninstall-info-recursive |
uninstall-info: uninstall-info-recursive |
|
|
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \ |
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \ |
clean-binPROGRAMS clean-generic clean-recursive dist dist-all \ |
clean-asirPROGRAMS clean-generic clean-recursive dist dist-all \ |
distcheck distclean distclean-compile distclean-generic \ |
distcheck distclean distclean-compile distclean-generic \ |
distclean-recursive distclean-tags distdir dvi dvi-am \ |
distclean-recursive distclean-tags distdir dvi dvi-am \ |
dvi-recursive info info-am info-recursive install install-am \ |
dvi-recursive info info-am info-recursive install install-am \ |
install-binPROGRAMS install-data install-data-am \ |
install-asirPROGRAMS install-data install-data-am \ |
install-data-recursive install-exec install-exec-am \ |
install-data-recursive install-exec install-exec-am \ |
install-exec-recursive install-info install-info-am \ |
install-exec-recursive install-info install-info-am \ |
install-info-recursive install-man install-recursive \ |
install-info-recursive install-man install-recursive \ |
Line 479 uninstall-info: uninstall-info-recursive |
|
Line 485 uninstall-info: uninstall-info-recursive |
|
maintainer-clean-generic maintainer-clean-recursive mostlyclean \ |
maintainer-clean-generic maintainer-clean-recursive mostlyclean \ |
mostlyclean-compile mostlyclean-generic mostlyclean-recursive \ |
mostlyclean-compile mostlyclean-generic mostlyclean-recursive \ |
tags tags-recursive uninstall uninstall-am \ |
tags tags-recursive uninstall uninstall-am \ |
uninstall-binPROGRAMS uninstall-info-am \ |
uninstall-asirPROGRAMS uninstall-info-am \ |
uninstall-info-recursive uninstall-recursive |
uninstall-info-recursive uninstall-recursive |
|
|
|
# EXTRALIBS = @EXTRALIBS@ |
|
|
umain.o: parse/main.c |
umain.o: parse/main.c |
${COMPILE} -DUINIT main.c -o umain.o |
${COMPILE} -DUINIT main.c -o umain.o |
|
|
libasir-gc.a: parse/gc_risa.c |
libasir-gc.a: gc6.5-risa.diff parse/gc_risa.c |
|
-if [ ! -f ${top_srcdir}/.gc_fetch_done ]; then \ |
|
if [ ! -f ${GC_DISTDIR}/${GC_TAR_GZ} ]; then \ |
|
${OX_FETCH} ${GC_MASTER_SITE}${GC_TAR_GZ} ${GC_DISTDIR}; \ |
|
fi ; \ |
|
touch ${top_srcdir}/.gc_fetch_done ; \ |
|
fi |
|
-if [ ! -f ${top_srcdir}/.gc_risa_done ]; then \ |
|
(cd ${top_srcdir}; tar xzvf ${GC_DISTDIR}/${GC_TAR_GZ}) ; \ |
|
(cd ${top_srcdir}/${GC}; patch -p1 < ../gc6.5-risa.diff) ; \ |
|
touch ${top_srcdir}/.gc_risa_done ; \ |
|
fi |
-if [ "${USE_GC_ZEROPAGE}" = yes \ |
-if [ "${USE_GC_ZEROPAGE}" = yes \ |
-a ! -f ${top_srcdir}/gc/.patch_gc_zeropage_done ]; then \ |
-a ! -f ${top_srcdir}/${GC}/.patch_gc_zeropage_done ]; then \ |
(cd ${top_srcdir}/gc; patch < ../gc_zeropage.diff) ; \ |
(cd ${top_srcdir}/${GC}; patch < ../gc_zeropage.diff) ; \ |
touch ${top_srcdir}/gc/.patch_gc_zeropage_done ; \ |
touch ${top_srcdir}/${GC}/.patch_gc_zeropage_done ; \ |
fi |
fi |
-if [ ! -f ${top_srcdir}/gc/.configure_done ]; then \ |
-if [ "${USE_GC_INTERIX}" = yes \ |
|
-a ! -f ${top_srcdir}/${GC}/.patch_gc_interix_done ]; then \ |
|
(cd ${top_srcdir}/${GC}; patch -p0 < ../gc_interix.diff) ; \ |
|
touch ${top_srcdir}/${GC}/.patch_gc_interix_done ; \ |
|
fi |
|
-if [ "${USE_GC_SPARC64}" = yes \ |
|
-a ! -f ${top_srcdir}/${GC}/.patch_gc_sparc64_done ]; then \ |
|
(cd ${top_srcdir}/${GC}; patch -p0 < ../gc_sparc64.diff) ; \ |
|
touch ${top_srcdir}/${GC}/.patch_gc_sparc64_done ; \ |
|
fi |
|
-if [ ! -f ${top_srcdir}/${GC}/.configure_done ]; then \ |
if [ -n "${host_alias}" ]; then \ |
if [ -n "${host_alias}" ]; then \ |
(cd ${top_srcdir}/gc; ./configure --host=${host_alias} --disable-threads) ; \ |
(cd ${top_srcdir}/${GC}; ./configure --host=${host_alias} --disable-threads) ; \ |
else \ |
else \ |
(cd ${top_srcdir}/gc; ./configure --disable-threads) ; \ |
(cd ${top_srcdir}/${GC}; ./configure --disable-threads) ; \ |
fi ; \ |
fi ; \ |
touch ${top_srcdir}/gc/.configure_done ; \ |
touch ${top_srcdir}/${GC}/.configure_done ; \ |
fi |
fi |
(cd ${top_srcdir}/gc; ${MAKE}) |
(cd ${top_srcdir}/${GC}; ${MAKE}) |
cp ${top_srcdir}/gc/.libs/libgc.a ${GLIB} |
cp ${top_srcdir}/${GC}/.libs/libgc.a ${GLIB} |
(cd ${top_srcdir}/parse; ${MAKE} gc_risa.o) |
(cd ${top_srcdir}/parse; ${MAKE} gc_risa.o) |
${AR} q ${GLIB} ${top_srcdir}/parse/gc_risa.o |
${AR} q ${GLIB} ${top_srcdir}/parse/gc_risa.o |
${RANLIB} ${GLIB} |
${RANLIB} ${GLIB} |
Line 518 libasir.a: ${ASIRLIB} |
|
Line 546 libasir.a: ${ASIRLIB} |
|
# -rm $@ |
# -rm $@ |
# ld -r $@ umain.o ${ASIRLIB} ${GLIB} ${LIBS} ${EXTRALIBS} |
# ld -r $@ umain.o ${ASIRLIB} ${GLIB} ${LIBS} ${EXTRALIBS} |
|
|
install-exec-hook: |
|
-mkdir -p ${DESTDIR}${prefix}/lib/asir |
|
-if [ -x ${DESTDIR}${prefix}/bin/asir ]; then \ |
|
mv ${DESTDIR}${prefix}/bin/asir${EXEEXT} ${DESTDIR}${prefix}/lib/asir/ ; \ |
|
fi |
|
|
|
install-libasir: libasir.a |
install-libasir: libasir.a |
mkdir -p ${DESTDIR}${prefix}/lib |
mkdir -p ${DESTDIR}${libdir} |
${INSTALL_DATA} libasir.a ${DESTDIR}${prefix}/lib/libasir${libasir_postfix}.a |
${INSTALL_DATA} libasir.a ${DESTDIR}${libdir}/libasir${libasir_postfix}.a |
|
|
install-openxm: asir${EXEEXT} libasir.a libasir-gc.a |
install-libasir-gc: libasir-gc.a |
-mkdir -p ${DESTDIR}${prefix}/bin |
mkdir -p ${DESTDIR}${libdir} |
${INSTALL_PROGRAM} asir ${DESTDIR}${prefix}/bin/ |
${INSTALL_DATA} libasir-gc.a ${DESTDIR}${libdir}/libasir-gc.a |
-mkdir -p ${DESTDIR}${prefix}/lib/asir |
|
|
install-openxm: asir${EXEEXT} install-libasir install-libasir-gc |
|
-mkdir -p ${DESTDIR}${bindir} |
|
${INSTALL_PROGRAM} asir ${DESTDIR}${bindir} |
|
-mkdir -p ${DESTDIR}${asirdir} |
(cd ${top_srcdir}/lib; ${MAKE} install-doc install-lib) |
(cd ${top_srcdir}/lib; ${MAKE} install-doc install-lib) |
${INSTALL_DATA} libasir.a ${DESTDIR}${prefix}/lib/libasir${libasir_postfix}.a |
-rm -f ${DESTDIR}${bindir}/ox_asir${EXEEXT} |
${INSTALL_DATA} libasir-gc.a ${DESTDIR}${prefix}/lib/libasir-gc.a |
(cd ${DESTDIR}${bindir} ; ${LN_S} asir${EXEEXT} ox_asir${EXEEXT}) |
-rm -f ${DESTDIR}${prefix}/bin/ox_asir${EXEEXT} |
-(cd ${DESTDIR}${asirdir}; \ |
(cd ${DESTDIR}${prefix}/bin ; ${LN_S} asir${EXEEXT} ox_asir${EXEEXT}) |
|
-(cd ${DESTDIR}${prefix}/lib/asir; \ |
|
rm -f asir${EXEEXT} ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT}) |
rm -f asir${EXEEXT} ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT}) |
(cd ${DESTDIR}${prefix}/lib/asir ; \ |
(cd ${DESTDIR}${asirdir} ; \ |
${LN_S} ../../bin/asir${EXEEXT} asir${EXEEXT} ; \ |
${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} ; \ |
Line 549 install-openxm: asir${EXEEXT} libasir.a libasir-gc.a |
|
Line 573 install-openxm: asir${EXEEXT} libasir.a libasir-gc.a |
|
|
|
install-lib: |
install-lib: |
(cd ${top_srcdir}/lib; ${MAKE} install-lib) |
(cd ${top_srcdir}/lib; ${MAKE} install-lib) |
-(cd ${DESTDIR}${prefix}/lib/asir; \ |
-(cd ${DESTDIR}${asirdir}; \ |
rm -f ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT}) |
rm -f ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT}) |
(cd ${DESTDIR}${prefix}/lib/asir ; \ |
(cd ${DESTDIR}${asirdir} ; \ |
${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}) |
-mkdir -p ${DESTDIR}${prefix}/bin |
-mkdir -p ${DESTDIR}${bindir} |
-rm -f ${DESTDIR}${prefix}/bin/asir${EXEEXT} |
-rm -f ${DESTDIR}${bindir}/asir${EXEEXT} |
(cd ${DESTDIR}${prefix}/bin ; ${LN_S} ../lib/asir/asir${EXEEXT} asir${EXEEXT}) |
(cd ${DESTDIR}${bindir} ; ${LN_S} ../lib/asir/asir${EXEEXT} asir${EXEEXT}) |
|
|
install-doc: |
install-doc: |
(cd ${top_srcdir}/lib; ${MAKE} install-doc) |
(cd ${top_srcdir}/lib; ${MAKE} install-doc) |