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