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