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