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