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