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