OSDN Git Service

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