Annotation of OpenXM_contrib2/asir2000/Makefile.in, Revision 1.34
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)
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.22 ohara 142: USE_GC_SPARC64 = @USE_GC_SPARC64@
1.1 ohara 143: VERSION = @VERSION@
1.30 ohara 144: XMKMF = @XMKMF@
1.11 ohara 145: XPMLIB = @XPMLIB@
1.1 ohara 146: X_CFLAGS = @X_CFLAGS@
147: X_EXTRA_LIBS = @X_EXTRA_LIBS@
148: X_LIBS = @X_LIBS@
149: X_PRE_LIBS = @X_PRE_LIBS@
150: YACC = @YACC@
1.30 ohara 151: YFLAGS = @YFLAGS@
152: abs_builddir = @abs_builddir@
153: abs_srcdir = @abs_srcdir@
154: abs_top_builddir = @abs_top_builddir@
155: abs_top_srcdir = @abs_top_srcdir@
156: ac_ct_CC = @ac_ct_CC@
1.1 ohara 157: am__include = @am__include@
1.30 ohara 158: am__leading_dot = @am__leading_dot@
1.1 ohara 159: am__quote = @am__quote@
1.30 ohara 160: am__tar = @am__tar@
161: am__untar = @am__untar@
1.1 ohara 162: asm_obj = @asm_obj@
1.30 ohara 163: bindir = @bindir@
164: build = @build@
165: build_alias = @build_alias@
166: build_cpu = @build_cpu@
167: build_os = @build_os@
168: build_vendor = @build_vendor@
169: builddir = @builddir@
170: datadir = @datadir@
171: datarootdir = @datarootdir@
172: docdir = @docdir@
173: dvidir = @dvidir@
174: exec_prefix = @exec_prefix@
175: host = @host@
176: host_alias = @host_alias@
177: host_cpu = @host_cpu@
178: host_os = @host_os@
179: host_vendor = @host_vendor@
180: htmldir = @htmldir@
181: includedir = @includedir@
182: infodir = @infodir@
1.1 ohara 183: install_sh = @install_sh@
184: libasir_postfix = @libasir_postfix@
1.30 ohara 185: libdir = @libdir@
186: libexecdir = @libexecdir@
187: localedir = @localedir@
188: localstatedir = @localstatedir@
189: mandir = @mandir@
190: mkdir_p = @mkdir_p@
191: oldincludedir = @oldincludedir@
192: pdfdir = @pdfdir@
193: prefix = @prefix@
194: program_transform_name = @program_transform_name@
195: psdir = @psdir@
196: sbindir = @sbindir@
197: sharedstatedir = @sharedstatedir@
198: srcdir = @srcdir@
199: sysconfdir = @sysconfdir@
200: target = @target@
201: target_alias = @target_alias@
202: target_cpu = @target_cpu@
203: target_os = @target_os@
204: target_vendor = @target_vendor@
1.33 ohara 205: top_build_prefix = @top_build_prefix@
1.30 ohara 206: top_builddir = @top_builddir@
207: top_srcdir = @top_srcdir@
1.1 ohara 208: AUTOMAKE_OPTIONS = foreign no-dependencies 1.5
209: @USE_PLOT_TRUE@PLOTDIR = plot
210: @USE_PLOT_TRUE@PLLIB = plot/libplot.a
1.11 ohara 211: @USE_PLOT_TRUE@X11LIB = @X_LIBS@ -lXaw -lXmu -lXt @X_PRE_LIBS@ @XPMLIB@ -lXext -lX11 @X_EXTRA_LIBS@
1.1 ohara 212: SUBDIRS = asm builtin engine fft include io lib parse ${PLOTDIR}
1.19 ohara 213: asirdir = ${libdir}/asir
214: asir_SOURCES = parse/main.c
215: asir_LDADD = libasir.a libasir-gc.a
216: CLEANFILES = ${asir_LDADD} asir-openxm-${VERSION}.tgz
1.26 ohara 217: GC_TAR_GZ = ${GC}.tar.gz
1.32 ohara 218: @USE_GC7_FALSE@GC_PATCH = gc6.diff gc6-risa.diff
1.31 ohara 219: @USE_GC7_TRUE@GC_PATCH = gc-7.0-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 | \
1.33 ohara 391: $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
392: END { if (nonempty) { 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 | \
1.33 ohara 417: $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
418: END { if (nonempty) { 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: list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
429: unique=`for i in $$list; do \
430: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
431: done | \
1.33 ohara 432: $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
433: END { if (nonempty) { for (i in files) print i; }; }'`; \
1.30 ohara 434: test -z "$(CTAGS_ARGS)$$tags$$unique" \
435: || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
436: $$tags $$unique
1.1 ohara 437:
438: GTAGS:
1.30 ohara 439: here=`$(am__cd) $(top_builddir) && pwd` \
1.1 ohara 440: && cd $(top_srcdir) \
441: && gtags -i $(GTAGS_ARGS) $$here
442:
443: distclean-tags:
1.30 ohara 444: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1.1 ohara 445:
446: distdir: $(DISTFILES)
1.30 ohara 447: $(am__remove_distdir)
448: test -d $(distdir) || mkdir $(distdir)
449: @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
450: topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
451: list='$(DISTFILES)'; \
452: dist_files=`for file in $$list; do echo $$file; done | \
453: sed -e "s|^$$srcdirstrip/||;t" \
454: -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
455: case $$dist_files in \
456: */*) $(MKDIR_P) `echo "$$dist_files" | \
457: sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
458: sort -u` ;; \
459: esac; \
460: for file in $$dist_files; do \
461: if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1.1 ohara 462: if test -d $$d/$$file; then \
1.30 ohara 463: dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
464: if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
465: cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
466: fi; \
467: cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
1.1 ohara 468: else \
469: test -f $(distdir)/$$file \
470: || cp -p $$d/$$file $(distdir)/$$file \
471: || exit 1; \
472: fi; \
473: done
1.30 ohara 474: list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1.1 ohara 475: if test "$$subdir" = .; then :; else \
1.30 ohara 476: test -d "$(distdir)/$$subdir" \
477: || $(MKDIR_P) "$(distdir)/$$subdir" \
1.1 ohara 478: || exit 1; \
1.30 ohara 479: distdir=`$(am__cd) $(distdir) && pwd`; \
480: top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
1.1 ohara 481: (cd $$subdir && \
482: $(MAKE) $(AM_MAKEFLAGS) \
1.30 ohara 483: top_distdir="$$top_distdir" \
484: distdir="$$distdir/$$subdir" \
485: am__remove_distdir=: \
486: am__skip_length_check=: \
1.1 ohara 487: distdir) \
488: || exit 1; \
489: fi; \
490: done
491: -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
492: ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
493: ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1.30 ohara 494: ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1.1 ohara 495: || chmod -R a+r $(distdir)
1.30 ohara 496: dist-gzip: distdir
497: tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
498: $(am__remove_distdir)
499:
500: dist-bzip2: distdir
501: tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
502: $(am__remove_distdir)
503:
1.33 ohara 504: dist-lzma: distdir
505: tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
506: $(am__remove_distdir)
507:
1.30 ohara 508: dist-tarZ: distdir
509: tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
510: $(am__remove_distdir)
511:
512: dist-shar: distdir
513: shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
514: $(am__remove_distdir)
515:
516: dist-zip: distdir
517: -rm -f $(distdir).zip
518: zip -rq $(distdir).zip $(distdir)
519: $(am__remove_distdir)
520:
521: dist dist-all: distdir
522: tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
523: $(am__remove_distdir)
1.1 ohara 524:
525: # This target untars the dist file and tries a VPATH configuration. Then
526: # it guarantees that the distribution is self-contained by making another
527: # tarfile.
528: distcheck: dist
1.30 ohara 529: case '$(DIST_ARCHIVES)' in \
530: *.tar.gz*) \
531: GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
532: *.tar.bz2*) \
533: bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
1.33 ohara 534: *.tar.lzma*) \
535: unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
1.30 ohara 536: *.tar.Z*) \
537: uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
538: *.shar.gz*) \
539: GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
540: *.zip*) \
541: unzip $(distdir).zip ;;\
542: esac
1.1 ohara 543: chmod -R a-w $(distdir); chmod a+w $(distdir)
1.30 ohara 544: mkdir $(distdir)/_build
545: mkdir $(distdir)/_inst
1.1 ohara 546: chmod a-w $(distdir)
1.30 ohara 547: dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
548: && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
549: && cd $(distdir)/_build \
550: && ../configure --srcdir=.. --prefix="$$dc_install_base" \
551: $(DISTCHECK_CONFIGURE_FLAGS) \
1.1 ohara 552: && $(MAKE) $(AM_MAKEFLAGS) \
553: && $(MAKE) $(AM_MAKEFLAGS) dvi \
554: && $(MAKE) $(AM_MAKEFLAGS) check \
555: && $(MAKE) $(AM_MAKEFLAGS) install \
556: && $(MAKE) $(AM_MAKEFLAGS) installcheck \
557: && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1.30 ohara 558: && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
559: distuninstallcheck \
560: && chmod -R a-w "$$dc_install_base" \
561: && ({ \
562: (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
563: && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
564: && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
565: && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
566: distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
567: } || { rm -rf "$$dc_destdir"; exit 1; }) \
568: && rm -rf "$$dc_destdir" \
1.25 ohara 569: && $(MAKE) $(AM_MAKEFLAGS) dist \
1.30 ohara 570: && rm -rf $(DIST_ARCHIVES) \
571: && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
572: $(am__remove_distdir)
573: @(echo "$(distdir) archives ready for distribution: "; \
574: list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
575: sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
576: distuninstallcheck:
577: @cd $(distuninstallcheck_dir) \
578: && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
579: || { echo "ERROR: files left after uninstall:" ; \
580: if test -n "$(DESTDIR)"; then \
581: echo " (check DESTDIR support)"; \
582: fi ; \
583: $(distuninstallcheck_listfiles) ; \
584: exit 1; } >&2
585: distcleancheck: distclean
586: @if test '$(srcdir)' = . ; then \
587: echo "ERROR: distcleancheck can only run from a VPATH build" ; \
588: exit 1 ; \
589: fi
590: @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
591: || { echo "ERROR: files left in build directory after distclean:" ; \
592: $(distcleancheck_listfiles) ; \
593: exit 1; } >&2
1.1 ohara 594: check-am: all-am
595: check: check-recursive
1.16 ohara 596: all-am: Makefile $(PROGRAMS)
1.1 ohara 597: installdirs: installdirs-recursive
598: installdirs-am:
1.30 ohara 599: for dir in "$(DESTDIR)$(asirdir)"; do \
600: test -z "$$dir" || $(MKDIR_P) "$$dir"; \
601: done
1.1 ohara 602: install: install-recursive
603: install-exec: install-exec-recursive
604: install-data: install-data-recursive
605: uninstall: uninstall-recursive
606:
607: install-am: all-am
608: @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
609:
610: installcheck: installcheck-recursive
611: install-strip:
612: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1.30 ohara 613: install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1.1 ohara 614: `test -z '$(STRIP)' || \
615: echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
616: mostlyclean-generic:
617:
618: clean-generic:
619: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
620:
621: distclean-generic:
1.30 ohara 622: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1.1 ohara 623:
624: maintainer-clean-generic:
625: @echo "This command is intended for maintainers to use"
626: @echo "it deletes files that may require special tools to rebuild."
627: clean: clean-recursive
628:
1.19 ohara 629: clean-am: clean-asirPROGRAMS clean-generic mostlyclean-am
1.1 ohara 630:
631: distclean: distclean-recursive
1.30 ohara 632: -rm -f $(am__CONFIG_DISTCLEAN_FILES)
633: -rm -f Makefile
1.1 ohara 634: distclean-am: clean-am distclean-compile distclean-generic \
635: distclean-tags
636:
637: dvi: dvi-recursive
638:
639: dvi-am:
640:
1.30 ohara 641: html: html-recursive
642:
1.1 ohara 643: info: info-recursive
644:
645: info-am:
646:
1.19 ohara 647: install-data-am: install-asirPROGRAMS
1.1 ohara 648:
1.30 ohara 649: install-dvi: install-dvi-recursive
650:
1.19 ohara 651: install-exec-am:
1.1 ohara 652:
1.30 ohara 653: install-html: install-html-recursive
654:
1.1 ohara 655: install-info: install-info-recursive
656:
657: install-man:
658:
1.30 ohara 659: install-pdf: install-pdf-recursive
660:
661: install-ps: install-ps-recursive
662:
1.1 ohara 663: installcheck-am:
664:
665: maintainer-clean: maintainer-clean-recursive
1.30 ohara 666: -rm -f $(am__CONFIG_DISTCLEAN_FILES)
667: -rm -rf $(top_srcdir)/autom4te.cache
668: -rm -f Makefile
1.1 ohara 669: maintainer-clean-am: distclean-am maintainer-clean-generic
670:
671: mostlyclean: mostlyclean-recursive
672:
673: mostlyclean-am: mostlyclean-compile mostlyclean-generic
674:
1.30 ohara 675: pdf: pdf-recursive
676:
677: pdf-am:
678:
679: ps: ps-recursive
1.1 ohara 680:
1.30 ohara 681: ps-am:
1.1 ohara 682:
1.30 ohara 683: uninstall-am: uninstall-asirPROGRAMS
684:
685: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
686: install-strip
687:
688: .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
689: all all-am am--refresh check check-am clean clean-asirPROGRAMS \
690: clean-generic ctags ctags-recursive dist dist-all dist-bzip2 \
1.33 ohara 691: dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \
692: distclean distclean-compile distclean-generic distclean-tags \
1.30 ohara 693: distcleancheck distdir distuninstallcheck dvi dvi-am html \
694: html-am info info-am install install-am install-asirPROGRAMS \
695: install-data install-data-am install-dvi install-dvi-am \
696: install-exec install-exec-am install-html install-html-am \
697: install-info install-info-am install-man install-pdf \
698: install-pdf-am install-ps install-ps-am install-strip \
699: installcheck installcheck-am installdirs installdirs-am \
700: maintainer-clean maintainer-clean-generic mostlyclean \
701: mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
1.25 ohara 702: tags tags-recursive uninstall uninstall-am \
1.30 ohara 703: uninstall-asirPROGRAMS
1.1 ohara 704:
1.19 ohara 705: # EXTRALIBS = @EXTRALIBS@
1.1 ohara 706:
707: umain.o: parse/main.c
708: ${COMPILE} -DUINIT main.c -o umain.o
709:
1.34 ! ohara 710: libasir-gc.a: ${GC_PATCH}
1.26 ohara 711: -if [ ! -f ${top_srcdir}/.gc_fetch_done ]; then \
712: if [ ! -f ${GC_DISTDIR}/${GC_TAR_GZ} ]; then \
713: ${OX_FETCH} ${GC_MASTER_SITE}${GC_TAR_GZ} ${GC_DISTDIR}; \
714: fi ; \
715: touch ${top_srcdir}/.gc_fetch_done ; \
716: fi
717: -if [ ! -f ${top_srcdir}/.gc_risa_done ]; then \
1.27 ohara 718: (cd ${top_srcdir}; tar xzvf ${GC_DISTDIR}/${GC_TAR_GZ}) ; \
1.32 ohara 719: for i in ${GC_PATCH} ; do \
720: (cd ${top_srcdir}/${GC}; patch -p1 < ../$$i) ; \
721: done ; \
1.26 ohara 722: touch ${top_srcdir}/.gc_risa_done ; \
1.23 noro 723: fi
1.22 ohara 724: -if [ "${USE_GC_SPARC64}" = yes \
1.26 ohara 725: -a ! -f ${top_srcdir}/${GC}/.patch_gc_sparc64_done ]; then \
726: (cd ${top_srcdir}/${GC}; patch -p0 < ../gc_sparc64.diff) ; \
727: touch ${top_srcdir}/${GC}/.patch_gc_sparc64_done ; \
1.13 ohara 728: fi
1.26 ohara 729: -if [ ! -f ${top_srcdir}/${GC}/.configure_done ]; then \
1.30 ohara 730: (cd ${top_srcdir}/${GC}; ./configure ${GC_CONFIGURE_ARGS}) ; \
1.26 ohara 731: touch ${top_srcdir}/${GC}/.configure_done ; \
1.1 ohara 732: fi
1.26 ohara 733: (cd ${top_srcdir}/${GC}; ${MAKE})
1.33 ohara 734: cp ${top_srcdir}/${GC}/.libs/libgc.a $@
1.1 ohara 735:
1.34 ! ohara 736: libasir.a: ${ASIRLIB} ${GLIB} parse/gc_risa.c
1.1 ohara 737: -mkdir ${top_srcdir}/libtmp
738: -rm -f ${top_srcdir}/libtmp/* ${top_srcdir}/$@
739: for i in ${ASIRLIB}; do (cd ${top_srcdir}/libtmp; ar x ../$$i; chmod 644 *) done
1.33 ohara 740: (cd ${top_srcdir}/parse; ${MAKE} gc_risa.o; cp gc_risa.o ../libtmp)
1.1 ohara 741: (cd ${top_srcdir}/libtmp; ${AR} cq ../$@ *.o)
742: (cd ${top_srcdir}; ${RANLIB} $@)
743: -rm -rf ${top_srcdir}/libtmp
744:
1.3 ohara 745: install-libasir: libasir.a
1.19 ohara 746: mkdir -p ${DESTDIR}${libdir}
747: ${INSTALL_DATA} libasir.a ${DESTDIR}${libdir}/libasir${libasir_postfix}.a
1.5 ohara 748:
1.20 ohara 749: install-libasir-gc: libasir-gc.a
750: mkdir -p ${DESTDIR}${libdir}
751: ${INSTALL_DATA} libasir-gc.a ${DESTDIR}${libdir}/libasir-gc.a
752:
753: install-openxm: asir${EXEEXT} install-libasir install-libasir-gc
1.19 ohara 754: -mkdir -p ${DESTDIR}${bindir}
755: ${INSTALL_PROGRAM} asir ${DESTDIR}${bindir}
756: -mkdir -p ${DESTDIR}${asirdir}
1.5 ohara 757: (cd ${top_srcdir}/lib; ${MAKE} install-doc install-lib)
1.19 ohara 758: -rm -f ${DESTDIR}${bindir}/ox_asir${EXEEXT}
759: (cd ${DESTDIR}${bindir} ; ${LN_S} asir${EXEEXT} ox_asir${EXEEXT})
760: -(cd ${DESTDIR}${asirdir}; \
1.6 ohara 761: rm -f asir${EXEEXT} ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT})
1.19 ohara 762: (cd ${DESTDIR}${asirdir} ; \
1.6 ohara 763: ${LN_S} ../../bin/asir${EXEEXT} asir${EXEEXT} ; \
764: ${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \
765: ${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \
766: ${LN_S} asir${EXEEXT} ox_plot${EXEEXT})
1.8 ohara 767: (cd ${top_srcdir}/include; ${MAKE} install)
1.9 ohara 768: (cd ${top_srcdir}/parse; ${MAKE} install)
1.5 ohara 769:
770: install-lib:
771: (cd ${top_srcdir}/lib; ${MAKE} install-lib)
1.19 ohara 772: -(cd ${DESTDIR}${asirdir}; \
1.7 ohara 773: rm -f ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT})
1.19 ohara 774: (cd ${DESTDIR}${asirdir} ; \
1.5 ohara 775: ${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \
776: ${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \
777: ${LN_S} asir${EXEEXT} ox_plot${EXEEXT})
1.19 ohara 778: -mkdir -p ${DESTDIR}${bindir}
779: -rm -f ${DESTDIR}${bindir}/asir${EXEEXT}
780: (cd ${DESTDIR}${bindir} ; ${LN_S} ../lib/asir/asir${EXEEXT} asir${EXEEXT})
1.5 ohara 781:
782: install-doc:
783: (cd ${top_srcdir}/lib; ${MAKE} install-doc)
1.18 ohara 784:
785: tarball:
786: -rm -rf tmp
787: -mkdir tmp
788: DESTDIR=`cd tmp; pwd` ${MAKE} install-openxm
789: (cd tmp${prefix}; tar cf - * ) | gzip -c > asir-openxm-${VERSION}.tgz
790: -rm -rf tmp
1.1 ohara 791: # Tell versions [3.59,3.63) of GNU make to not export all variables.
792: # Otherwise a system limit (for SysV at least) may be exceeded.
793: .NOEXPORT:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>