* config.gcc: Remove --enable-altivec support.
[official-gcc.git] / boehm-gc / Makefile.in
blob920e56dfdaedec4ab140a40284034ef943976755
1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
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.
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 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@
110 target_noncanonical = @target_noncanonical@
112 AUTOMAKE_OPTIONS = cygnus
114 SUBDIRS = include
116 # Multilib support variables.
117 MULTISRCTOP =
118 MULTIBUILDTOP =
119 MULTIDIRS =
120 MULTISUBDIR =
121 MULTIDO = true
122 MULTICLEAN = true
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 =
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)
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
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)
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)
155 libgcjgc_convenience_la_LIBADD = @addobjs@
156 libgcjgc_convenience_la_DEPENDENCIES = @addobjs@
158 AM_CXXFLAGS = @GC_CFLAGS@
159 AM_CFLAGS = @GC_CFLAGS@
161 check_PROGRAMS = gctest
162 # Using $< in the above seems to fail with the HP/UX on Itanium make.
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
170 all_objs = @addobjs@ $(libgcjgc_la_OBJECTS)
172 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) \
173 $(AM_CPPFLAGS) $(CPPFLAGS) \
174 $(AM_CFLAGS) $(MY_CFLAGS) $(GC_CFLAGS)
176 LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LDFLAGS) -o $@
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)"
220 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host
222 MAKEOVERRIDES =
223 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
224 CONFIG_CLEAN_FILES =
225 LTLIBRARIES = $(noinst_LTLIBRARIES)
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 configure configure.in
285 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
287 TAR = tar
288 GZIP_ENV = --best
289 SOURCES = $(libgcjgc_la_SOURCES) $(EXTRA_libgcjgc_la_SOURCES) $(libgcjgc_convenience_la_SOURCES) $(EXTRA_libgcjgc_convenience_la_SOURCES)
290 OBJECTS = $(libgcjgc_la_OBJECTS) $(libgcjgc_convenience_la_OBJECTS)
292 all: all-redirect
293 .SUFFIXES:
294 .SUFFIXES: .S .c .lo .o .obj .s
295 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
296 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
298 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
299 cd $(top_builddir) \
300 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
302 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
303 cd $(srcdir) && $(ACLOCAL)
305 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
306 $(SHELL) ./config.status --recheck
307 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
308 cd $(srcdir) && $(AUTOCONF)
310 mostlyclean-noinstLTLIBRARIES:
312 clean-noinstLTLIBRARIES:
313 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
315 distclean-noinstLTLIBRARIES:
317 maintainer-clean-noinstLTLIBRARIES:
319 .c.o:
320 $(COMPILE) -c $<
322 # FIXME: We should only use cygpath when building on Windows,
323 # and only if it is available.
324 .c.obj:
325 $(COMPILE) -c `cygpath -w $<`
327 .s.o:
328 $(COMPILE) -c $<
330 .S.o:
331 $(COMPILE) -c $<
333 mostlyclean-compile:
334 -rm -f *.o core *.core
335 -rm -f *.$(OBJEXT)
337 clean-compile:
339 distclean-compile:
340 -rm -f *.tab.c
342 maintainer-clean-compile:
344 .c.lo:
345 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
347 .S.lo:
348 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
350 mostlyclean-libtool:
351 -rm -f *.lo
353 clean-libtool:
354 -rm -rf .libs _libs
356 distclean-libtool:
358 maintainer-clean-libtool:
360 libgcjgc.la: $(libgcjgc_la_OBJECTS) $(libgcjgc_la_DEPENDENCIES)
361 $(LINK) $(libgcjgc_la_LDFLAGS) $(libgcjgc_la_OBJECTS) $(libgcjgc_la_LIBADD) $(LIBS)
363 libgcjgc_convenience.la: $(libgcjgc_convenience_la_OBJECTS) $(libgcjgc_convenience_la_DEPENDENCIES)
364 $(LINK) $(libgcjgc_convenience_la_LDFLAGS) $(libgcjgc_convenience_la_OBJECTS) $(libgcjgc_convenience_la_LIBADD) $(LIBS)
366 mostlyclean-checkPROGRAMS:
368 clean-checkPROGRAMS:
369 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
371 distclean-checkPROGRAMS:
373 maintainer-clean-checkPROGRAMS:
375 gctest$(EXEEXT): $(gctest_OBJECTS) $(gctest_DEPENDENCIES)
376 @rm -f gctest$(EXEEXT)
377 $(LINK) $(gctest_LDFLAGS) $(gctest_OBJECTS) $(gctest_LDADD) $(LIBS)
379 # This directory's subdirectories are mostly independent; you can cd
380 # into them and run `make' without going through this Makefile.
381 # To change the values of `make' variables: instead of editing Makefiles,
382 # (1) if the variable is set in `config.status', edit `config.status'
383 # (which will cause the Makefiles to be regenerated when you run `make');
384 # (2) otherwise, pass the desired values on the `make' command line.
386 @SET_MAKE@
388 all-recursive install-data-recursive install-exec-recursive \
389 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
390 check-recursive installcheck-recursive info-recursive dvi-recursive:
391 @set fnord $(MAKEFLAGS); amf=$$2; \
392 dot_seen=no; \
393 target=`echo $@ | sed s/-recursive//`; \
394 list='$(SUBDIRS)'; for subdir in $$list; do \
395 echo "Making $$target in $$subdir"; \
396 if test "$$subdir" = "."; then \
397 dot_seen=yes; \
398 local_target="$$target-am"; \
399 else \
400 local_target="$$target"; \
401 fi; \
402 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
403 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
404 done; \
405 if test "$$dot_seen" = "no"; then \
406 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
407 fi; test -z "$$fail"
409 mostlyclean-recursive clean-recursive distclean-recursive \
410 maintainer-clean-recursive:
411 @set fnord $(MAKEFLAGS); amf=$$2; \
412 dot_seen=no; \
413 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
414 rev="$$subdir $$rev"; \
415 test "$$subdir" = "." && dot_seen=yes; \
416 done; \
417 test "$$dot_seen" = "no" && rev=". $$rev"; \
418 target=`echo $@ | sed s/-recursive//`; \
419 for subdir in $$rev; do \
420 echo "Making $$target in $$subdir"; \
421 if test "$$subdir" = "."; then \
422 local_target="$$target-am"; \
423 else \
424 local_target="$$target"; \
425 fi; \
426 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
427 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
428 done && test -z "$$fail"
429 tags-recursive:
430 list='$(SUBDIRS)'; for subdir in $$list; do \
431 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
432 done
434 tags: TAGS
436 ID: $(HEADERS) $(SOURCES) $(LISP)
437 list='$(SOURCES) $(HEADERS)'; \
438 unique=`for i in $$list; do echo $$i; done | \
439 awk ' { files[$$0] = 1; } \
440 END { for (i in files) print i; }'`; \
441 here=`pwd` && cd $(srcdir) \
442 && mkid -f$$here/ID $$unique $(LISP)
444 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
445 tags=; \
446 here=`pwd`; \
447 list='$(SUBDIRS)'; for subdir in $$list; do \
448 if test "$$subdir" = .; then :; else \
449 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
450 fi; \
451 done; \
452 list='$(SOURCES) $(HEADERS)'; \
453 unique=`for i in $$list; do echo $$i; done | \
454 awk ' { files[$$0] = 1; } \
455 END { for (i in files) print i; }'`; \
456 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
457 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
459 mostlyclean-tags:
461 clean-tags:
463 distclean-tags:
464 -rm -f TAGS ID
466 maintainer-clean-tags:
468 distdir = $(PACKAGE)-$(VERSION)
469 top_distdir = $(distdir)
471 # This target untars the dist file and tries a VPATH configuration. Then
472 # it guarantees that the distribution is self-contained by making another
473 # tarfile.
474 distcheck: dist
475 -rm -rf $(distdir)
476 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
477 mkdir $(distdir)/=build
478 mkdir $(distdir)/=inst
479 dc_install_base=`cd $(distdir)/=inst && pwd`; \
480 cd $(distdir)/=build \
481 && ../configure --srcdir=.. --prefix=$$dc_install_base \
482 && $(MAKE) $(AM_MAKEFLAGS) \
483 && $(MAKE) $(AM_MAKEFLAGS) dvi \
484 && $(MAKE) $(AM_MAKEFLAGS) check \
485 && $(MAKE) $(AM_MAKEFLAGS) install \
486 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
487 && $(MAKE) $(AM_MAKEFLAGS) dist
488 -rm -rf $(distdir)
489 @banner="$(distdir).tar.gz is ready for distribution"; \
490 dashes=`echo "$$banner" | sed s/./=/g`; \
491 echo "$$dashes"; \
492 echo "$$banner"; \
493 echo "$$dashes"
494 dist: distdir
495 -chmod -R a+r $(distdir)
496 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
497 -rm -rf $(distdir)
498 dist-all: distdir
499 -chmod -R a+r $(distdir)
500 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
501 -rm -rf $(distdir)
502 distdir: $(DISTFILES)
503 -rm -rf $(distdir)
504 mkdir $(distdir)
505 -chmod 777 $(distdir)
506 @for file in $(DISTFILES); do \
507 if test -f $$file; then d=.; else d=$(srcdir); fi; \
508 if test -d $$d/$$file; then \
509 cp -pr $$d/$$file $(distdir)/$$file; \
510 else \
511 test -f $(distdir)/$$file \
512 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
513 || cp -p $$d/$$file $(distdir)/$$file || :; \
514 fi; \
515 done
516 for subdir in $(SUBDIRS); do \
517 if test "$$subdir" = .; then :; else \
518 test -d $(distdir)/$$subdir \
519 || mkdir $(distdir)/$$subdir \
520 || exit 1; \
521 chmod 777 $(distdir)/$$subdir; \
522 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
523 || exit 1; \
524 fi; \
525 done
526 check-TESTS: $(TESTS)
527 @failed=0; all=0; \
528 srcdir=$(srcdir); export srcdir; \
529 for tst in $(TESTS); do \
530 if test -f $$tst; then dir=.; \
531 else dir="$(srcdir)"; fi; \
532 if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
533 all=`expr $$all + 1`; \
534 echo "PASS: $$tst"; \
535 elif test $$? -ne 77; then \
536 all=`expr $$all + 1`; \
537 failed=`expr $$failed + 1`; \
538 echo "FAIL: $$tst"; \
539 fi; \
540 done; \
541 if test "$$failed" -eq 0; then \
542 banner="All $$all tests passed"; \
543 else \
544 banner="$$failed of $$all tests failed"; \
545 fi; \
546 dashes=`echo "$$banner" | sed s/./=/g`; \
547 echo "$$dashes"; \
548 echo "$$banner"; \
549 echo "$$dashes"; \
550 test "$$failed" -eq 0
551 info-am:
552 info: info-recursive
553 dvi-am:
554 dvi: dvi-recursive
555 check-am: $(check_PROGRAMS)
556 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
557 check: check-recursive
558 installcheck-am:
559 installcheck: installcheck-recursive
560 install-info-am:
561 install-info: install-info-recursive
562 install-exec-am:
563 install-exec: install-exec-recursive
565 install-data-am:
566 install-data: install-data-recursive
568 install-am: all-am
569 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
570 install: install-recursive
571 uninstall-am:
572 uninstall: uninstall-recursive
573 all-am: Makefile $(LTLIBRARIES)
574 all-redirect: all-recursive
575 install-strip:
576 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
577 installdirs: installdirs-recursive
578 installdirs-am:
581 mostlyclean-generic:
583 clean-generic:
585 distclean-generic:
586 -rm -f Makefile $(CONFIG_CLEAN_FILES)
587 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
589 maintainer-clean-generic:
590 mostlyclean-am: mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
591 mostlyclean-libtool mostlyclean-checkPROGRAMS \
592 mostlyclean-tags mostlyclean-generic
594 mostlyclean: mostlyclean-recursive
596 clean-am: clean-noinstLTLIBRARIES clean-compile clean-libtool \
597 clean-checkPROGRAMS clean-tags clean-generic \
598 mostlyclean-am
600 clean: clean-recursive
602 distclean-am: distclean-noinstLTLIBRARIES distclean-compile \
603 distclean-libtool distclean-checkPROGRAMS \
604 distclean-tags distclean-generic clean-am
605 -rm -f libtool
607 distclean: distclean-recursive
608 -rm -f config.status
610 maintainer-clean-am: maintainer-clean-noinstLTLIBRARIES \
611 maintainer-clean-compile maintainer-clean-libtool \
612 maintainer-clean-checkPROGRAMS maintainer-clean-tags \
613 maintainer-clean-generic distclean-am
614 @echo "This command is intended for maintainers to use;"
615 @echo "it deletes files that may require special tools to rebuild."
617 maintainer-clean: maintainer-clean-recursive
618 -rm -f config.status
620 .PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
621 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
622 mostlyclean-compile distclean-compile clean-compile \
623 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
624 clean-libtool maintainer-clean-libtool mostlyclean-checkPROGRAMS \
625 distclean-checkPROGRAMS clean-checkPROGRAMS \
626 maintainer-clean-checkPROGRAMS install-data-recursive \
627 uninstall-data-recursive install-exec-recursive \
628 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
629 all-recursive check-recursive installcheck-recursive info-recursive \
630 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
631 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
632 distclean-tags clean-tags maintainer-clean-tags distdir check-TESTS \
633 info-am info dvi-am dvi check check-am installcheck-am installcheck \
634 install-info-am install-info install-exec-am install-exec \
635 install-data-am install-data install-am install uninstall-am uninstall \
636 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
637 distclean-generic clean-generic maintainer-clean-generic clean \
638 mostlyclean distclean maintainer-clean
640 # The following hack produces a warning from automake, but we need it in order
641 # to build a file from a subdirectory. FIXME.
642 test.o: tests/test.c
643 $(COMPILE) -c $(srcdir)/tests/test.c
644 $(all_objs) : include/private/gcconfig.h include/private/gc_priv.h \
645 include/private/gc_hdrs.h include/gc.h include/gc_gcj.h \
646 include/gc_pthread_redirects.h include/gc_config_macros.h \
647 include/gc_mark.h @addincludes@
649 .s.lo:
650 $(LTCOMPILE) -Wp,-P -x assembler-with-cpp -c $<
652 # Multilib support.
653 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
654 maintainer-clean-multi
656 all-am: all-multi
657 install-am: install-multi
658 mostlyclean-am: mostlyclean-multi
659 clean-am: clean-multi
660 distclean-am: distclean-multi
661 maintainer-clean-am: maintainer-clean-multi
663 all-multi:
664 : $(MAKE) ; exec $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
665 install-multi:
666 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
667 mostlyclean-multi:
668 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
669 clean-multi:
670 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
671 distclean-multi:
672 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
673 maintainer-clean-multi:
674 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
676 # Tell versions [3.59,3.63) of GNU make to not export all variables.
677 # Otherwise a system limit (for SysV at least) may be exceeded.
678 .NOEXPORT: