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