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
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
64 target_alias = @target_alias@
65 target_triplet = @target@
72 CXXINCLUDES = @CXXINCLUDES@
75 EXTRA_TEST_LIBS = @EXTRA_TEST_LIBS@
78 GC_CFLAGS = @GC_CFLAGS@
84 MY_CFLAGS = @MY_CFLAGS@
90 THREADLIBS = @THREADLIBS@
93 gc_basedir = @gc_basedir@
94 mkinstalldirs = @mkinstalldirs@
95 target_all = @target_all@
97 AUTOMAKE_OPTIONS = cygnus
101 # Multilib support variables.
108 @USE_LIBDIR_TRUE@toolexeclibdir = $(libdir)$(MULTISUBDIR)
109 @USE_LIBDIR_FALSE@toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
110 @USE_LIBDIR_FALSE@toolexecdir = $(exec_prefix)/$(target_alias)
112 toolexeclib_LTLIBRARIES = $(target_all)
113 EXTRA_LTLIBRARIES = libgcjgc.la
114 libgcjgc_la_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c irix_threads.c linux_threads.c malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c solaris_pthreads.c solaris_threads.c specific.c stubborn.c typd_mlc.c
117 # Include THREADLIBS here to ensure that the correct versions of
118 # linuxthread semaphore functions get linked:
119 libgcjgc_la_LIBADD = @addobjs@ $(THREADLIBS)
120 libgcjgc_la_DEPENDENCIES = @addobjs@
121 libgcjgc_la_LDFLAGS = -version-info 1:1:0 -rpath $(toolexeclibdir)
123 EXTRA_libgcjgc_la_SOURCES = alpha_mach_dep.s mips_sgi_mach_dep.s mips_ultrix_mach_dep.s powerpc_macosx_mach_dep.s rs6000_mach_dep.s sparc_mach_dep.s sparc_netbsd_mach_dep.s sparc_sunos4_mach_dep.s
126 AM_CXXFLAGS = @GC_CFLAGS@
128 AM_CFLAGS = @GC_CFLAGS@
130 check_PROGRAMS = gctest
131 gctest_OBJECTS = test.o
132 gctest_LDADD = ./libgcjgc.la $(THREADLIBS) $(EXTRA_TEST_LIBS)
133 gctest_LDFLAGS = -shared-libgcc
134 TESTS_ENVIRONMENT = LD_LIBRARY_PATH=../../$(MULTIBUILDTOP)gcc
137 all_objs = @addobjs@ $(libgcjgc_la_OBJECTS)
139 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(MY_CFLAGS) $(GC_CFLAGS)
141 LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LDFLAGS) -o $@
143 # Work around what appears to be a GNU make bug handling MAKEFLAGS
144 # values defined in terms of make variables, as is the case for CC and
145 # friends when we are called from the top level Makefile.
146 AM_MAKEFLAGS = "AR_FLAGS=$(AR_FLAGS)" "CC_FOR_BUILD=$(CC_FOR_BUILD)" "CFLAGS=$(CFLAGS)" "CXXFLAGS=$(CXXFLAGS)" "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" "INSTALL=$(INSTALL)" "INSTALL_DATA=$(INSTALL_DATA)" "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" "LDFLAGS=$(LDFLAGS)" "LIBCFLAGS=$(LIBCFLAGS)" "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" "MAKE=$(MAKE)" "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" "PICFLAG=$(PICFLAG)" "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" "SHELL=$(SHELL)" "EXPECT=$(EXPECT)" "RUNTEST=$(RUNTEST)" "RUNTESTFLAGS=$(RUNTESTFLAGS)" "exec_prefix=$(exec_prefix)" "infodir=$(infodir)" "libdir=$(libdir)" "prefix=$(prefix)" "tooldir=$(tooldir)" "AR=$(AR)" "AS=$(AS)" "CC=$(CC)" "CXX=$(CXX)" "LD=$(LD)" "LIBCFLAGS=$(LIBCFLAGS)" "NM=$(NM)" "PICFLAG=$(PICFLAG)" "RANLIB=$(RANLIB)" "DESTDIR=$(DESTDIR)"
149 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host
152 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
154 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
157 DEFS = @DEFS@ -I. -I$(srcdir)
158 CPPFLAGS = @CPPFLAGS@
161 libgcjgc_la_OBJECTS = allchblk.lo alloc.lo blacklst.lo checksums.lo \
162 dbg_mlc.lo dyn_load.lo finalize.lo gc_dlopen.lo gcj_mlc.lo headers.lo \
163 irix_threads.lo linux_threads.lo malloc.lo mallocx.lo mark.lo \
164 mark_rts.lo misc.lo new_hblk.lo obj_map.lo os_dep.lo pcr_interface.lo \
165 ptr_chck.lo real_malloc.lo reclaim.lo solaris_pthreads.lo \
166 solaris_threads.lo specific.lo stubborn.lo typd_mlc.lo
167 check_PROGRAMS = gctest$(EXEEXT)
168 gctest_DEPENDENCIES = ./libgcjgc.la
170 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
172 DIST_COMMON = ChangeLog Makefile.am Makefile.in acinclude.m4 aclocal.m4 \
173 config.guess config.sub configure configure.in install-sh ltconfig \
174 ltmain.sh mkinstalldirs
177 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
181 SOURCES = $(libgcjgc_la_SOURCES) $(EXTRA_libgcjgc_la_SOURCES)
182 OBJECTS = $(libgcjgc_la_OBJECTS)
186 .SUFFIXES: .S .c .lo .o .obj .s
187 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
188 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
190 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
192 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
194 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
195 cd $(srcdir) && $(ACLOCAL)
197 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
198 $(SHELL) ./config.status --recheck
199 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
200 cd $(srcdir) && $(AUTOCONF)
202 mostlyclean-toolexeclibLTLIBRARIES:
204 clean-toolexeclibLTLIBRARIES:
205 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
207 distclean-toolexeclibLTLIBRARIES:
209 maintainer-clean-toolexeclibLTLIBRARIES:
211 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
213 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
214 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
215 if test -f $$p; then \
216 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
217 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
221 uninstall-toolexeclibLTLIBRARIES:
223 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
224 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
230 # FIXME: We should only use cygpath when building on Windows,
231 # and only if it is available.
233 $(COMPILE) -c `cygpath -w $<`
242 -rm -f *.o core *.core
250 maintainer-clean-compile:
253 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
256 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
266 maintainer-clean-libtool:
268 libgcjgc.la: $(libgcjgc_la_OBJECTS) $(libgcjgc_la_DEPENDENCIES)
269 $(LINK) $(libgcjgc_la_LDFLAGS) $(libgcjgc_la_OBJECTS) $(libgcjgc_la_LIBADD) $(LIBS)
271 mostlyclean-checkPROGRAMS:
274 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
276 distclean-checkPROGRAMS:
278 maintainer-clean-checkPROGRAMS:
280 gctest$(EXEEXT): $(gctest_OBJECTS) $(gctest_DEPENDENCIES)
281 @rm -f gctest$(EXEEXT)
282 $(LINK) $(gctest_LDFLAGS) $(gctest_OBJECTS) $(gctest_LDADD) $(LIBS)
284 # This directory's subdirectories are mostly independent; you can cd
285 # into them and run `make' without going through this Makefile.
286 # To change the values of `make' variables: instead of editing Makefiles,
287 # (1) if the variable is set in `config.status', edit `config.status'
288 # (which will cause the Makefiles to be regenerated when you run `make');
289 # (2) otherwise, pass the desired values on the `make' command line.
293 all-recursive install-data-recursive install-exec-recursive \
294 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
295 check-recursive installcheck-recursive info-recursive dvi-recursive:
296 @set fnord $(MAKEFLAGS); amf=$$2; \
298 target=`echo $@ | sed s/-recursive//`; \
299 list='$(SUBDIRS)'; for subdir in $$list; do \
300 echo "Making $$target in $$subdir"; \
301 if test "$$subdir" = "."; then \
303 local_target="$$target-am"; \
305 local_target="$$target"; \
307 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
308 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
310 if test "$$dot_seen" = "no"; then \
311 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
314 mostlyclean-recursive clean-recursive distclean-recursive \
315 maintainer-clean-recursive:
316 @set fnord $(MAKEFLAGS); amf=$$2; \
318 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
319 rev="$$subdir $$rev"; \
320 test "$$subdir" = "." && dot_seen=yes; \
322 test "$$dot_seen" = "no" && rev=". $$rev"; \
323 target=`echo $@ | sed s/-recursive//`; \
324 for subdir in $$rev; do \
325 echo "Making $$target in $$subdir"; \
326 if test "$$subdir" = "."; then \
327 local_target="$$target-am"; \
329 local_target="$$target"; \
331 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
332 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
333 done && test -z "$$fail"
335 list='$(SUBDIRS)'; for subdir in $$list; do \
336 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
341 ID: $(HEADERS) $(SOURCES) $(LISP)
342 list='$(SOURCES) $(HEADERS)'; \
343 unique=`for i in $$list; do echo $$i; done | \
344 awk ' { files[$$0] = 1; } \
345 END { for (i in files) print i; }'`; \
346 here=`pwd` && cd $(srcdir) \
347 && mkid -f$$here/ID $$unique $(LISP)
349 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
352 list='$(SUBDIRS)'; for subdir in $$list; do \
353 if test "$$subdir" = .; then :; else \
354 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
357 list='$(SOURCES) $(HEADERS)'; \
358 unique=`for i in $$list; do echo $$i; done | \
359 awk ' { files[$$0] = 1; } \
360 END { for (i in files) print i; }'`; \
361 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
362 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
371 maintainer-clean-tags:
373 distdir = $(PACKAGE)-$(VERSION)
374 top_distdir = $(distdir)
376 # This target untars the dist file and tries a VPATH configuration. Then
377 # it guarantees that the distribution is self-contained by making another
381 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
382 mkdir $(distdir)/=build
383 mkdir $(distdir)/=inst
384 dc_install_base=`cd $(distdir)/=inst && pwd`; \
385 cd $(distdir)/=build \
386 && ../configure --srcdir=.. --prefix=$$dc_install_base \
387 && $(MAKE) $(AM_MAKEFLAGS) \
388 && $(MAKE) $(AM_MAKEFLAGS) dvi \
389 && $(MAKE) $(AM_MAKEFLAGS) check \
390 && $(MAKE) $(AM_MAKEFLAGS) install \
391 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
392 && $(MAKE) $(AM_MAKEFLAGS) dist
394 @banner="$(distdir).tar.gz is ready for distribution"; \
395 dashes=`echo "$$banner" | sed s/./=/g`; \
400 -chmod -R a+r $(distdir)
401 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
404 -chmod -R a+r $(distdir)
405 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
407 distdir: $(DISTFILES)
410 -chmod 777 $(distdir)
411 @for file in $(DISTFILES); do \
412 if test -f $$file; then d=.; else d=$(srcdir); fi; \
413 if test -d $$d/$$file; then \
414 cp -pr $$d/$$file $(distdir)/$$file; \
416 test -f $(distdir)/$$file \
417 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
418 || cp -p $$d/$$file $(distdir)/$$file || :; \
421 for subdir in $(SUBDIRS); do \
422 if test "$$subdir" = .; then :; else \
423 test -d $(distdir)/$$subdir \
424 || mkdir $(distdir)/$$subdir \
426 chmod 777 $(distdir)/$$subdir; \
427 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
431 check-TESTS: $(TESTS)
433 srcdir=$(srcdir); export srcdir; \
434 for tst in $(TESTS); do \
435 if test -f $$tst; then dir=.; \
436 else dir="$(srcdir)"; fi; \
437 if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
438 all=`expr $$all + 1`; \
439 echo "PASS: $$tst"; \
440 elif test $$? -ne 77; then \
441 all=`expr $$all + 1`; \
442 failed=`expr $$failed + 1`; \
443 echo "FAIL: $$tst"; \
446 if test "$$failed" -eq 0; then \
447 banner="All $$all tests passed"; \
449 banner="$$failed of $$all tests failed"; \
451 dashes=`echo "$$banner" | sed s/./=/g`; \
455 test "$$failed" -eq 0
460 check-am: $(check_PROGRAMS)
461 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
462 check: check-recursive
464 installcheck: installcheck-recursive
466 install-info: install-info-recursive
467 install-exec-am: install-toolexeclibLTLIBRARIES
468 install-exec: install-exec-recursive
471 install-data: install-data-recursive
474 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
475 install: install-recursive
476 uninstall-am: uninstall-toolexeclibLTLIBRARIES
477 uninstall: uninstall-recursive
478 all-am: Makefile $(LTLIBRARIES)
479 all-redirect: all-recursive
481 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
482 installdirs: installdirs-recursive
484 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
492 -rm -f Makefile $(CONFIG_CLEAN_FILES)
493 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
495 maintainer-clean-generic:
496 mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
497 mostlyclean-libtool mostlyclean-checkPROGRAMS \
498 mostlyclean-tags mostlyclean-generic
500 mostlyclean: mostlyclean-recursive
502 clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
503 clean-checkPROGRAMS clean-tags clean-generic \
506 clean: clean-recursive
508 distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
509 distclean-libtool distclean-checkPROGRAMS \
510 distclean-tags distclean-generic clean-am
513 distclean: distclean-recursive
516 maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
517 maintainer-clean-compile maintainer-clean-libtool \
518 maintainer-clean-checkPROGRAMS maintainer-clean-tags \
519 maintainer-clean-generic distclean-am
520 @echo "This command is intended for maintainers to use;"
521 @echo "it deletes files that may require special tools to rebuild."
523 maintainer-clean: maintainer-clean-recursive
526 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
527 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
528 maintainer-clean-toolexeclibLTLIBRARIES \
529 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
530 mostlyclean-compile distclean-compile clean-compile \
531 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
532 clean-libtool maintainer-clean-libtool mostlyclean-checkPROGRAMS \
533 distclean-checkPROGRAMS clean-checkPROGRAMS \
534 maintainer-clean-checkPROGRAMS install-data-recursive \
535 uninstall-data-recursive install-exec-recursive \
536 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
537 all-recursive check-recursive installcheck-recursive info-recursive \
538 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
539 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
540 distclean-tags clean-tags maintainer-clean-tags distdir check-TESTS \
541 info-am info dvi-am dvi check check-am installcheck-am installcheck \
542 install-info-am install-info install-exec-am install-exec \
543 install-data-am install-data install-am install uninstall-am uninstall \
544 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
545 distclean-generic clean-generic maintainer-clean-generic clean \
546 mostlyclean distclean maintainer-clean
548 # The following hack produces a warning from automake, but we need it in order
549 # to build a file from a subdirectory. FIXME.
552 $(all_objs) : include/private/gcconfig.h include/private/gc_priv.h \
553 include/private/gc_hdrs.h include/gc.h include/gc_gcj.h include/gc_mark.h
556 $(LTCOMPILE) -Wp,-P -x assembler-with-cpp -c $<
559 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
560 maintainer-clean-multi
563 install-am: install-multi
564 mostlyclean-am: mostlyclean-multi
565 clean-am: clean-multi
566 distclean-am: distclean-multi
567 maintainer-clean-am: maintainer-clean-multi
570 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
572 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
574 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
576 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
578 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
579 maintainer-clean-multi:
580 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
582 # Tell versions [3.59,3.63) of GNU make to not export all variables.
583 # Otherwise a system limit (for SysV at least) may be exceeded.