=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/Makefile.am,v retrieving revision 1.8 retrieving revision 1.12 diff -u -p -r1.8 -r1.12 --- OpenXM_contrib2/asir2000/Makefile.am 2003/03/08 10:55:06 1.8 +++ OpenXM_contrib2/asir2000/Makefile.am 2003/03/19 07:12:02 1.12 @@ -1,10 +1,10 @@ -# $OpenXM: OpenXM_contrib2/asir2000/Makefile.am,v 1.7 2003/03/08 10:41:18 ohara Exp $ +## $OpenXM: OpenXM_contrib2/asir2000/Makefile.am,v 1.11 2003/03/19 00:52:26 ohara Exp $ AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 if USE_PLOT PLOTDIR = plot PLLIB = plot/libplot.a - X11LIB = @X_LIBS@ -lXaw -lXmu -lXt @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ + X11LIB = @X_LIBS@ -lXaw -lXmu -lXt @X_PRE_LIBS@ @XPMLIB@ -lXext -lX11 @X_EXTRA_LIBS@ endif SUBDIRS = asm builtin engine fft include io lib parse ${PLOTDIR} @@ -39,8 +39,17 @@ umain.o: parse/main.c ${COMPILE} -DUINIT main.c -o umain.o libasir-gc.a: parse/gc_risa.o + -if [ "${USE_GC_ZEROPAGE}" = yes \ + -a ! -f ${top_srcdir}/gc/.patch_gc_zeropage_done ]; then \ + (cd ${top_srcdir}/gc; patch < ../gc_zeropage.diff) ; \ + touch ${top_srcdir}/gc/.patch_gc_zeropage_done ; \ + fi -if [ ! -f ${top_srcdir}/gc/.configure_done ]; then \ - (cd ${top_srcdir}/gc; ./configure --disable-threads) ; \ + if [ -n "${host_alias}" ]; then \ + (cd ${top_srcdir}/gc; ./configure --host=${host_alias} --disable-threads) ; \ + else \ + (cd ${top_srcdir}/gc; ./configure --disable-threads) ; \ + fi ; \ touch ${top_srcdir}/gc/.configure_done ; \ fi (cd ${top_srcdir}/gc; ${MAKE})