Annotation of OpenXM_contrib2/asir2000/Makefile.in, Revision 1.29
1.25 ohara 1: # Makefile.in generated automatically by automake 1.5 from Makefile.am.
1.1 ohara 2:
1.25 ohara 3: # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
1.1 ohara 4: # Free Software Foundation, Inc.
5: # This Makefile.in is free software; the Free Software Foundation
6: # gives unlimited permission to copy and/or distribute it,
7: # with or without modifications, as long as this notice is preserved.
8:
9: # This program is distributed in the hope that it will be useful,
10: # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11: # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12: # PARTICULAR PURPOSE.
13:
14: @SET_MAKE@
1.25 ohara 15:
1.1 ohara 16: SHELL = @SHELL@
17:
18: srcdir = @srcdir@
19: top_srcdir = @top_srcdir@
20: VPATH = @srcdir@
21: prefix = @prefix@
22: exec_prefix = @exec_prefix@
23:
24: bindir = @bindir@
25: sbindir = @sbindir@
26: libexecdir = @libexecdir@
27: datadir = @datadir@
28: sysconfdir = @sysconfdir@
29: sharedstatedir = @sharedstatedir@
30: localstatedir = @localstatedir@
31: libdir = @libdir@
32: infodir = @infodir@
33: mandir = @mandir@
34: includedir = @includedir@
35: oldincludedir = /usr/include
36: pkgdatadir = $(datadir)/@PACKAGE@
37: pkglibdir = $(libdir)/@PACKAGE@
38: pkgincludedir = $(includedir)/@PACKAGE@
39: top_builddir = .
40:
41: ACLOCAL = @ACLOCAL@
42: AUTOCONF = @AUTOCONF@
43: AUTOMAKE = @AUTOMAKE@
44: AUTOHEADER = @AUTOHEADER@
45:
46: INSTALL = @INSTALL@
47: INSTALL_PROGRAM = @INSTALL_PROGRAM@
48: INSTALL_DATA = @INSTALL_DATA@
49: INSTALL_SCRIPT = @INSTALL_SCRIPT@
50: INSTALL_HEADER = $(INSTALL_DATA)
51: transform = @program_transform_name@
52: NORMAL_INSTALL = :
53: PRE_INSTALL = :
54: POST_INSTALL = :
55: NORMAL_UNINSTALL = :
56: PRE_UNINSTALL = :
57: POST_UNINSTALL = :
58: build_alias = @build_alias@
59: build_triplet = @build@
60: host_alias = @host_alias@
61: host_triplet = @host@
62: target_alias = @target_alias@
63: target_triplet = @target@
64: AMTAR = @AMTAR@
65: AWK = @AWK@
66: CC = @CC@
67: DEPDIR = @DEPDIR@
1.25 ohara 68: EXEEXT = @EXEEXT@
1.1 ohara 69: FEPLIB = @FEPLIB@
70: INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
71: LAPACKLIB = @LAPACKLIB@
72: LN_S = @LN_S@
1.12 ohara 73: MAINT = @MAINT@
1.1 ohara 74: MPIINC = @MPIINC@
75: MPILIB = @MPILIB@
1.25 ohara 76: OBJEXT = @OBJEXT@
1.1 ohara 77: PACKAGE = @PACKAGE@
78: PARIINC = @PARIINC@
79: PARILIB = @PARILIB@
80: RANLIB = @RANLIB@
1.21 ohara 81: USE_GC_INTERIX = @USE_GC_INTERIX@
1.22 ohara 82: USE_GC_SPARC64 = @USE_GC_SPARC64@
1.13 ohara 83: USE_GC_ZEROPAGE = @USE_GC_ZEROPAGE@
1.1 ohara 84: VERSION = @VERSION@
1.11 ohara 85: XPMLIB = @XPMLIB@
1.1 ohara 86: X_CFLAGS = @X_CFLAGS@
87: X_EXTRA_LIBS = @X_EXTRA_LIBS@
88: X_LIBS = @X_LIBS@
89: X_PRE_LIBS = @X_PRE_LIBS@
90: YACC = @YACC@
91: am__include = @am__include@
92: am__quote = @am__quote@
93: asm_obj = @asm_obj@
94: install_sh = @install_sh@
95: libasir_postfix = @libasir_postfix@
1.26 ohara 96: GC_DISTDIR = @GC_DISTDIR@
1.1 ohara 97:
98: AUTOMAKE_OPTIONS = foreign no-dependencies 1.5
99: @USE_PLOT_TRUE@PLOTDIR = plot
100: @USE_PLOT_TRUE@PLLIB = plot/libplot.a
1.11 ohara 101: @USE_PLOT_TRUE@X11LIB = @X_LIBS@ -lXaw -lXmu -lXt @X_PRE_LIBS@ @XPMLIB@ -lXext -lX11 @X_EXTRA_LIBS@
1.1 ohara 102:
103: SUBDIRS = asm builtin engine fft include io lib parse ${PLOTDIR}
104:
1.19 ohara 105: asirdir = ${libdir}/asir
106: asir_PROGRAMS = asir
107: asir_SOURCES = parse/main.c
108: asir_LDADD = libasir.a libasir-gc.a
109: CLEANFILES = ${asir_LDADD} asir-openxm-${VERSION}.tgz
110:
1.28 ohara 111: GC = gc6.8
1.26 ohara 112: GC_TAR_GZ = ${GC}.tar.gz
1.29 ! saito 113: GC_PATCH = gc6.5-risa.diff
1.26 ohara 114: GC_MASTER_SITE = ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/
115: OX_FETCH = ${bindir}/oxfetch.sh
1.23 noro 116:
1.19 ohara 117: DEFS = @DEFS@ -DASIR_LIBDIR=\"${asirdir}\"
1.1 ohara 118: INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/parse -I${top_srcdir}/io \
1.26 ohara 119: -I${top_srcdir}/${GC}/include \
1.1 ohara 120: @PARIINC@ @MPIINC@ @X_CFLAGS@
121:
122:
123: GLIB = libasir-gc.a
124: ALIB = asm/libasm.a
125: BLIB = builtin/libfunc.a
126: ELIB = engine/libca.a
127: FLIB = fft/libdft.a
128: IOLIB = io/libio.a
129: PLIB = parse/libparse.a
130:
131: ASIRLIB = ${BLIB} ${PLIB} ${IOLIB} ${PLLIB} ${ELIB} ${FLIB} ${ALIB}
132: LIBS = @LIBS@ @PARILIB@ @MPILIB@ @LAPACKLIB@ ${X11LIB} ${FEPLIB} -lm ${EXTRALIBS}
133: subdir = .
134: ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
135: mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
136: CONFIG_CLEAN_FILES =
1.19 ohara 137: asir_PROGRAMS = asir$(EXEEXT)
138: PROGRAMS = $(asir_PROGRAMS)
1.1 ohara 139:
140: am_asir_OBJECTS = main.$(OBJEXT)
141: asir_OBJECTS = $(am_asir_OBJECTS)
1.15 ohara 142: asir_DEPENDENCIES = libasir.a libasir-gc.a
1.1 ohara 143: asir_LDFLAGS =
144: DEFAULT_INCLUDES = -I. -I$(srcdir)
145: CPPFLAGS = @CPPFLAGS@
146: LDFLAGS = @LDFLAGS@
147: depcomp =
148: COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
149: $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
150: CCLD = $(CC)
151: LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
152: CFLAGS = @CFLAGS@
1.16 ohara 153: DIST_SOURCES = $(asir_SOURCES)
1.1 ohara 154:
155: RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
156: uninstall-info-recursive all-recursive install-data-recursive \
157: install-exec-recursive installdirs-recursive install-recursive \
158: uninstall-recursive check-recursive installcheck-recursive
159: DIST_COMMON = INSTALL Makefile.am Makefile.in acinclude.m4 aclocal.m4 \
160: config.guess config.sub configure configure.in depcomp \
161: install-sh missing mkinstalldirs
162: DIST_SUBDIRS = asm builtin engine fft include io lib parse plot
1.16 ohara 163: SOURCES = $(asir_SOURCES)
1.1 ohara 164:
165: all: all-recursive
166:
167: .SUFFIXES:
168: .SUFFIXES: .c .o .obj
1.12 ohara 169: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
1.1 ohara 170: cd $(top_srcdir) && \
171: $(AUTOMAKE) --foreign Makefile
1.12 ohara 172: Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
1.25 ohara 173: cd $(top_builddir) && \
174: CONFIG_HEADERS= CONFIG_LINKS= \
175: CONFIG_FILES=$@ $(SHELL) ./config.status
1.1 ohara 176:
177: $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
178: $(SHELL) ./config.status --recheck
1.12 ohara 179: $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
1.1 ohara 180: cd $(srcdir) && $(AUTOCONF)
181:
1.12 ohara 182: $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
1.1 ohara 183: cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
1.19 ohara 184: install-asirPROGRAMS: $(asir_PROGRAMS)
1.1 ohara 185: @$(NORMAL_INSTALL)
1.19 ohara 186: $(mkinstalldirs) $(DESTDIR)$(asirdir)
187: @list='$(asir_PROGRAMS)'; for p in $$list; do \
1.1 ohara 188: p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
189: if test -f $$p \
190: ; then \
1.25 ohara 191: f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
192: echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(asirdir)/$$f"; \
193: $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(asirdir)/$$f; \
1.1 ohara 194: else :; fi; \
195: done
196:
1.19 ohara 197: uninstall-asirPROGRAMS:
1.1 ohara 198: @$(NORMAL_UNINSTALL)
1.19 ohara 199: @list='$(asir_PROGRAMS)'; for p in $$list; do \
1.25 ohara 200: f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
1.19 ohara 201: echo " rm -f $(DESTDIR)$(asirdir)/$$f"; \
202: rm -f $(DESTDIR)$(asirdir)/$$f; \
1.1 ohara 203: done
204:
1.19 ohara 205: clean-asirPROGRAMS:
206: -test -z "$(asir_PROGRAMS)" || rm -f $(asir_PROGRAMS)
1.1 ohara 207: main.$(OBJEXT): parse/main.c
208: asir$(EXEEXT): $(asir_OBJECTS) $(asir_DEPENDENCIES)
209: @rm -f asir$(EXEEXT)
210: $(LINK) $(asir_LDFLAGS) $(asir_OBJECTS) $(asir_LDADD) $(LIBS)
211:
212: mostlyclean-compile:
213: -rm -f *.$(OBJEXT) core *.core
214:
215: distclean-compile:
216: -rm -f *.tab.c
217:
218: .c.o:
1.25 ohara 219: $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
1.1 ohara 220:
221: .c.obj:
222: $(COMPILE) -c `cygpath -w $<`
223:
224: main.o: parse/main.c
1.25 ohara 225: $(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 226:
227: main.obj: parse/main.c
228: $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o main.obj `cygpath -w parse/main.c`
229: uninstall-info-am:
230:
231: # This directory's subdirectories are mostly independent; you can cd
232: # into them and run `make' without going through this Makefile.
233: # To change the values of `make' variables: instead of editing Makefiles,
234: # (1) if the variable is set in `config.status', edit `config.status'
235: # (which will cause the Makefiles to be regenerated when you run `make');
236: # (2) otherwise, pass the desired values on the `make' command line.
237: $(RECURSIVE_TARGETS):
1.25 ohara 238: @set fnord $(MAKEFLAGS); amf=$$2; \
1.1 ohara 239: dot_seen=no; \
240: target=`echo $@ | sed s/-recursive//`; \
241: list='$(SUBDIRS)'; for subdir in $$list; do \
242: echo "Making $$target in $$subdir"; \
243: if test "$$subdir" = "."; then \
244: dot_seen=yes; \
245: local_target="$$target-am"; \
246: else \
247: local_target="$$target"; \
248: fi; \
249: (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
250: || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
251: done; \
252: if test "$$dot_seen" = "no"; then \
253: $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
254: fi; test -z "$$fail"
255:
256: mostlyclean-recursive clean-recursive distclean-recursive \
257: maintainer-clean-recursive:
1.25 ohara 258: @set fnord $(MAKEFLAGS); amf=$$2; \
1.1 ohara 259: dot_seen=no; \
260: case "$@" in \
261: distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
262: *) list='$(SUBDIRS)' ;; \
263: esac; \
264: rev=''; for subdir in $$list; do \
265: if test "$$subdir" = "."; then :; else \
266: rev="$$subdir $$rev"; \
267: fi; \
268: done; \
269: rev="$$rev ."; \
270: target=`echo $@ | sed s/-recursive//`; \
271: for subdir in $$rev; do \
272: echo "Making $$target in $$subdir"; \
273: if test "$$subdir" = "."; then \
274: local_target="$$target-am"; \
275: else \
276: local_target="$$target"; \
277: fi; \
278: (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
279: || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
280: done && test -z "$$fail"
281: tags-recursive:
282: list='$(SUBDIRS)'; for subdir in $$list; do \
283: test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
284: done
285:
286: tags: TAGS
287:
288: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1.25 ohara 289: list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
1.1 ohara 290: unique=`for i in $$list; do \
291: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
292: done | \
293: $(AWK) ' { files[$$0] = 1; } \
294: END { for (i in files) print i; }'`; \
1.25 ohara 295: mkid -fID $$unique $(LISP)
1.1 ohara 296:
297: TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
298: $(TAGS_FILES) $(LISP)
299: tags=; \
300: here=`pwd`; \
301: list='$(SUBDIRS)'; for subdir in $$list; do \
302: if test "$$subdir" = .; then :; else \
303: test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
304: fi; \
305: done; \
1.25 ohara 306: list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
1.1 ohara 307: unique=`for i in $$list; do \
308: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
309: done | \
310: $(AWK) ' { files[$$0] = 1; } \
311: END { for (i in files) print i; }'`; \
1.25 ohara 312: test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
313: || etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
1.1 ohara 314:
315: GTAGS:
1.25 ohara 316: here=`CDPATH=: && cd $(top_builddir) && pwd` \
1.1 ohara 317: && cd $(top_srcdir) \
318: && gtags -i $(GTAGS_ARGS) $$here
319:
320: distclean-tags:
321: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
1.25 ohara 322:
1.1 ohara 323: DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
324:
325: top_distdir = .
1.25 ohara 326: # Avoid unsightly `./'.
1.1 ohara 327: distdir = $(PACKAGE)-$(VERSION)
328:
329: GZIP_ENV = --best
330:
331: distdir: $(DISTFILES)
1.25 ohara 332: -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
1.1 ohara 333: mkdir $(distdir)
1.25 ohara 334: @for file in $(DISTFILES); do \
335: if test -f $$file; then d=.; else d=$(srcdir); fi; \
1.1 ohara 336: dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
337: if test "$$dir" != "$$file" && test "$$dir" != "."; then \
1.25 ohara 338: $(mkinstalldirs) "$(distdir)/$$dir"; \
1.1 ohara 339: fi; \
340: if test -d $$d/$$file; then \
1.25 ohara 341: cp -pR $$d/$$file $(distdir) \
342: || exit 1; \
1.1 ohara 343: else \
344: test -f $(distdir)/$$file \
345: || cp -p $$d/$$file $(distdir)/$$file \
346: || exit 1; \
347: fi; \
348: done
1.25 ohara 349: for subdir in $(DIST_SUBDIRS); do \
1.1 ohara 350: if test "$$subdir" = .; then :; else \
351: test -d $(distdir)/$$subdir \
352: || mkdir $(distdir)/$$subdir \
353: || exit 1; \
354: (cd $$subdir && \
355: $(MAKE) $(AM_MAKEFLAGS) \
356: top_distdir="$(top_distdir)" \
357: distdir=../$(distdir)/$$subdir \
358: distdir) \
359: || exit 1; \
360: fi; \
361: done
362: -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
363: ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
364: ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
365: ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
366: || chmod -R a+r $(distdir)
1.25 ohara 367: dist: distdir
1.23 noro 368: $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1.25 ohara 369: -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
1.1 ohara 370:
371: # This target untars the dist file and tries a VPATH configuration. Then
372: # it guarantees that the distribution is self-contained by making another
373: # tarfile.
374: distcheck: dist
1.25 ohara 375: -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
1.1 ohara 376: GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
377: chmod -R a-w $(distdir); chmod a+w $(distdir)
378: mkdir $(distdir)/=build
379: mkdir $(distdir)/=inst
380: chmod a-w $(distdir)
1.25 ohara 381: dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
1.1 ohara 382: && cd $(distdir)/=build \
383: && ../configure --srcdir=.. --prefix=$$dc_install_base \
384: && $(MAKE) $(AM_MAKEFLAGS) \
385: && $(MAKE) $(AM_MAKEFLAGS) dvi \
386: && $(MAKE) $(AM_MAKEFLAGS) check \
387: && $(MAKE) $(AM_MAKEFLAGS) install \
388: && $(MAKE) $(AM_MAKEFLAGS) installcheck \
389: && $(MAKE) $(AM_MAKEFLAGS) uninstall \
390: && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
1.25 ohara 391: || (echo "Error: files left after uninstall" 1>&2; \
392: exit 1) ) \
393: && $(MAKE) $(AM_MAKEFLAGS) dist \
394: && $(MAKE) $(AM_MAKEFLAGS) distclean \
1.1 ohara 395: && rm -f $(distdir).tar.gz \
1.25 ohara 396: && (test `find . -type f -print | wc -l` -eq 0 \
397: || (echo "Error: files left after distclean" 1>&2; \
398: exit 1) )
399: -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
1.1 ohara 400: @echo "$(distdir).tar.gz is ready for distribution" | \
401: sed 'h;s/./=/g;p;x;p;x'
402: check-am: all-am
403: check: check-recursive
1.16 ohara 404: all-am: Makefile $(PROGRAMS)
1.1 ohara 405: installdirs: installdirs-recursive
406: installdirs-am:
1.19 ohara 407: $(mkinstalldirs) $(DESTDIR)$(asirdir)
1.1 ohara 408:
409: install: install-recursive
410: install-exec: install-exec-recursive
411: install-data: install-data-recursive
412: uninstall: uninstall-recursive
413:
414: install-am: all-am
415: @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
416:
417: installcheck: installcheck-recursive
418: install-strip:
419: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
420: `test -z '$(STRIP)' || \
421: echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
422: mostlyclean-generic:
423:
424: clean-generic:
425: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
426:
427: distclean-generic:
1.25 ohara 428: -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
1.1 ohara 429:
430: maintainer-clean-generic:
431: @echo "This command is intended for maintainers to use"
432: @echo "it deletes files that may require special tools to rebuild."
433: clean: clean-recursive
434:
1.19 ohara 435: clean-am: clean-asirPROGRAMS clean-generic mostlyclean-am
1.1 ohara 436:
1.25 ohara 437: dist-all: distdir
438: $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
439: -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
1.1 ohara 440: distclean: distclean-recursive
1.25 ohara 441: -rm -f config.status config.cache config.log
1.1 ohara 442: distclean-am: clean-am distclean-compile distclean-generic \
443: distclean-tags
444:
445: dvi: dvi-recursive
446:
447: dvi-am:
448:
449: info: info-recursive
450:
451: info-am:
452:
1.19 ohara 453: install-data-am: install-asirPROGRAMS
1.1 ohara 454:
1.19 ohara 455: install-exec-am:
1.1 ohara 456:
457: install-info: install-info-recursive
458:
459: install-man:
460:
461: installcheck-am:
462:
463: maintainer-clean: maintainer-clean-recursive
1.25 ohara 464:
1.1 ohara 465: maintainer-clean-am: distclean-am maintainer-clean-generic
466:
467: mostlyclean: mostlyclean-recursive
468:
469: mostlyclean-am: mostlyclean-compile mostlyclean-generic
470:
1.19 ohara 471: uninstall-am: uninstall-asirPROGRAMS uninstall-info-am
1.1 ohara 472:
473: uninstall-info: uninstall-info-recursive
474:
475: .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
1.19 ohara 476: clean-asirPROGRAMS clean-generic clean-recursive dist dist-all \
1.25 ohara 477: distcheck distclean distclean-compile distclean-generic \
478: distclean-recursive distclean-tags distdir dvi dvi-am \
479: dvi-recursive info info-am info-recursive install install-am \
480: install-asirPROGRAMS install-data install-data-am \
481: install-data-recursive install-exec install-exec-am \
482: install-exec-recursive install-info install-info-am \
483: install-info-recursive install-man install-recursive \
484: install-strip installcheck installcheck-am installdirs \
485: installdirs-am installdirs-recursive maintainer-clean \
486: maintainer-clean-generic maintainer-clean-recursive mostlyclean \
487: mostlyclean-compile mostlyclean-generic mostlyclean-recursive \
488: tags tags-recursive uninstall uninstall-am \
489: uninstall-asirPROGRAMS uninstall-info-am \
1.5 ohara 490: uninstall-info-recursive uninstall-recursive
1.1 ohara 491:
1.19 ohara 492: # EXTRALIBS = @EXTRALIBS@
1.1 ohara 493:
494: umain.o: parse/main.c
495: ${COMPILE} -DUINIT main.c -o umain.o
496:
1.29 ! saito 497: libasir-gc.a: ${GC_PATCH} parse/gc_risa.c
1.26 ohara 498: -if [ ! -f ${top_srcdir}/.gc_fetch_done ]; then \
499: if [ ! -f ${GC_DISTDIR}/${GC_TAR_GZ} ]; then \
500: ${OX_FETCH} ${GC_MASTER_SITE}${GC_TAR_GZ} ${GC_DISTDIR}; \
501: fi ; \
502: touch ${top_srcdir}/.gc_fetch_done ; \
503: fi
504: -if [ ! -f ${top_srcdir}/.gc_risa_done ]; then \
1.27 ohara 505: (cd ${top_srcdir}; tar xzvf ${GC_DISTDIR}/${GC_TAR_GZ}) ; \
1.29 ! saito 506: (cd ${top_srcdir}/${GC}; patch -p1 < ../${GC_PATCH}) ; \
1.26 ohara 507: touch ${top_srcdir}/.gc_risa_done ; \
1.23 noro 508: fi
1.13 ohara 509: -if [ "${USE_GC_ZEROPAGE}" = yes \
1.26 ohara 510: -a ! -f ${top_srcdir}/${GC}/.patch_gc_zeropage_done ]; then \
511: (cd ${top_srcdir}/${GC}; patch < ../gc_zeropage.diff) ; \
512: touch ${top_srcdir}/${GC}/.patch_gc_zeropage_done ; \
1.21 ohara 513: fi
514: -if [ "${USE_GC_INTERIX}" = yes \
1.26 ohara 515: -a ! -f ${top_srcdir}/${GC}/.patch_gc_interix_done ]; then \
516: (cd ${top_srcdir}/${GC}; patch -p0 < ../gc_interix.diff) ; \
517: touch ${top_srcdir}/${GC}/.patch_gc_interix_done ; \
1.22 ohara 518: fi
519: -if [ "${USE_GC_SPARC64}" = yes \
1.26 ohara 520: -a ! -f ${top_srcdir}/${GC}/.patch_gc_sparc64_done ]; then \
521: (cd ${top_srcdir}/${GC}; patch -p0 < ../gc_sparc64.diff) ; \
522: touch ${top_srcdir}/${GC}/.patch_gc_sparc64_done ; \
1.13 ohara 523: fi
1.26 ohara 524: -if [ ! -f ${top_srcdir}/${GC}/.configure_done ]; then \
1.14 ohara 525: if [ -n "${host_alias}" ]; then \
1.26 ohara 526: (cd ${top_srcdir}/${GC}; ./configure --host=${host_alias} --disable-threads) ; \
1.14 ohara 527: else \
1.26 ohara 528: (cd ${top_srcdir}/${GC}; ./configure --disable-threads) ; \
1.14 ohara 529: fi ; \
1.26 ohara 530: touch ${top_srcdir}/${GC}/.configure_done ; \
1.1 ohara 531: fi
1.26 ohara 532: (cd ${top_srcdir}/${GC}; ${MAKE})
533: cp ${top_srcdir}/${GC}/.libs/libgc.a ${GLIB}
1.15 ohara 534: (cd ${top_srcdir}/parse; ${MAKE} gc_risa.o)
535: ${AR} q ${GLIB} ${top_srcdir}/parse/gc_risa.o
536: ${RANLIB} ${GLIB}
1.1 ohara 537:
538: libasir.a: ${ASIRLIB}
539: -mkdir ${top_srcdir}/libtmp
540: -rm -f ${top_srcdir}/libtmp/* ${top_srcdir}/$@
541: for i in ${ASIRLIB}; do (cd ${top_srcdir}/libtmp; ar x ../$$i; chmod 644 *) done
542: (cd ${top_srcdir}/libtmp; ${AR} cq ../$@ *.o)
543: (cd ${top_srcdir}; ${RANLIB} $@)
544: -rm -rf ${top_srcdir}/libtmp
545:
546: #asir.o: umain.o ${ASIRLIB} ${GLIB}
547: # -rm $@
548: # ld -r $@ umain.o ${ASIRLIB} ${GLIB} ${LIBS} ${EXTRALIBS}
549:
1.3 ohara 550: install-libasir: libasir.a
1.19 ohara 551: mkdir -p ${DESTDIR}${libdir}
552: ${INSTALL_DATA} libasir.a ${DESTDIR}${libdir}/libasir${libasir_postfix}.a
1.5 ohara 553:
1.20 ohara 554: install-libasir-gc: libasir-gc.a
555: mkdir -p ${DESTDIR}${libdir}
556: ${INSTALL_DATA} libasir-gc.a ${DESTDIR}${libdir}/libasir-gc.a
557:
558: install-openxm: asir${EXEEXT} install-libasir install-libasir-gc
1.19 ohara 559: -mkdir -p ${DESTDIR}${bindir}
560: ${INSTALL_PROGRAM} asir ${DESTDIR}${bindir}
561: -mkdir -p ${DESTDIR}${asirdir}
1.5 ohara 562: (cd ${top_srcdir}/lib; ${MAKE} install-doc install-lib)
1.19 ohara 563: -rm -f ${DESTDIR}${bindir}/ox_asir${EXEEXT}
564: (cd ${DESTDIR}${bindir} ; ${LN_S} asir${EXEEXT} ox_asir${EXEEXT})
565: -(cd ${DESTDIR}${asirdir}; \
1.6 ohara 566: rm -f asir${EXEEXT} ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT})
1.19 ohara 567: (cd ${DESTDIR}${asirdir} ; \
1.6 ohara 568: ${LN_S} ../../bin/asir${EXEEXT} asir${EXEEXT} ; \
569: ${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \
570: ${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \
571: ${LN_S} asir${EXEEXT} ox_plot${EXEEXT})
1.8 ohara 572: (cd ${top_srcdir}/include; ${MAKE} install)
1.9 ohara 573: (cd ${top_srcdir}/parse; ${MAKE} install)
1.5 ohara 574:
575: install-lib:
576: (cd ${top_srcdir}/lib; ${MAKE} install-lib)
1.19 ohara 577: -(cd ${DESTDIR}${asirdir}; \
1.7 ohara 578: rm -f ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT})
1.19 ohara 579: (cd ${DESTDIR}${asirdir} ; \
1.5 ohara 580: ${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \
581: ${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \
582: ${LN_S} asir${EXEEXT} ox_plot${EXEEXT})
1.19 ohara 583: -mkdir -p ${DESTDIR}${bindir}
584: -rm -f ${DESTDIR}${bindir}/asir${EXEEXT}
585: (cd ${DESTDIR}${bindir} ; ${LN_S} ../lib/asir/asir${EXEEXT} asir${EXEEXT})
1.5 ohara 586:
587: install-doc:
588: (cd ${top_srcdir}/lib; ${MAKE} install-doc)
1.18 ohara 589:
590: tarball:
591: -rm -rf tmp
592: -mkdir tmp
593: DESTDIR=`cd tmp; pwd` ${MAKE} install-openxm
594: (cd tmp${prefix}; tar cf - * ) | gzip -c > asir-openxm-${VERSION}.tgz
595: -rm -rf tmp
1.1 ohara 596: # Tell versions [3.59,3.63) of GNU make to not export all variables.
597: # Otherwise a system limit (for SysV at least) may be exceeded.
598: .NOEXPORT:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>