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