Annotation of OpenXM_contrib2/asir2000/Makefile.in, Revision 1.32
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.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@
205: top_builddir = @top_builddir@
206: top_srcdir = @top_srcdir@
1.1 ohara 207: AUTOMAKE_OPTIONS = foreign no-dependencies 1.5
208: @USE_PLOT_TRUE@PLOTDIR = plot
209: @USE_PLOT_TRUE@PLLIB = plot/libplot.a
1.11 ohara 210: @USE_PLOT_TRUE@X11LIB = @X_LIBS@ -lXaw -lXmu -lXt @X_PRE_LIBS@ @XPMLIB@ -lXext -lX11 @X_EXTRA_LIBS@
1.1 ohara 211: SUBDIRS = asm builtin engine fft include io lib parse ${PLOTDIR}
1.19 ohara 212: asirdir = ${libdir}/asir
213: asir_SOURCES = parse/main.c
214: asir_LDADD = libasir.a libasir-gc.a
215: CLEANFILES = ${asir_LDADD} asir-openxm-${VERSION}.tgz
1.26 ohara 216: GC_TAR_GZ = ${GC}.tar.gz
1.32 ! ohara 217: @USE_GC7_FALSE@GC_PATCH = gc6.diff gc6-risa.diff
1.31 ohara 218: @USE_GC7_TRUE@GC_PATCH = gc-7.0-risa.diff
1.26 ohara 219: GC_MASTER_SITE = ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/
220: OX_FETCH = ${bindir}/oxfetch.sh
1.1 ohara 221: INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/parse -I${top_srcdir}/io \
1.26 ohara 222: -I${top_srcdir}/${GC}/include \
1.1 ohara 223: @PARIINC@ @MPIINC@ @X_CFLAGS@
224:
225: GLIB = libasir-gc.a
226: ALIB = asm/libasm.a
227: BLIB = builtin/libfunc.a
228: ELIB = engine/libca.a
229: FLIB = fft/libdft.a
230: IOLIB = io/libio.a
231: PLIB = parse/libparse.a
232: ASIRLIB = ${BLIB} ${PLIB} ${IOLIB} ${PLLIB} ${ELIB} ${FLIB} ${ALIB}
233: all: all-recursive
234:
235: .SUFFIXES:
236: .SUFFIXES: .c .o .obj
1.30 ohara 237: am--refresh:
238: @:
239: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
240: @for dep in $?; do \
241: case '$(am__configure_deps)' in \
242: *$$dep*) \
243: echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
244: cd $(srcdir) && $(AUTOMAKE) --foreign \
245: && exit 0; \
246: exit 1;; \
247: esac; \
248: done; \
249: echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
1.1 ohara 250: cd $(top_srcdir) && \
251: $(AUTOMAKE) --foreign Makefile
1.30 ohara 252: .PRECIOUS: Makefile
253: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
254: @case '$?' in \
255: *config.status*) \
256: echo ' $(SHELL) ./config.status'; \
257: $(SHELL) ./config.status;; \
258: *) \
259: echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
260: cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
261: esac;
1.1 ohara 262:
1.30 ohara 263: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1.1 ohara 264: $(SHELL) ./config.status --recheck
1.30 ohara 265:
266: $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
1.1 ohara 267: cd $(srcdir) && $(AUTOCONF)
1.30 ohara 268: $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1.1 ohara 269: cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
1.19 ohara 270: install-asirPROGRAMS: $(asir_PROGRAMS)
1.1 ohara 271: @$(NORMAL_INSTALL)
1.30 ohara 272: test -z "$(asirdir)" || $(MKDIR_P) "$(DESTDIR)$(asirdir)"
1.19 ohara 273: @list='$(asir_PROGRAMS)'; for p in $$list; do \
1.1 ohara 274: p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
275: if test -f $$p \
276: ; then \
1.30 ohara 277: f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
278: echo " $(INSTALL_PROGRAM_ENV) $(asirPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(asirdir)/$$f'"; \
279: $(INSTALL_PROGRAM_ENV) $(asirPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(asirdir)/$$f" || exit 1; \
1.1 ohara 280: else :; fi; \
281: done
282:
1.19 ohara 283: uninstall-asirPROGRAMS:
1.1 ohara 284: @$(NORMAL_UNINSTALL)
1.19 ohara 285: @list='$(asir_PROGRAMS)'; for p in $$list; do \
1.30 ohara 286: f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
287: echo " rm -f '$(DESTDIR)$(asirdir)/$$f'"; \
288: rm -f "$(DESTDIR)$(asirdir)/$$f"; \
1.1 ohara 289: done
290:
1.19 ohara 291: clean-asirPROGRAMS:
292: -test -z "$(asir_PROGRAMS)" || rm -f $(asir_PROGRAMS)
1.1 ohara 293: asir$(EXEEXT): $(asir_OBJECTS) $(asir_DEPENDENCIES)
294: @rm -f asir$(EXEEXT)
1.30 ohara 295: $(LINK) $(asir_OBJECTS) $(asir_LDADD) $(LIBS)
1.1 ohara 296:
297: mostlyclean-compile:
1.30 ohara 298: -rm -f *.$(OBJEXT)
1.1 ohara 299:
300: distclean-compile:
301: -rm -f *.tab.c
302:
303: .c.o:
1.30 ohara 304: $(COMPILE) -c $<
1.1 ohara 305:
306: .c.obj:
1.30 ohara 307: $(COMPILE) -c `$(CYGPATH_W) '$<'`
1.1 ohara 308:
309: main.o: parse/main.c
1.30 ohara 310: $(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 311:
312: main.obj: parse/main.c
1.30 ohara 313: $(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 314:
315: # This directory's subdirectories are mostly independent; you can cd
316: # into them and run `make' without going through this Makefile.
317: # To change the values of `make' variables: instead of editing Makefiles,
318: # (1) if the variable is set in `config.status', edit `config.status'
319: # (which will cause the Makefiles to be regenerated when you run `make');
320: # (2) otherwise, pass the desired values on the `make' command line.
321: $(RECURSIVE_TARGETS):
1.30 ohara 322: @failcom='exit 1'; \
323: for f in x $$MAKEFLAGS; do \
324: case $$f in \
325: *=* | --[!k]*);; \
326: *k*) failcom='fail=yes';; \
327: esac; \
328: done; \
1.1 ohara 329: dot_seen=no; \
330: target=`echo $@ | sed s/-recursive//`; \
331: list='$(SUBDIRS)'; for subdir in $$list; do \
332: echo "Making $$target in $$subdir"; \
333: if test "$$subdir" = "."; then \
334: dot_seen=yes; \
335: local_target="$$target-am"; \
336: else \
337: local_target="$$target"; \
338: fi; \
339: (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1.30 ohara 340: || eval $$failcom; \
1.1 ohara 341: done; \
342: if test "$$dot_seen" = "no"; then \
343: $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
344: fi; test -z "$$fail"
345:
1.30 ohara 346: $(RECURSIVE_CLEAN_TARGETS):
347: @failcom='exit 1'; \
348: for f in x $$MAKEFLAGS; do \
349: case $$f in \
350: *=* | --[!k]*);; \
351: *k*) failcom='fail=yes';; \
352: esac; \
353: done; \
1.1 ohara 354: dot_seen=no; \
355: case "$@" in \
356: distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
357: *) list='$(SUBDIRS)' ;; \
358: esac; \
359: rev=''; for subdir in $$list; do \
360: if test "$$subdir" = "."; then :; else \
361: rev="$$subdir $$rev"; \
362: fi; \
363: done; \
364: rev="$$rev ."; \
365: target=`echo $@ | sed s/-recursive//`; \
366: for subdir in $$rev; do \
367: echo "Making $$target in $$subdir"; \
368: if test "$$subdir" = "."; then \
369: local_target="$$target-am"; \
370: else \
371: local_target="$$target"; \
372: fi; \
373: (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1.30 ohara 374: || eval $$failcom; \
1.1 ohara 375: done && test -z "$$fail"
376: tags-recursive:
377: list='$(SUBDIRS)'; for subdir in $$list; do \
378: test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
379: done
1.30 ohara 380: ctags-recursive:
381: list='$(SUBDIRS)'; for subdir in $$list; do \
382: test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
383: done
1.1 ohara 384:
385: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1.30 ohara 386: list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1.1 ohara 387: unique=`for i in $$list; do \
388: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
389: done | \
390: $(AWK) ' { files[$$0] = 1; } \
391: END { for (i in files) print i; }'`; \
1.30 ohara 392: mkid -fID $$unique
393: tags: TAGS
1.1 ohara 394:
395: TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
396: $(TAGS_FILES) $(LISP)
397: tags=; \
398: here=`pwd`; \
1.30 ohara 399: if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
400: include_option=--etags-include; \
401: empty_fix=.; \
402: else \
403: include_option=--include; \
404: empty_fix=; \
405: fi; \
1.1 ohara 406: list='$(SUBDIRS)'; for subdir in $$list; do \
407: if test "$$subdir" = .; then :; else \
1.30 ohara 408: test ! -f $$subdir/TAGS || \
409: tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
1.1 ohara 410: fi; \
411: done; \
1.30 ohara 412: list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1.1 ohara 413: unique=`for i in $$list; do \
414: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
415: done | \
416: $(AWK) ' { files[$$0] = 1; } \
417: END { for (i in files) print i; }'`; \
1.30 ohara 418: if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
419: test -n "$$unique" || unique=$$empty_fix; \
420: $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
421: $$tags $$unique; \
422: fi
423: ctags: CTAGS
424: CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
425: $(TAGS_FILES) $(LISP)
426: tags=; \
427: here=`pwd`; \
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 | \
432: $(AWK) ' { files[$$0] = 1; } \
433: END { for (i in files) print i; }'`; \
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:
504: dist-tarZ: distdir
505: tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
506: $(am__remove_distdir)
507:
508: dist-shar: distdir
509: shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
510: $(am__remove_distdir)
511:
512: dist-zip: distdir
513: -rm -f $(distdir).zip
514: zip -rq $(distdir).zip $(distdir)
515: $(am__remove_distdir)
516:
517: dist dist-all: distdir
518: tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
519: $(am__remove_distdir)
1.1 ohara 520:
521: # This target untars the dist file and tries a VPATH configuration. Then
522: # it guarantees that the distribution is self-contained by making another
523: # tarfile.
524: distcheck: dist
1.30 ohara 525: case '$(DIST_ARCHIVES)' in \
526: *.tar.gz*) \
527: GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
528: *.tar.bz2*) \
529: bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
530: *.tar.Z*) \
531: uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
532: *.shar.gz*) \
533: GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
534: *.zip*) \
535: unzip $(distdir).zip ;;\
536: esac
1.1 ohara 537: chmod -R a-w $(distdir); chmod a+w $(distdir)
1.30 ohara 538: mkdir $(distdir)/_build
539: mkdir $(distdir)/_inst
1.1 ohara 540: chmod a-w $(distdir)
1.30 ohara 541: dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
542: && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
543: && cd $(distdir)/_build \
544: && ../configure --srcdir=.. --prefix="$$dc_install_base" \
545: $(DISTCHECK_CONFIGURE_FLAGS) \
1.1 ohara 546: && $(MAKE) $(AM_MAKEFLAGS) \
547: && $(MAKE) $(AM_MAKEFLAGS) dvi \
548: && $(MAKE) $(AM_MAKEFLAGS) check \
549: && $(MAKE) $(AM_MAKEFLAGS) install \
550: && $(MAKE) $(AM_MAKEFLAGS) installcheck \
551: && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1.30 ohara 552: && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
553: distuninstallcheck \
554: && chmod -R a-w "$$dc_install_base" \
555: && ({ \
556: (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
557: && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
558: && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
559: && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
560: distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
561: } || { rm -rf "$$dc_destdir"; exit 1; }) \
562: && rm -rf "$$dc_destdir" \
1.25 ohara 563: && $(MAKE) $(AM_MAKEFLAGS) dist \
1.30 ohara 564: && rm -rf $(DIST_ARCHIVES) \
565: && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
566: $(am__remove_distdir)
567: @(echo "$(distdir) archives ready for distribution: "; \
568: list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
569: sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
570: distuninstallcheck:
571: @cd $(distuninstallcheck_dir) \
572: && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
573: || { echo "ERROR: files left after uninstall:" ; \
574: if test -n "$(DESTDIR)"; then \
575: echo " (check DESTDIR support)"; \
576: fi ; \
577: $(distuninstallcheck_listfiles) ; \
578: exit 1; } >&2
579: distcleancheck: distclean
580: @if test '$(srcdir)' = . ; then \
581: echo "ERROR: distcleancheck can only run from a VPATH build" ; \
582: exit 1 ; \
583: fi
584: @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
585: || { echo "ERROR: files left in build directory after distclean:" ; \
586: $(distcleancheck_listfiles) ; \
587: exit 1; } >&2
1.1 ohara 588: check-am: all-am
589: check: check-recursive
1.16 ohara 590: all-am: Makefile $(PROGRAMS)
1.1 ohara 591: installdirs: installdirs-recursive
592: installdirs-am:
1.30 ohara 593: for dir in "$(DESTDIR)$(asirdir)"; do \
594: test -z "$$dir" || $(MKDIR_P) "$$dir"; \
595: done
1.1 ohara 596: install: install-recursive
597: install-exec: install-exec-recursive
598: install-data: install-data-recursive
599: uninstall: uninstall-recursive
600:
601: install-am: all-am
602: @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
603:
604: installcheck: installcheck-recursive
605: install-strip:
606: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1.30 ohara 607: install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1.1 ohara 608: `test -z '$(STRIP)' || \
609: echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
610: mostlyclean-generic:
611:
612: clean-generic:
613: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
614:
615: distclean-generic:
1.30 ohara 616: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1.1 ohara 617:
618: maintainer-clean-generic:
619: @echo "This command is intended for maintainers to use"
620: @echo "it deletes files that may require special tools to rebuild."
621: clean: clean-recursive
622:
1.19 ohara 623: clean-am: clean-asirPROGRAMS clean-generic mostlyclean-am
1.1 ohara 624:
625: distclean: distclean-recursive
1.30 ohara 626: -rm -f $(am__CONFIG_DISTCLEAN_FILES)
627: -rm -f Makefile
1.1 ohara 628: distclean-am: clean-am distclean-compile distclean-generic \
629: distclean-tags
630:
631: dvi: dvi-recursive
632:
633: dvi-am:
634:
1.30 ohara 635: html: html-recursive
636:
1.1 ohara 637: info: info-recursive
638:
639: info-am:
640:
1.19 ohara 641: install-data-am: install-asirPROGRAMS
1.1 ohara 642:
1.30 ohara 643: install-dvi: install-dvi-recursive
644:
1.19 ohara 645: install-exec-am:
1.1 ohara 646:
1.30 ohara 647: install-html: install-html-recursive
648:
1.1 ohara 649: install-info: install-info-recursive
650:
651: install-man:
652:
1.30 ohara 653: install-pdf: install-pdf-recursive
654:
655: install-ps: install-ps-recursive
656:
1.1 ohara 657: installcheck-am:
658:
659: maintainer-clean: maintainer-clean-recursive
1.30 ohara 660: -rm -f $(am__CONFIG_DISTCLEAN_FILES)
661: -rm -rf $(top_srcdir)/autom4te.cache
662: -rm -f Makefile
1.1 ohara 663: maintainer-clean-am: distclean-am maintainer-clean-generic
664:
665: mostlyclean: mostlyclean-recursive
666:
667: mostlyclean-am: mostlyclean-compile mostlyclean-generic
668:
1.30 ohara 669: pdf: pdf-recursive
670:
671: pdf-am:
672:
673: ps: ps-recursive
1.1 ohara 674:
1.30 ohara 675: ps-am:
1.1 ohara 676:
1.30 ohara 677: uninstall-am: uninstall-asirPROGRAMS
678:
679: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
680: install-strip
681:
682: .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
683: all all-am am--refresh check check-am clean clean-asirPROGRAMS \
684: clean-generic ctags ctags-recursive dist dist-all dist-bzip2 \
685: dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
686: distclean-compile distclean-generic distclean-tags \
687: distcleancheck distdir distuninstallcheck dvi dvi-am html \
688: html-am info info-am install install-am install-asirPROGRAMS \
689: install-data install-data-am install-dvi install-dvi-am \
690: install-exec install-exec-am install-html install-html-am \
691: install-info install-info-am install-man install-pdf \
692: install-pdf-am install-ps install-ps-am install-strip \
693: installcheck installcheck-am installdirs installdirs-am \
694: maintainer-clean maintainer-clean-generic mostlyclean \
695: mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
1.25 ohara 696: tags tags-recursive uninstall uninstall-am \
1.30 ohara 697: uninstall-asirPROGRAMS
1.1 ohara 698:
1.19 ohara 699: # EXTRALIBS = @EXTRALIBS@
1.1 ohara 700:
701: umain.o: parse/main.c
702: ${COMPILE} -DUINIT main.c -o umain.o
703:
1.29 saito 704: libasir-gc.a: ${GC_PATCH} parse/gc_risa.c
1.26 ohara 705: -if [ ! -f ${top_srcdir}/.gc_fetch_done ]; then \
706: if [ ! -f ${GC_DISTDIR}/${GC_TAR_GZ} ]; then \
707: ${OX_FETCH} ${GC_MASTER_SITE}${GC_TAR_GZ} ${GC_DISTDIR}; \
708: fi ; \
709: touch ${top_srcdir}/.gc_fetch_done ; \
710: fi
711: -if [ ! -f ${top_srcdir}/.gc_risa_done ]; then \
1.27 ohara 712: (cd ${top_srcdir}; tar xzvf ${GC_DISTDIR}/${GC_TAR_GZ}) ; \
1.32 ! ohara 713: for i in ${GC_PATCH} ; do \
! 714: (cd ${top_srcdir}/${GC}; patch -p1 < ../$$i) ; \
! 715: done ; \
1.26 ohara 716: touch ${top_srcdir}/.gc_risa_done ; \
1.23 noro 717: fi
1.22 ohara 718: -if [ "${USE_GC_SPARC64}" = yes \
1.26 ohara 719: -a ! -f ${top_srcdir}/${GC}/.patch_gc_sparc64_done ]; then \
720: (cd ${top_srcdir}/${GC}; patch -p0 < ../gc_sparc64.diff) ; \
721: touch ${top_srcdir}/${GC}/.patch_gc_sparc64_done ; \
1.13 ohara 722: fi
1.26 ohara 723: -if [ ! -f ${top_srcdir}/${GC}/.configure_done ]; then \
1.30 ohara 724: (cd ${top_srcdir}/${GC}; ./configure ${GC_CONFIGURE_ARGS}) ; \
1.26 ohara 725: touch ${top_srcdir}/${GC}/.configure_done ; \
1.1 ohara 726: fi
1.26 ohara 727: (cd ${top_srcdir}/${GC}; ${MAKE})
728: cp ${top_srcdir}/${GC}/.libs/libgc.a ${GLIB}
1.15 ohara 729: (cd ${top_srcdir}/parse; ${MAKE} gc_risa.o)
730: ${AR} q ${GLIB} ${top_srcdir}/parse/gc_risa.o
731: ${RANLIB} ${GLIB}
1.1 ohara 732:
733: libasir.a: ${ASIRLIB}
734: -mkdir ${top_srcdir}/libtmp
735: -rm -f ${top_srcdir}/libtmp/* ${top_srcdir}/$@
736: for i in ${ASIRLIB}; do (cd ${top_srcdir}/libtmp; ar x ../$$i; chmod 644 *) done
737: (cd ${top_srcdir}/libtmp; ${AR} cq ../$@ *.o)
738: (cd ${top_srcdir}; ${RANLIB} $@)
739: -rm -rf ${top_srcdir}/libtmp
740:
741: #asir.o: umain.o ${ASIRLIB} ${GLIB}
742: # -rm $@
743: # ld -r $@ umain.o ${ASIRLIB} ${GLIB} ${LIBS} ${EXTRALIBS}
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>