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