Annotation of OpenXM_contrib2/asir2000/Makefile.in, Revision 1.30
1.30 ! ohara 1: # Makefile.in generated by automake 1.10 from Makefile.am.
! 2: # @configure_input@
1.1 ohara 3:
1.30 ! ohara 4: # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
! 5: # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1.1 ohara 6: # This Makefile.in is free software; the Free Software Foundation
7: # gives unlimited permission to copy and/or distribute it,
8: # with or without modifications, as long as this notice is preserved.
9:
10: # This program is distributed in the hope that it will be useful,
11: # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12: # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13: # PARTICULAR PURPOSE.
14:
15: @SET_MAKE@
1.25 ohara 16:
1.1 ohara 17: VPATH = @srcdir@
18: pkgdatadir = $(datadir)/@PACKAGE@
19: pkglibdir = $(libdir)/@PACKAGE@
20: pkgincludedir = $(includedir)/@PACKAGE@
1.30 ! ohara 21: am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
! 22: install_sh_DATA = $(install_sh) -c -m 644
! 23: install_sh_PROGRAM = $(install_sh) -c
! 24: install_sh_SCRIPT = $(install_sh) -c
1.1 ohara 25: INSTALL_HEADER = $(INSTALL_DATA)
1.30 ! ohara 26: transform = $(program_transform_name)
1.1 ohara 27: NORMAL_INSTALL = :
28: PRE_INSTALL = :
29: POST_INSTALL = :
30: NORMAL_UNINSTALL = :
31: PRE_UNINSTALL = :
32: POST_UNINSTALL = :
33: build_triplet = @build@
34: host_triplet = @host@
35: target_triplet = @target@
1.30 ! ohara 36: asir_PROGRAMS = asir$(EXEEXT)
! 37: subdir = .
! 38: DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
! 39: $(srcdir)/Makefile.in $(top_srcdir)/configure INSTALL \
! 40: config.guess config.sub depcomp install-sh missing \
! 41: mkinstalldirs
! 42: ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
! 43: am__aclocal_m4_deps = $(top_srcdir)/configure.in
! 44: am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
! 45: $(ACLOCAL_M4)
! 46: am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
! 47: configure.lineno config.status.lineno
! 48: mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
! 49: CONFIG_CLEAN_FILES =
! 50: am__installdirs = "$(DESTDIR)$(asirdir)"
! 51: asirPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
! 52: PROGRAMS = $(asir_PROGRAMS)
! 53: am_asir_OBJECTS = main.$(OBJEXT)
! 54: asir_OBJECTS = $(am_asir_OBJECTS)
! 55: asir_DEPENDENCIES = libasir.a libasir-gc.a
! 56: DEFAULT_INCLUDES = -I.@am__isrc@
! 57: depcomp =
! 58: am__depfiles_maybe =
! 59: COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
! 60: $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
! 61: CCLD = $(CC)
! 62: LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
! 63: SOURCES = $(asir_SOURCES)
! 64: DIST_SOURCES = $(asir_SOURCES)
! 65: RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
! 66: html-recursive info-recursive install-data-recursive \
! 67: install-dvi-recursive install-exec-recursive \
! 68: install-html-recursive install-info-recursive \
! 69: install-pdf-recursive install-ps-recursive install-recursive \
! 70: installcheck-recursive installdirs-recursive pdf-recursive \
! 71: ps-recursive uninstall-recursive
! 72: RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
! 73: distclean-recursive maintainer-clean-recursive
! 74: ETAGS = etags
! 75: CTAGS = ctags
! 76: DIST_SUBDIRS = asm builtin engine fft include io lib parse plot
! 77: DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
! 78: distdir = $(PACKAGE)-$(VERSION)
! 79: top_distdir = $(distdir)
! 80: am__remove_distdir = \
! 81: { test ! -d $(distdir) \
! 82: || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
! 83: && rm -fr $(distdir); }; }
! 84: DIST_ARCHIVES = $(distdir).tar.gz
! 85: GZIP_ENV = --best
! 86: distuninstallcheck_listfiles = find . -type f -print
! 87: distcleancheck_listfiles = find . -type f -print
! 88: ACLOCAL = @ACLOCAL@
1.1 ohara 89: AMTAR = @AMTAR@
1.30 ! ohara 90: AUTOCONF = @AUTOCONF@
! 91: AUTOHEADER = @AUTOHEADER@
! 92: AUTOMAKE = @AUTOMAKE@
1.1 ohara 93: AWK = @AWK@
94: CC = @CC@
1.30 ! ohara 95: CCDEPMODE = @CCDEPMODE@
! 96: CFLAGS = @CFLAGS@
! 97: CPP = @CPP@
! 98: CPPFLAGS = @CPPFLAGS@
! 99: CYGPATH_W = @CYGPATH_W@
! 100: DEFS = @DEFS@ -DASIR_LIBDIR=\"${asirdir}\"
1.1 ohara 101: DEPDIR = @DEPDIR@
1.30 ! ohara 102: ECHO_C = @ECHO_C@
! 103: ECHO_N = @ECHO_N@
! 104: ECHO_T = @ECHO_T@
! 105: EGREP = @EGREP@
1.25 ohara 106: EXEEXT = @EXEEXT@
1.1 ohara 107: FEPLIB = @FEPLIB@
1.30 ! ohara 108: GC = @GC@
! 109: GC_CONFIGURE_ARGS = @GC_CONFIGURE_ARGS@
! 110: GC_DISTDIR = @GC_DISTDIR@
! 111: GREP = @GREP@
! 112: INSTALL = @INSTALL@
! 113: INSTALL_DATA = @INSTALL_DATA@
! 114: INSTALL_PROGRAM = @INSTALL_PROGRAM@
! 115: INSTALL_SCRIPT = @INSTALL_SCRIPT@
1.1 ohara 116: INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
117: LAPACKLIB = @LAPACKLIB@
1.30 ! ohara 118: LDFLAGS = @LDFLAGS@
! 119: LIBOBJS = @LIBOBJS@
! 120: LIBS = @LIBS@ @PARILIB@ @MPILIB@ @LAPACKLIB@ ${X11LIB} ${FEPLIB} -lm ${EXTRALIBS}
1.1 ohara 121: LN_S = @LN_S@
1.30 ! ohara 122: LTLIBOBJS = @LTLIBOBJS@
1.12 ohara 123: MAINT = @MAINT@
1.30 ! ohara 124: MAKEINFO = @MAKEINFO@
! 125: MKDIR_P = @MKDIR_P@
1.1 ohara 126: MPIINC = @MPIINC@
127: MPILIB = @MPILIB@
1.25 ohara 128: OBJEXT = @OBJEXT@
1.1 ohara 129: PACKAGE = @PACKAGE@
1.30 ! ohara 130: PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
! 131: PACKAGE_NAME = @PACKAGE_NAME@
! 132: PACKAGE_STRING = @PACKAGE_STRING@
! 133: PACKAGE_TARNAME = @PACKAGE_TARNAME@
! 134: PACKAGE_VERSION = @PACKAGE_VERSION@
1.1 ohara 135: PARIINC = @PARIINC@
136: PARILIB = @PARILIB@
1.30 ! ohara 137: PATH_SEPARATOR = @PATH_SEPARATOR@
1.1 ohara 138: RANLIB = @RANLIB@
1.30 ! ohara 139: SET_MAKE = @SET_MAKE@
! 140: SHELL = @SHELL@
! 141: STRIP = @STRIP@
1.21 ohara 142: USE_GC_INTERIX = @USE_GC_INTERIX@
1.22 ohara 143: USE_GC_SPARC64 = @USE_GC_SPARC64@
1.13 ohara 144: USE_GC_ZEROPAGE = @USE_GC_ZEROPAGE@
1.1 ohara 145: VERSION = @VERSION@
1.30 ! ohara 146: XMKMF = @XMKMF@
1.11 ohara 147: XPMLIB = @XPMLIB@
1.1 ohara 148: X_CFLAGS = @X_CFLAGS@
149: X_EXTRA_LIBS = @X_EXTRA_LIBS@
150: X_LIBS = @X_LIBS@
151: X_PRE_LIBS = @X_PRE_LIBS@
152: YACC = @YACC@
1.30 ! ohara 153: YFLAGS = @YFLAGS@
! 154: abs_builddir = @abs_builddir@
! 155: abs_srcdir = @abs_srcdir@
! 156: abs_top_builddir = @abs_top_builddir@
! 157: abs_top_srcdir = @abs_top_srcdir@
! 158: ac_ct_CC = @ac_ct_CC@
1.1 ohara 159: am__include = @am__include@
1.30 ! ohara 160: am__leading_dot = @am__leading_dot@
1.1 ohara 161: am__quote = @am__quote@
1.30 ! ohara 162: am__tar = @am__tar@
! 163: am__untar = @am__untar@
1.1 ohara 164: asm_obj = @asm_obj@
1.30 ! ohara 165: bindir = @bindir@
! 166: build = @build@
! 167: build_alias = @build_alias@
! 168: build_cpu = @build_cpu@
! 169: build_os = @build_os@
! 170: build_vendor = @build_vendor@
! 171: builddir = @builddir@
! 172: datadir = @datadir@
! 173: datarootdir = @datarootdir@
! 174: docdir = @docdir@
! 175: dvidir = @dvidir@
! 176: exec_prefix = @exec_prefix@
! 177: host = @host@
! 178: host_alias = @host_alias@
! 179: host_cpu = @host_cpu@
! 180: host_os = @host_os@
! 181: host_vendor = @host_vendor@
! 182: htmldir = @htmldir@
! 183: includedir = @includedir@
! 184: infodir = @infodir@
1.1 ohara 185: install_sh = @install_sh@
186: libasir_postfix = @libasir_postfix@
1.30 ! ohara 187: libdir = @libdir@
! 188: libexecdir = @libexecdir@
! 189: localedir = @localedir@
! 190: localstatedir = @localstatedir@
! 191: mandir = @mandir@
! 192: mkdir_p = @mkdir_p@
! 193: oldincludedir = @oldincludedir@
! 194: pdfdir = @pdfdir@
! 195: prefix = @prefix@
! 196: program_transform_name = @program_transform_name@
! 197: psdir = @psdir@
! 198: sbindir = @sbindir@
! 199: sharedstatedir = @sharedstatedir@
! 200: srcdir = @srcdir@
! 201: sysconfdir = @sysconfdir@
! 202: target = @target@
! 203: target_alias = @target_alias@
! 204: target_cpu = @target_cpu@
! 205: target_os = @target_os@
! 206: target_vendor = @target_vendor@
! 207: top_builddir = @top_builddir@
! 208: top_srcdir = @top_srcdir@
1.1 ohara 209: AUTOMAKE_OPTIONS = foreign no-dependencies 1.5
210: @USE_PLOT_TRUE@PLOTDIR = plot
211: @USE_PLOT_TRUE@PLLIB = plot/libplot.a
1.11 ohara 212: @USE_PLOT_TRUE@X11LIB = @X_LIBS@ -lXaw -lXmu -lXt @X_PRE_LIBS@ @XPMLIB@ -lXext -lX11 @X_EXTRA_LIBS@
1.1 ohara 213: SUBDIRS = asm builtin engine fft include io lib parse ${PLOTDIR}
1.19 ohara 214: asirdir = ${libdir}/asir
215: asir_SOURCES = parse/main.c
216: asir_LDADD = libasir.a libasir-gc.a
217: CLEANFILES = ${asir_LDADD} asir-openxm-${VERSION}.tgz
1.26 ohara 218: GC_TAR_GZ = ${GC}.tar.gz
1.29 saito 219: GC_PATCH = gc6.5-risa.diff
1.26 ohara 220: GC_MASTER_SITE = ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/
221: OX_FETCH = ${bindir}/oxfetch.sh
1.1 ohara 222: INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/parse -I${top_srcdir}/io \
1.26 ohara 223: -I${top_srcdir}/${GC}/include \
1.1 ohara 224: @PARIINC@ @MPIINC@ @X_CFLAGS@
225:
226: GLIB = libasir-gc.a
227: ALIB = asm/libasm.a
228: BLIB = builtin/libfunc.a
229: ELIB = engine/libca.a
230: FLIB = fft/libdft.a
231: IOLIB = io/libio.a
232: PLIB = parse/libparse.a
233: ASIRLIB = ${BLIB} ${PLIB} ${IOLIB} ${PLLIB} ${ELIB} ${FLIB} ${ALIB}
234: all: all-recursive
235:
236: .SUFFIXES:
237: .SUFFIXES: .c .o .obj
1.30 ! ohara 238: am--refresh:
! 239: @:
! 240: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
! 241: @for dep in $?; do \
! 242: case '$(am__configure_deps)' in \
! 243: *$$dep*) \
! 244: echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
! 245: cd $(srcdir) && $(AUTOMAKE) --foreign \
! 246: && exit 0; \
! 247: exit 1;; \
! 248: esac; \
! 249: done; \
! 250: echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
1.1 ohara 251: cd $(top_srcdir) && \
252: $(AUTOMAKE) --foreign Makefile
1.30 ! ohara 253: .PRECIOUS: Makefile
! 254: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
! 255: @case '$?' in \
! 256: *config.status*) \
! 257: echo ' $(SHELL) ./config.status'; \
! 258: $(SHELL) ./config.status;; \
! 259: *) \
! 260: echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
! 261: cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
! 262: esac;
1.1 ohara 263:
1.30 ! ohara 264: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1.1 ohara 265: $(SHELL) ./config.status --recheck
1.30 ! ohara 266:
! 267: $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
1.1 ohara 268: cd $(srcdir) && $(AUTOCONF)
1.30 ! ohara 269: $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1.1 ohara 270: cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
1.19 ohara 271: install-asirPROGRAMS: $(asir_PROGRAMS)
1.1 ohara 272: @$(NORMAL_INSTALL)
1.30 ! ohara 273: test -z "$(asirdir)" || $(MKDIR_P) "$(DESTDIR)$(asirdir)"
1.19 ohara 274: @list='$(asir_PROGRAMS)'; for p in $$list; do \
1.1 ohara 275: p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
276: if test -f $$p \
277: ; then \
1.30 ! ohara 278: f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
! 279: echo " $(INSTALL_PROGRAM_ENV) $(asirPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(asirdir)/$$f'"; \
! 280: $(INSTALL_PROGRAM_ENV) $(asirPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(asirdir)/$$f" || exit 1; \
1.1 ohara 281: else :; fi; \
282: done
283:
1.19 ohara 284: uninstall-asirPROGRAMS:
1.1 ohara 285: @$(NORMAL_UNINSTALL)
1.19 ohara 286: @list='$(asir_PROGRAMS)'; for p in $$list; do \
1.30 ! ohara 287: f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
! 288: echo " rm -f '$(DESTDIR)$(asirdir)/$$f'"; \
! 289: rm -f "$(DESTDIR)$(asirdir)/$$f"; \
1.1 ohara 290: done
291:
1.19 ohara 292: clean-asirPROGRAMS:
293: -test -z "$(asir_PROGRAMS)" || rm -f $(asir_PROGRAMS)
1.1 ohara 294: asir$(EXEEXT): $(asir_OBJECTS) $(asir_DEPENDENCIES)
295: @rm -f asir$(EXEEXT)
1.30 ! ohara 296: $(LINK) $(asir_OBJECTS) $(asir_LDADD) $(LIBS)
1.1 ohara 297:
298: mostlyclean-compile:
1.30 ! ohara 299: -rm -f *.$(OBJEXT)
1.1 ohara 300:
301: distclean-compile:
302: -rm -f *.tab.c
303:
304: .c.o:
1.30 ! ohara 305: $(COMPILE) -c $<
1.1 ohara 306:
307: .c.obj:
1.30 ! ohara 308: $(COMPILE) -c `$(CYGPATH_W) '$<'`
1.1 ohara 309:
310: main.o: parse/main.c
1.30 ! ohara 311: $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o main.o `test -f 'parse/main.c' || echo '$(srcdir)/'`parse/main.c
1.1 ohara 312:
313: main.obj: parse/main.c
1.30 ! ohara 314: $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o main.obj `if test -f 'parse/main.c'; then $(CYGPATH_W) 'parse/main.c'; else $(CYGPATH_W) '$(srcdir)/parse/main.c'; fi`
1.1 ohara 315:
316: # This directory's subdirectories are mostly independent; you can cd
317: # into them and run `make' without going through this Makefile.
318: # To change the values of `make' variables: instead of editing Makefiles,
319: # (1) if the variable is set in `config.status', edit `config.status'
320: # (which will cause the Makefiles to be regenerated when you run `make');
321: # (2) otherwise, pass the desired values on the `make' command line.
322: $(RECURSIVE_TARGETS):
1.30 ! ohara 323: @failcom='exit 1'; \
! 324: for f in x $$MAKEFLAGS; do \
! 325: case $$f in \
! 326: *=* | --[!k]*);; \
! 327: *k*) failcom='fail=yes';; \
! 328: esac; \
! 329: done; \
1.1 ohara 330: dot_seen=no; \
331: target=`echo $@ | sed s/-recursive//`; \
332: list='$(SUBDIRS)'; for subdir in $$list; do \
333: echo "Making $$target in $$subdir"; \
334: if test "$$subdir" = "."; then \
335: dot_seen=yes; \
336: local_target="$$target-am"; \
337: else \
338: local_target="$$target"; \
339: fi; \
340: (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1.30 ! ohara 341: || eval $$failcom; \
1.1 ohara 342: done; \
343: if test "$$dot_seen" = "no"; then \
344: $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
345: fi; test -z "$$fail"
346:
1.30 ! ohara 347: $(RECURSIVE_CLEAN_TARGETS):
! 348: @failcom='exit 1'; \
! 349: for f in x $$MAKEFLAGS; do \
! 350: case $$f in \
! 351: *=* | --[!k]*);; \
! 352: *k*) failcom='fail=yes';; \
! 353: esac; \
! 354: done; \
1.1 ohara 355: dot_seen=no; \
356: case "$@" in \
357: distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
358: *) list='$(SUBDIRS)' ;; \
359: esac; \
360: rev=''; for subdir in $$list; do \
361: if test "$$subdir" = "."; then :; else \
362: rev="$$subdir $$rev"; \
363: fi; \
364: done; \
365: rev="$$rev ."; \
366: target=`echo $@ | sed s/-recursive//`; \
367: for subdir in $$rev; do \
368: echo "Making $$target in $$subdir"; \
369: if test "$$subdir" = "."; then \
370: local_target="$$target-am"; \
371: else \
372: local_target="$$target"; \
373: fi; \
374: (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1.30 ! ohara 375: || eval $$failcom; \
1.1 ohara 376: done && test -z "$$fail"
377: tags-recursive:
378: list='$(SUBDIRS)'; for subdir in $$list; do \
379: test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
380: done
1.30 ! ohara 381: ctags-recursive:
! 382: list='$(SUBDIRS)'; for subdir in $$list; do \
! 383: test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
! 384: done
1.1 ohara 385:
386: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1.30 ! ohara 387: list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1.1 ohara 388: unique=`for i in $$list; do \
389: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
390: done | \
391: $(AWK) ' { files[$$0] = 1; } \
392: END { for (i in files) print i; }'`; \
1.30 ! ohara 393: mkid -fID $$unique
! 394: tags: TAGS
1.1 ohara 395:
396: TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
397: $(TAGS_FILES) $(LISP)
398: tags=; \
399: here=`pwd`; \
1.30 ! ohara 400: if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
! 401: include_option=--etags-include; \
! 402: empty_fix=.; \
! 403: else \
! 404: include_option=--include; \
! 405: empty_fix=; \
! 406: fi; \
1.1 ohara 407: list='$(SUBDIRS)'; for subdir in $$list; do \
408: if test "$$subdir" = .; then :; else \
1.30 ! ohara 409: test ! -f $$subdir/TAGS || \
! 410: tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
1.1 ohara 411: fi; \
412: done; \
1.30 ! ohara 413: list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1.1 ohara 414: unique=`for i in $$list; do \
415: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
416: done | \
417: $(AWK) ' { files[$$0] = 1; } \
418: END { for (i in files) print i; }'`; \
1.30 ! ohara 419: if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
! 420: test -n "$$unique" || unique=$$empty_fix; \
! 421: $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
! 422: $$tags $$unique; \
! 423: fi
! 424: ctags: CTAGS
! 425: CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
! 426: $(TAGS_FILES) $(LISP)
! 427: tags=; \
! 428: here=`pwd`; \
! 429: list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
! 430: unique=`for i in $$list; do \
! 431: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
! 432: done | \
! 433: $(AWK) ' { files[$$0] = 1; } \
! 434: END { for (i in files) print i; }'`; \
! 435: test -z "$(CTAGS_ARGS)$$tags$$unique" \
! 436: || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
! 437: $$tags $$unique
1.1 ohara 438:
439: GTAGS:
1.30 ! ohara 440: here=`$(am__cd) $(top_builddir) && pwd` \
1.1 ohara 441: && cd $(top_srcdir) \
442: && gtags -i $(GTAGS_ARGS) $$here
443:
444: distclean-tags:
1.30 ! ohara 445: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1.1 ohara 446:
447: distdir: $(DISTFILES)
1.30 ! ohara 448: $(am__remove_distdir)
! 449: test -d $(distdir) || mkdir $(distdir)
! 450: @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
! 451: topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
! 452: list='$(DISTFILES)'; \
! 453: dist_files=`for file in $$list; do echo $$file; done | \
! 454: sed -e "s|^$$srcdirstrip/||;t" \
! 455: -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
! 456: case $$dist_files in \
! 457: */*) $(MKDIR_P) `echo "$$dist_files" | \
! 458: sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
! 459: sort -u` ;; \
! 460: esac; \
! 461: for file in $$dist_files; do \
! 462: if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1.1 ohara 463: if test -d $$d/$$file; then \
1.30 ! ohara 464: dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
! 465: if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
! 466: cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
! 467: fi; \
! 468: cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
1.1 ohara 469: else \
470: test -f $(distdir)/$$file \
471: || cp -p $$d/$$file $(distdir)/$$file \
472: || exit 1; \
473: fi; \
474: done
1.30 ! ohara 475: list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1.1 ohara 476: if test "$$subdir" = .; then :; else \
1.30 ! ohara 477: test -d "$(distdir)/$$subdir" \
! 478: || $(MKDIR_P) "$(distdir)/$$subdir" \
1.1 ohara 479: || exit 1; \
1.30 ! ohara 480: distdir=`$(am__cd) $(distdir) && pwd`; \
! 481: top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
1.1 ohara 482: (cd $$subdir && \
483: $(MAKE) $(AM_MAKEFLAGS) \
1.30 ! ohara 484: top_distdir="$$top_distdir" \
! 485: distdir="$$distdir/$$subdir" \
! 486: am__remove_distdir=: \
! 487: am__skip_length_check=: \
1.1 ohara 488: distdir) \
489: || exit 1; \
490: fi; \
491: done
492: -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
493: ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
494: ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1.30 ! ohara 495: ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1.1 ohara 496: || chmod -R a+r $(distdir)
1.30 ! ohara 497: dist-gzip: distdir
! 498: tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
! 499: $(am__remove_distdir)
! 500:
! 501: dist-bzip2: distdir
! 502: tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
! 503: $(am__remove_distdir)
! 504:
! 505: dist-tarZ: distdir
! 506: tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
! 507: $(am__remove_distdir)
! 508:
! 509: dist-shar: distdir
! 510: shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
! 511: $(am__remove_distdir)
! 512:
! 513: dist-zip: distdir
! 514: -rm -f $(distdir).zip
! 515: zip -rq $(distdir).zip $(distdir)
! 516: $(am__remove_distdir)
! 517:
! 518: dist dist-all: distdir
! 519: tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
! 520: $(am__remove_distdir)
1.1 ohara 521:
522: # This target untars the dist file and tries a VPATH configuration. Then
523: # it guarantees that the distribution is self-contained by making another
524: # tarfile.
525: distcheck: dist
1.30 ! ohara 526: case '$(DIST_ARCHIVES)' in \
! 527: *.tar.gz*) \
! 528: GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
! 529: *.tar.bz2*) \
! 530: bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
! 531: *.tar.Z*) \
! 532: uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
! 533: *.shar.gz*) \
! 534: GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
! 535: *.zip*) \
! 536: unzip $(distdir).zip ;;\
! 537: esac
1.1 ohara 538: chmod -R a-w $(distdir); chmod a+w $(distdir)
1.30 ! ohara 539: mkdir $(distdir)/_build
! 540: mkdir $(distdir)/_inst
1.1 ohara 541: chmod a-w $(distdir)
1.30 ! ohara 542: dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
! 543: && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
! 544: && cd $(distdir)/_build \
! 545: && ../configure --srcdir=.. --prefix="$$dc_install_base" \
! 546: $(DISTCHECK_CONFIGURE_FLAGS) \
1.1 ohara 547: && $(MAKE) $(AM_MAKEFLAGS) \
548: && $(MAKE) $(AM_MAKEFLAGS) dvi \
549: && $(MAKE) $(AM_MAKEFLAGS) check \
550: && $(MAKE) $(AM_MAKEFLAGS) install \
551: && $(MAKE) $(AM_MAKEFLAGS) installcheck \
552: && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1.30 ! ohara 553: && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
! 554: distuninstallcheck \
! 555: && chmod -R a-w "$$dc_install_base" \
! 556: && ({ \
! 557: (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
! 558: && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
! 559: && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
! 560: && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
! 561: distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
! 562: } || { rm -rf "$$dc_destdir"; exit 1; }) \
! 563: && rm -rf "$$dc_destdir" \
1.25 ohara 564: && $(MAKE) $(AM_MAKEFLAGS) dist \
1.30 ! ohara 565: && rm -rf $(DIST_ARCHIVES) \
! 566: && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
! 567: $(am__remove_distdir)
! 568: @(echo "$(distdir) archives ready for distribution: "; \
! 569: list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
! 570: sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
! 571: distuninstallcheck:
! 572: @cd $(distuninstallcheck_dir) \
! 573: && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
! 574: || { echo "ERROR: files left after uninstall:" ; \
! 575: if test -n "$(DESTDIR)"; then \
! 576: echo " (check DESTDIR support)"; \
! 577: fi ; \
! 578: $(distuninstallcheck_listfiles) ; \
! 579: exit 1; } >&2
! 580: distcleancheck: distclean
! 581: @if test '$(srcdir)' = . ; then \
! 582: echo "ERROR: distcleancheck can only run from a VPATH build" ; \
! 583: exit 1 ; \
! 584: fi
! 585: @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
! 586: || { echo "ERROR: files left in build directory after distclean:" ; \
! 587: $(distcleancheck_listfiles) ; \
! 588: exit 1; } >&2
1.1 ohara 589: check-am: all-am
590: check: check-recursive
1.16 ohara 591: all-am: Makefile $(PROGRAMS)
1.1 ohara 592: installdirs: installdirs-recursive
593: installdirs-am:
1.30 ! ohara 594: for dir in "$(DESTDIR)$(asirdir)"; do \
! 595: test -z "$$dir" || $(MKDIR_P) "$$dir"; \
! 596: done
1.1 ohara 597: install: install-recursive
598: install-exec: install-exec-recursive
599: install-data: install-data-recursive
600: uninstall: uninstall-recursive
601:
602: install-am: all-am
603: @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
604:
605: installcheck: installcheck-recursive
606: install-strip:
607: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1.30 ! ohara 608: install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1.1 ohara 609: `test -z '$(STRIP)' || \
610: echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
611: mostlyclean-generic:
612:
613: clean-generic:
614: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
615:
616: distclean-generic:
1.30 ! ohara 617: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1.1 ohara 618:
619: maintainer-clean-generic:
620: @echo "This command is intended for maintainers to use"
621: @echo "it deletes files that may require special tools to rebuild."
622: clean: clean-recursive
623:
1.19 ohara 624: clean-am: clean-asirPROGRAMS clean-generic mostlyclean-am
1.1 ohara 625:
626: distclean: distclean-recursive
1.30 ! ohara 627: -rm -f $(am__CONFIG_DISTCLEAN_FILES)
! 628: -rm -f Makefile
1.1 ohara 629: distclean-am: clean-am distclean-compile distclean-generic \
630: distclean-tags
631:
632: dvi: dvi-recursive
633:
634: dvi-am:
635:
1.30 ! ohara 636: html: html-recursive
! 637:
1.1 ohara 638: info: info-recursive
639:
640: info-am:
641:
1.19 ohara 642: install-data-am: install-asirPROGRAMS
1.1 ohara 643:
1.30 ! ohara 644: install-dvi: install-dvi-recursive
! 645:
1.19 ohara 646: install-exec-am:
1.1 ohara 647:
1.30 ! ohara 648: install-html: install-html-recursive
! 649:
1.1 ohara 650: install-info: install-info-recursive
651:
652: install-man:
653:
1.30 ! ohara 654: install-pdf: install-pdf-recursive
! 655:
! 656: install-ps: install-ps-recursive
! 657:
1.1 ohara 658: installcheck-am:
659:
660: maintainer-clean: maintainer-clean-recursive
1.30 ! ohara 661: -rm -f $(am__CONFIG_DISTCLEAN_FILES)
! 662: -rm -rf $(top_srcdir)/autom4te.cache
! 663: -rm -f Makefile
1.1 ohara 664: maintainer-clean-am: distclean-am maintainer-clean-generic
665:
666: mostlyclean: mostlyclean-recursive
667:
668: mostlyclean-am: mostlyclean-compile mostlyclean-generic
669:
1.30 ! ohara 670: pdf: pdf-recursive
! 671:
! 672: pdf-am:
! 673:
! 674: ps: ps-recursive
1.1 ohara 675:
1.30 ! ohara 676: ps-am:
1.1 ohara 677:
1.30 ! ohara 678: uninstall-am: uninstall-asirPROGRAMS
! 679:
! 680: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
! 681: install-strip
! 682:
! 683: .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
! 684: all all-am am--refresh check check-am clean clean-asirPROGRAMS \
! 685: clean-generic ctags ctags-recursive dist dist-all dist-bzip2 \
! 686: dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
! 687: distclean-compile distclean-generic distclean-tags \
! 688: distcleancheck distdir distuninstallcheck dvi dvi-am html \
! 689: html-am info info-am install install-am install-asirPROGRAMS \
! 690: install-data install-data-am install-dvi install-dvi-am \
! 691: install-exec install-exec-am install-html install-html-am \
! 692: install-info install-info-am install-man install-pdf \
! 693: install-pdf-am install-ps install-ps-am install-strip \
! 694: installcheck installcheck-am installdirs installdirs-am \
! 695: maintainer-clean maintainer-clean-generic mostlyclean \
! 696: mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
1.25 ohara 697: tags tags-recursive uninstall uninstall-am \
1.30 ! ohara 698: uninstall-asirPROGRAMS
1.1 ohara 699:
1.19 ohara 700: # EXTRALIBS = @EXTRALIBS@
1.1 ohara 701:
702: umain.o: parse/main.c
703: ${COMPILE} -DUINIT main.c -o umain.o
704:
1.29 saito 705: libasir-gc.a: ${GC_PATCH} parse/gc_risa.c
1.26 ohara 706: -if [ ! -f ${top_srcdir}/.gc_fetch_done ]; then \
707: if [ ! -f ${GC_DISTDIR}/${GC_TAR_GZ} ]; then \
708: ${OX_FETCH} ${GC_MASTER_SITE}${GC_TAR_GZ} ${GC_DISTDIR}; \
709: fi ; \
710: touch ${top_srcdir}/.gc_fetch_done ; \
711: fi
712: -if [ ! -f ${top_srcdir}/.gc_risa_done ]; then \
1.27 ohara 713: (cd ${top_srcdir}; tar xzvf ${GC_DISTDIR}/${GC_TAR_GZ}) ; \
1.29 saito 714: (cd ${top_srcdir}/${GC}; patch -p1 < ../${GC_PATCH}) ; \
1.26 ohara 715: touch ${top_srcdir}/.gc_risa_done ; \
1.23 noro 716: fi
1.13 ohara 717: -if [ "${USE_GC_ZEROPAGE}" = yes \
1.26 ohara 718: -a ! -f ${top_srcdir}/${GC}/.patch_gc_zeropage_done ]; then \
719: (cd ${top_srcdir}/${GC}; patch < ../gc_zeropage.diff) ; \
720: touch ${top_srcdir}/${GC}/.patch_gc_zeropage_done ; \
1.21 ohara 721: fi
722: -if [ "${USE_GC_INTERIX}" = yes \
1.26 ohara 723: -a ! -f ${top_srcdir}/${GC}/.patch_gc_interix_done ]; then \
724: (cd ${top_srcdir}/${GC}; patch -p0 < ../gc_interix.diff) ; \
725: touch ${top_srcdir}/${GC}/.patch_gc_interix_done ; \
1.22 ohara 726: fi
727: -if [ "${USE_GC_SPARC64}" = yes \
1.26 ohara 728: -a ! -f ${top_srcdir}/${GC}/.patch_gc_sparc64_done ]; then \
729: (cd ${top_srcdir}/${GC}; patch -p0 < ../gc_sparc64.diff) ; \
730: touch ${top_srcdir}/${GC}/.patch_gc_sparc64_done ; \
1.13 ohara 731: fi
1.26 ohara 732: -if [ ! -f ${top_srcdir}/${GC}/.configure_done ]; then \
1.30 ! ohara 733: (cd ${top_srcdir}/${GC}; ./configure ${GC_CONFIGURE_ARGS}) ; \
1.26 ohara 734: touch ${top_srcdir}/${GC}/.configure_done ; \
1.1 ohara 735: fi
1.26 ohara 736: (cd ${top_srcdir}/${GC}; ${MAKE})
737: cp ${top_srcdir}/${GC}/.libs/libgc.a ${GLIB}
1.15 ohara 738: (cd ${top_srcdir}/parse; ${MAKE} gc_risa.o)
739: ${AR} q ${GLIB} ${top_srcdir}/parse/gc_risa.o
740: ${RANLIB} ${GLIB}
1.1 ohara 741:
742: libasir.a: ${ASIRLIB}
743: -mkdir ${top_srcdir}/libtmp
744: -rm -f ${top_srcdir}/libtmp/* ${top_srcdir}/$@
745: for i in ${ASIRLIB}; do (cd ${top_srcdir}/libtmp; ar x ../$$i; chmod 644 *) done
746: (cd ${top_srcdir}/libtmp; ${AR} cq ../$@ *.o)
747: (cd ${top_srcdir}; ${RANLIB} $@)
748: -rm -rf ${top_srcdir}/libtmp
749:
750: #asir.o: umain.o ${ASIRLIB} ${GLIB}
751: # -rm $@
752: # ld -r $@ umain.o ${ASIRLIB} ${GLIB} ${LIBS} ${EXTRALIBS}
753:
1.3 ohara 754: install-libasir: libasir.a
1.19 ohara 755: mkdir -p ${DESTDIR}${libdir}
756: ${INSTALL_DATA} libasir.a ${DESTDIR}${libdir}/libasir${libasir_postfix}.a
1.5 ohara 757:
1.20 ohara 758: install-libasir-gc: libasir-gc.a
759: mkdir -p ${DESTDIR}${libdir}
760: ${INSTALL_DATA} libasir-gc.a ${DESTDIR}${libdir}/libasir-gc.a
761:
762: install-openxm: asir${EXEEXT} install-libasir install-libasir-gc
1.19 ohara 763: -mkdir -p ${DESTDIR}${bindir}
764: ${INSTALL_PROGRAM} asir ${DESTDIR}${bindir}
765: -mkdir -p ${DESTDIR}${asirdir}
1.5 ohara 766: (cd ${top_srcdir}/lib; ${MAKE} install-doc install-lib)
1.19 ohara 767: -rm -f ${DESTDIR}${bindir}/ox_asir${EXEEXT}
768: (cd ${DESTDIR}${bindir} ; ${LN_S} asir${EXEEXT} ox_asir${EXEEXT})
769: -(cd ${DESTDIR}${asirdir}; \
1.6 ohara 770: rm -f asir${EXEEXT} ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT})
1.19 ohara 771: (cd ${DESTDIR}${asirdir} ; \
1.6 ohara 772: ${LN_S} ../../bin/asir${EXEEXT} asir${EXEEXT} ; \
773: ${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \
774: ${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \
775: ${LN_S} asir${EXEEXT} ox_plot${EXEEXT})
1.8 ohara 776: (cd ${top_srcdir}/include; ${MAKE} install)
1.9 ohara 777: (cd ${top_srcdir}/parse; ${MAKE} install)
1.5 ohara 778:
779: install-lib:
780: (cd ${top_srcdir}/lib; ${MAKE} install-lib)
1.19 ohara 781: -(cd ${DESTDIR}${asirdir}; \
1.7 ohara 782: rm -f ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT})
1.19 ohara 783: (cd ${DESTDIR}${asirdir} ; \
1.5 ohara 784: ${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \
785: ${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \
786: ${LN_S} asir${EXEEXT} ox_plot${EXEEXT})
1.19 ohara 787: -mkdir -p ${DESTDIR}${bindir}
788: -rm -f ${DESTDIR}${bindir}/asir${EXEEXT}
789: (cd ${DESTDIR}${bindir} ; ${LN_S} ../lib/asir/asir${EXEEXT} asir${EXEEXT})
1.5 ohara 790:
791: install-doc:
792: (cd ${top_srcdir}/lib; ${MAKE} install-doc)
1.18 ohara 793:
794: tarball:
795: -rm -rf tmp
796: -mkdir tmp
797: DESTDIR=`cd tmp; pwd` ${MAKE} install-openxm
798: (cd tmp${prefix}; tar cf - * ) | gzip -c > asir-openxm-${VERSION}.tgz
799: -rm -rf tmp
1.1 ohara 800: # Tell versions [3.59,3.63) of GNU make to not export all variables.
801: # Otherwise a system limit (for SysV at least) may be exceeded.
802: .NOEXPORT:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>