OSDN Git Service

zlib:
[pf3gnuchains/gcc-fork.git] / boehm-gc / Makefile.in
1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DESTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = .
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
63 host_triplet = @host@
64 target_alias = @target_alias@
65 target_triplet = @target@
66 AR = @AR@
67 AS = @AS@
68 CC = @CC@
69 CPP = @CPP@
70 CXX = @CXX@
71 CXXCPP = @CXXCPP@
72 CXXINCLUDES = @CXXINCLUDES@
73 DLLTOOL = @DLLTOOL@
74 EXEEXT = @EXEEXT@
75 EXTRA_TEST_LIBS = @EXTRA_TEST_LIBS@
76 GCJ = @GCJ@
77 GCJFLAGS = @GCJFLAGS@
78 GC_CFLAGS = @GC_CFLAGS@
79 INCLUDES = @INCLUDES@
80 LIBTOOL = @LIBTOOL@
81 LN_S = @LN_S@
82 MAINT = @MAINT@
83 MAKEINFO = @MAKEINFO@
84 MY_CFLAGS = @MY_CFLAGS@
85 OBJDUMP = @OBJDUMP@
86 OBJEXT = @OBJEXT@
87 PACKAGE = @PACKAGE@
88 RANLIB = @RANLIB@
89 STRIP = @STRIP@
90 THREADLIBS = @THREADLIBS@
91 VERSION = @VERSION@
92 addobjs = @addobjs@
93 gc_basedir = @gc_basedir@
94 mkinstalldirs = @mkinstalldirs@
95 target_all = @target_all@
96
97 AUTOMAKE_OPTIONS = cygnus
98
99 SUBDIRS = include
100
101 # Multilib support variables.
102 MULTISRCTOP = 
103 MULTIBUILDTOP = 
104 MULTIDIRS = 
105 MULTISUBDIR = 
106 MULTIDO = true
107 MULTICLEAN = true
108 @USE_LIBDIR_TRUE@toolexeclibdir = @USE_LIBDIR_TRUE@$(libdir)$(MULTISUBDIR)
109 @USE_LIBDIR_FALSE@toolexeclibdir = @USE_LIBDIR_FALSE@$(toolexecdir)/lib$(MULTISUBDIR)
110 @USE_LIBDIR_FALSE@toolexecdir = @USE_LIBDIR_FALSE@$(exec_prefix)/$(target_alias)
111
112 toolexeclib_LTLIBRARIES = libgcjgc.la
113 noinst_LTLIBRARIES = libgcjgc_convenience.la
114
115 GC_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c \
116 dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c irix_threads.c \
117 linux_threads.c malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c \
118 obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c \
119 solaris_pthreads.c solaris_threads.c specific.c stubborn.c typd_mlc.c \
120 backgraph.c win32_threads.c
121
122
123 EXTRA_GC_SOURCES = alpha_mach_dep.s \
124 mips_sgi_mach_dep.S mips_ultrix_mach_dep.s powerpc_macosx_mach_dep.s \
125 rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s \
126 sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
127
128
129 libgcjgc_la_SOURCES = $(GC_SOURCES)
130 libgcjgc_convenience_la_SOURCES = $(GC_SOURCES)
131 EXTRA_libgcjgc_la_SOURCES = $(EXTRA_GC_SOURCES)
132 EXTRA_libgcjgc_convenience_la_SOURCES = $(EXTRA_GC_SOURCES)
133
134 # Include THREADLIBS here to ensure that the correct versions of
135 # linuxthread semaphore functions get linked:
136 libgcjgc_la_LIBADD = @addobjs@ $(THREADLIBS)
137 libgcjgc_la_DEPENDENCIES = @addobjs@
138 libgcjgc_la_LDFLAGS = -version-info 1:1:0 -rpath $(toolexeclibdir)
139
140 libgcjgc_convenience_la_LIBADD = @addobjs@
141 libgcjgc_convenience_la_DEPENDENCIES = @addobjs@
142
143 AM_CXXFLAGS = @GC_CFLAGS@
144
145 AM_CFLAGS = @GC_CFLAGS@
146
147 check_PROGRAMS = gctest
148 #       Using $< in the above seems to fail with the HP/UX on Itanium make.
149
150 gctest_OBJECTS = test.o
151 gctest_LDADD = ./libgcjgc.la $(THREADLIBS) $(EXTRA_TEST_LIBS)
152 gctest_LDFLAGS = -shared-libgcc
153 TESTS_ENVIRONMENT = LD_LIBRARY_PATH=../../$(MULTIBUILDTOP)gcc
154 TESTS = gctest
155
156 all_objs = @addobjs@ $(libgcjgc_la_OBJECTS)
157
158 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) \
159         $(AM_CPPFLAGS) $(CPPFLAGS) \
160         $(AM_CFLAGS) $(MY_CFLAGS) $(GC_CFLAGS) 
161
162 LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LDFLAGS) -o $@
163
164 # Work around what appears to be a GNU make bug handling MAKEFLAGS
165 # values defined in terms of make variables, as is the case for CC and
166 # friends when we are called from the top level Makefile.
167 AM_MAKEFLAGS = \
168         "AR_FLAGS=$(AR_FLAGS)" \
169         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
170         "CFLAGS=$(CFLAGS)" \
171         "CXXFLAGS=$(CXXFLAGS)" \
172         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
173         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
174         "INSTALL=$(INSTALL)" \
175         "INSTALL_DATA=$(INSTALL_DATA)" \
176         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
177         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
178         "LDFLAGS=$(LDFLAGS)" \
179         "LIBCFLAGS=$(LIBCFLAGS)" \
180         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
181         "MAKE=$(MAKE)" \
182         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
183         "PICFLAG=$(PICFLAG)" \
184         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
185         "SHELL=$(SHELL)" \
186         "EXPECT=$(EXPECT)" \
187         "RUNTEST=$(RUNTEST)" \
188         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
189         "exec_prefix=$(exec_prefix)" \
190         "infodir=$(infodir)" \
191         "libdir=$(libdir)" \
192         "prefix=$(prefix)" \
193         "tooldir=$(tooldir)" \
194         "AR=$(AR)" \
195         "AS=$(AS)" \
196         "CC=$(CC)" \
197         "CXX=$(CXX)" \
198         "LD=$(LD)" \
199         "LIBCFLAGS=$(LIBCFLAGS)" \
200         "NM=$(NM)" \
201         "PICFLAG=$(PICFLAG)" \
202         "RANLIB=$(RANLIB)" \
203         "DESTDIR=$(DESTDIR)"
204
205
206 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host
207
208 MAKEOVERRIDES = 
209 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
210 CONFIG_CLEAN_FILES = 
211 LTLIBRARIES =  $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
212
213
214 DEFS = @DEFS@ -I. -I$(srcdir) 
215 CPPFLAGS = @CPPFLAGS@
216 LDFLAGS = @LDFLAGS@
217 LIBS = @LIBS@
218 libgcjgc_convenience_la_LDFLAGS = 
219 libgcjgc_convenience_la_OBJECTS =  allchblk.lo alloc.lo blacklst.lo \
220 checksums.lo dbg_mlc.lo dyn_load.lo finalize.lo gc_dlopen.lo gcj_mlc.lo \
221 headers.lo irix_threads.lo linux_threads.lo malloc.lo mallocx.lo \
222 mark.lo mark_rts.lo misc.lo new_hblk.lo obj_map.lo os_dep.lo \
223 pcr_interface.lo ptr_chck.lo real_malloc.lo reclaim.lo \
224 solaris_pthreads.lo solaris_threads.lo specific.lo stubborn.lo \
225 typd_mlc.lo backgraph.lo win32_threads.lo
226 libgcjgc_la_OBJECTS =  allchblk.lo alloc.lo blacklst.lo checksums.lo \
227 dbg_mlc.lo dyn_load.lo finalize.lo gc_dlopen.lo gcj_mlc.lo headers.lo \
228 irix_threads.lo linux_threads.lo malloc.lo mallocx.lo mark.lo \
229 mark_rts.lo misc.lo new_hblk.lo obj_map.lo os_dep.lo pcr_interface.lo \
230 ptr_chck.lo real_malloc.lo reclaim.lo solaris_pthreads.lo \
231 solaris_threads.lo specific.lo stubborn.lo typd_mlc.lo backgraph.lo \
232 win32_threads.lo
233 check_PROGRAMS =  gctest$(EXEEXT)
234 gctest_DEPENDENCIES =  ./libgcjgc.la
235 CFLAGS = @CFLAGS@
236 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
237 CCLD = $(CC)
238 DIST_COMMON =  ChangeLog Makefile.am Makefile.in acinclude.m4 aclocal.m4 \
239 config.guess config.sub configure configure.in install-sh ltconfig \
240 ltmain.sh mkinstalldirs
241
242
243 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
244
245 TAR = gtar
246 GZIP_ENV = --best
247 SOURCES = $(libgcjgc_convenience_la_SOURCES) $(EXTRA_libgcjgc_convenience_la_SOURCES) $(libgcjgc_la_SOURCES) $(EXTRA_libgcjgc_la_SOURCES)
248 OBJECTS = $(libgcjgc_convenience_la_OBJECTS) $(libgcjgc_la_OBJECTS)
249
250 all: all-redirect
251 .SUFFIXES:
252 .SUFFIXES: .S .c .lo .o .obj .s
253 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
254         cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
255
256 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
257         cd $(top_builddir) \
258           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
259
260 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in  acinclude.m4
261         cd $(srcdir) && $(ACLOCAL)
262
263 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
264         $(SHELL) ./config.status --recheck
265 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
266         cd $(srcdir) && $(AUTOCONF)
267
268 mostlyclean-noinstLTLIBRARIES:
269
270 clean-noinstLTLIBRARIES:
271         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
272
273 distclean-noinstLTLIBRARIES:
274
275 maintainer-clean-noinstLTLIBRARIES:
276
277 mostlyclean-toolexeclibLTLIBRARIES:
278
279 clean-toolexeclibLTLIBRARIES:
280         -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
281
282 distclean-toolexeclibLTLIBRARIES:
283
284 maintainer-clean-toolexeclibLTLIBRARIES:
285
286 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
287         @$(NORMAL_INSTALL)
288         $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
289         @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
290           if test -f $$p; then \
291             echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
292             $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
293           else :; fi; \
294         done
295
296 uninstall-toolexeclibLTLIBRARIES:
297         @$(NORMAL_UNINSTALL)
298         list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
299           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
300         done
301
302 .c.o:
303         $(COMPILE) -c $<
304
305 # FIXME: We should only use cygpath when building on Windows,
306 # and only if it is available.
307 .c.obj:
308         $(COMPILE) -c `cygpath -w $<`
309
310 .s.o:
311         $(COMPILE) -c $<
312
313 .S.o:
314         $(COMPILE) -c $<
315
316 mostlyclean-compile:
317         -rm -f *.o core *.core
318         -rm -f *.$(OBJEXT)
319
320 clean-compile:
321
322 distclean-compile:
323         -rm -f *.tab.c
324
325 maintainer-clean-compile:
326
327 .c.lo:
328         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
329
330 .S.lo:
331         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
332
333 mostlyclean-libtool:
334         -rm -f *.lo
335
336 clean-libtool:
337         -rm -rf .libs _libs
338
339 distclean-libtool:
340
341 maintainer-clean-libtool:
342
343 libgcjgc_convenience.la: $(libgcjgc_convenience_la_OBJECTS) $(libgcjgc_convenience_la_DEPENDENCIES)
344         $(LINK)  $(libgcjgc_convenience_la_LDFLAGS) $(libgcjgc_convenience_la_OBJECTS) $(libgcjgc_convenience_la_LIBADD) $(LIBS)
345
346 libgcjgc.la: $(libgcjgc_la_OBJECTS) $(libgcjgc_la_DEPENDENCIES)
347         $(LINK) -rpath $(toolexeclibdir) $(libgcjgc_la_LDFLAGS) $(libgcjgc_la_OBJECTS) $(libgcjgc_la_LIBADD) $(LIBS)
348
349 mostlyclean-checkPROGRAMS:
350
351 clean-checkPROGRAMS:
352         -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
353
354 distclean-checkPROGRAMS:
355
356 maintainer-clean-checkPROGRAMS:
357
358 gctest$(EXEEXT): $(gctest_OBJECTS) $(gctest_DEPENDENCIES)
359         @rm -f gctest$(EXEEXT)
360         $(LINK) $(gctest_LDFLAGS) $(gctest_OBJECTS) $(gctest_LDADD) $(LIBS)
361
362 # This directory's subdirectories are mostly independent; you can cd
363 # into them and run `make' without going through this Makefile.
364 # To change the values of `make' variables: instead of editing Makefiles,
365 # (1) if the variable is set in `config.status', edit `config.status'
366 #     (which will cause the Makefiles to be regenerated when you run `make');
367 # (2) otherwise, pass the desired values on the `make' command line.
368
369 @SET_MAKE@
370
371 all-recursive install-data-recursive install-exec-recursive \
372 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
373 check-recursive installcheck-recursive info-recursive dvi-recursive:
374         @set fnord $(MAKEFLAGS); amf=$$2; \
375         dot_seen=no; \
376         target=`echo $@ | sed s/-recursive//`; \
377         list='$(SUBDIRS)'; for subdir in $$list; do \
378           echo "Making $$target in $$subdir"; \
379           if test "$$subdir" = "."; then \
380             dot_seen=yes; \
381             local_target="$$target-am"; \
382           else \
383             local_target="$$target"; \
384           fi; \
385           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
386            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
387         done; \
388         if test "$$dot_seen" = "no"; then \
389           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
390         fi; test -z "$$fail"
391
392 mostlyclean-recursive clean-recursive distclean-recursive \
393 maintainer-clean-recursive:
394         @set fnord $(MAKEFLAGS); amf=$$2; \
395         dot_seen=no; \
396         rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
397           rev="$$subdir $$rev"; \
398           test "$$subdir" = "." && dot_seen=yes; \
399         done; \
400         test "$$dot_seen" = "no" && rev=". $$rev"; \
401         target=`echo $@ | sed s/-recursive//`; \
402         for subdir in $$rev; do \
403           echo "Making $$target in $$subdir"; \
404           if test "$$subdir" = "."; then \
405             local_target="$$target-am"; \
406           else \
407             local_target="$$target"; \
408           fi; \
409           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
410            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
411         done && test -z "$$fail"
412 tags-recursive:
413         list='$(SUBDIRS)'; for subdir in $$list; do \
414           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
415         done
416
417 tags: TAGS
418
419 ID: $(HEADERS) $(SOURCES) $(LISP)
420         list='$(SOURCES) $(HEADERS)'; \
421         unique=`for i in $$list; do echo $$i; done | \
422           awk '    { files[$$0] = 1; } \
423                END { for (i in files) print i; }'`; \
424         here=`pwd` && cd $(srcdir) \
425           && mkid -f$$here/ID $$unique $(LISP)
426
427 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
428         tags=; \
429         here=`pwd`; \
430         list='$(SUBDIRS)'; for subdir in $$list; do \
431    if test "$$subdir" = .; then :; else \
432             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
433    fi; \
434         done; \
435         list='$(SOURCES) $(HEADERS)'; \
436         unique=`for i in $$list; do echo $$i; done | \
437           awk '    { files[$$0] = 1; } \
438                END { for (i in files) print i; }'`; \
439         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
440           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
441
442 mostlyclean-tags:
443
444 clean-tags:
445
446 distclean-tags:
447         -rm -f TAGS ID
448
449 maintainer-clean-tags:
450
451 distdir = $(PACKAGE)-$(VERSION)
452 top_distdir = $(distdir)
453
454 # This target untars the dist file and tries a VPATH configuration.  Then
455 # it guarantees that the distribution is self-contained by making another
456 # tarfile.
457 distcheck: dist
458         -rm -rf $(distdir)
459         GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
460         mkdir $(distdir)/=build
461         mkdir $(distdir)/=inst
462         dc_install_base=`cd $(distdir)/=inst && pwd`; \
463         cd $(distdir)/=build \
464           && ../configure --srcdir=.. --prefix=$$dc_install_base \
465           && $(MAKE) $(AM_MAKEFLAGS) \
466           && $(MAKE) $(AM_MAKEFLAGS) dvi \
467           && $(MAKE) $(AM_MAKEFLAGS) check \
468           && $(MAKE) $(AM_MAKEFLAGS) install \
469           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
470           && $(MAKE) $(AM_MAKEFLAGS) dist
471         -rm -rf $(distdir)
472         @banner="$(distdir).tar.gz is ready for distribution"; \
473         dashes=`echo "$$banner" | sed s/./=/g`; \
474         echo "$$dashes"; \
475         echo "$$banner"; \
476         echo "$$dashes"
477 dist: distdir
478         -chmod -R a+r $(distdir)
479         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
480         -rm -rf $(distdir)
481 dist-all: distdir
482         -chmod -R a+r $(distdir)
483         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
484         -rm -rf $(distdir)
485 distdir: $(DISTFILES)
486         -rm -rf $(distdir)
487         mkdir $(distdir)
488         -chmod 777 $(distdir)
489         @for file in $(DISTFILES); do \
490           if test -f $$file; then d=.; else d=$(srcdir); fi; \
491           if test -d $$d/$$file; then \
492             cp -pr $$d/$$file $(distdir)/$$file; \
493           else \
494             test -f $(distdir)/$$file \
495             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
496             || cp -p $$d/$$file $(distdir)/$$file || :; \
497           fi; \
498         done
499         for subdir in $(SUBDIRS); do \
500           if test "$$subdir" = .; then :; else \
501             test -d $(distdir)/$$subdir \
502             || mkdir $(distdir)/$$subdir \
503             || exit 1; \
504             chmod 777 $(distdir)/$$subdir; \
505             (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
506               || exit 1; \
507           fi; \
508         done
509 check-TESTS: $(TESTS)
510         @failed=0; all=0; \
511         srcdir=$(srcdir); export srcdir; \
512         for tst in $(TESTS); do \
513           if test -f $$tst; then dir=.; \
514           else dir="$(srcdir)"; fi; \
515           if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
516             all=`expr $$all + 1`; \
517             echo "PASS: $$tst"; \
518           elif test $$? -ne 77; then \
519             all=`expr $$all + 1`; \
520             failed=`expr $$failed + 1`; \
521             echo "FAIL: $$tst"; \
522           fi; \
523         done; \
524         if test "$$failed" -eq 0; then \
525           banner="All $$all tests passed"; \
526         else \
527           banner="$$failed of $$all tests failed"; \
528         fi; \
529         dashes=`echo "$$banner" | sed s/./=/g`; \
530         echo "$$dashes"; \
531         echo "$$banner"; \
532         echo "$$dashes"; \
533         test "$$failed" -eq 0
534 info-am:
535 info: info-recursive
536 dvi-am:
537 dvi: dvi-recursive
538 check-am: $(check_PROGRAMS)
539         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
540 check: check-recursive
541 installcheck-am:
542 installcheck: installcheck-recursive
543 install-info-am: 
544 install-info: install-info-recursive
545 install-exec-am: install-toolexeclibLTLIBRARIES
546 install-exec: install-exec-recursive
547
548 install-data-am:
549 install-data: install-data-recursive
550
551 install-am: all-am
552         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
553 install: install-recursive
554 uninstall-am: uninstall-toolexeclibLTLIBRARIES
555 uninstall: uninstall-recursive
556 all-am: Makefile $(LTLIBRARIES)
557 all-redirect: all-recursive
558 install-strip:
559         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
560 installdirs: installdirs-recursive
561 installdirs-am:
562         $(mkinstalldirs)  $(DESTDIR)$(toolexeclibdir)
563
564
565 mostlyclean-generic:
566
567 clean-generic:
568
569 distclean-generic:
570         -rm -f Makefile $(CONFIG_CLEAN_FILES)
571         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
572
573 maintainer-clean-generic:
574 mostlyclean-am:  mostlyclean-noinstLTLIBRARIES \
575                 mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
576                 mostlyclean-libtool mostlyclean-checkPROGRAMS \
577                 mostlyclean-tags mostlyclean-generic
578
579 mostlyclean: mostlyclean-recursive
580
581 clean-am:  clean-noinstLTLIBRARIES clean-toolexeclibLTLIBRARIES \
582                 clean-compile clean-libtool clean-checkPROGRAMS \
583                 clean-tags clean-generic mostlyclean-am
584
585 clean: clean-recursive
586
587 distclean-am:  distclean-noinstLTLIBRARIES \
588                 distclean-toolexeclibLTLIBRARIES distclean-compile \
589                 distclean-libtool distclean-checkPROGRAMS \
590                 distclean-tags distclean-generic clean-am
591         -rm -f libtool
592
593 distclean: distclean-recursive
594         -rm -f config.status
595
596 maintainer-clean-am:  maintainer-clean-noinstLTLIBRARIES \
597                 maintainer-clean-toolexeclibLTLIBRARIES \
598                 maintainer-clean-compile maintainer-clean-libtool \
599                 maintainer-clean-checkPROGRAMS maintainer-clean-tags \
600                 maintainer-clean-generic distclean-am
601         @echo "This command is intended for maintainers to use;"
602         @echo "it deletes files that may require special tools to rebuild."
603
604 maintainer-clean: maintainer-clean-recursive
605         -rm -f config.status
606
607 .PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
608 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
609 mostlyclean-toolexeclibLTLIBRARIES distclean-toolexeclibLTLIBRARIES \
610 clean-toolexeclibLTLIBRARIES maintainer-clean-toolexeclibLTLIBRARIES \
611 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
612 mostlyclean-compile distclean-compile clean-compile \
613 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
614 clean-libtool maintainer-clean-libtool mostlyclean-checkPROGRAMS \
615 distclean-checkPROGRAMS clean-checkPROGRAMS \
616 maintainer-clean-checkPROGRAMS install-data-recursive \
617 uninstall-data-recursive install-exec-recursive \
618 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
619 all-recursive check-recursive installcheck-recursive info-recursive \
620 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
621 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
622 distclean-tags clean-tags maintainer-clean-tags distdir check-TESTS \
623 info-am info dvi-am dvi check check-am installcheck-am installcheck \
624 install-info-am install-info install-exec-am install-exec \
625 install-data-am install-data install-am install uninstall-am uninstall \
626 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
627 distclean-generic clean-generic maintainer-clean-generic clean \
628 mostlyclean distclean maintainer-clean
629
630 # The following hack produces a warning from automake, but we need it in order 
631 # to build a file from a subdirectory. FIXME.
632 test.o: tests/test.c
633         $(COMPILE) -c $(srcdir)/tests/test.c
634 $(all_objs) : include/private/gcconfig.h include/private/gc_priv.h \
635 include/private/gc_hdrs.h include/gc.h include/gc_gcj.h include/gc_mark.h
636
637 .s.lo:
638         $(LTCOMPILE) -Wp,-P -x assembler-with-cpp -c $<
639
640 # Multilib support.
641 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
642         maintainer-clean-multi
643
644 all-am: all-multi
645 install-am: install-multi
646 mostlyclean-am: mostlyclean-multi
647 clean-am: clean-multi
648 distclean-am: distclean-multi
649 maintainer-clean-am: maintainer-clean-multi
650
651 all-multi:
652         $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
653 install-multi:
654         $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
655 mostlyclean-multi:
656         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
657 clean-multi:
658         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
659 distclean-multi:
660         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
661 maintainer-clean-multi:
662         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
663
664 # Tell versions [3.59,3.63) of GNU make to not export all variables.
665 # Otherwise a system limit (for SysV at least) may be exceeded.
666 .NOEXPORT: