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