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
99 # Multilib support variables.
106 @USE_LIBDIR_TRUE@toolexeclibdir = \
107 @USE_LIBDIR_TRUE@$(libdir)$(MULTISUBDIR)
108 @USE_LIBDIR_FALSE@toolexeclibdir = \
109 @USE_LIBDIR_FALSE@$(toolexecdir)/lib$(MULTISUBDIR)
110 @USE_LIBDIR_FALSE@toolexecdir = \
111 @USE_LIBDIR_FALSE@$(exec_prefix)/$(target_alias)
113 toolexeclib_LTLIBRARIES = $(target_all)
114 EXTRA_LTLIBRARIES = libgcjgc.la
115 libgcjgc_la_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
122 # Include THREADLIBS here to ensure that the correct versions of
123 # linuxthread semaphore functions get linked:
124 libgcjgc_la_LIBADD = @addobjs@ $(THREADLIBS)
125 libgcjgc_la_DEPENDENCIES = @addobjs@
126 libgcjgc_la_LDFLAGS = -version-info 1:1:0 -rpath $(toolexeclibdir)
128 EXTRA_libgcjgc_la_SOURCES = alpha_mach_dep.s \
129 mips_sgi_mach_dep.s mips_ultrix_mach_dep.s powerpc_macosx_mach_dep.s \
130 rs6000_mach_dep.s sparc_mach_dep.s sparc_netbsd_mach_dep.s \
131 sparc_sunos4_mach_dep.s
134 AM_CXXFLAGS = @GC_CFLAGS@
136 AM_CFLAGS = @GC_CFLAGS@
138 check_PROGRAMS = gctest
139 gctest_OBJECTS = test.o
140 gctest_LDADD = ./libgcjgc.la $(THREADLIBS) $(EXTRA_TEST_LIBS)
141 gctest_LDFLAGS = -shared-libgcc
142 TESTS_ENVIRONMENT = LD_LIBRARY_PATH=../../$(MULTIBUILDTOP)gcc
145 all_objs = @addobjs@ $(libgcjgc_la_OBJECTS)
147 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) \
148 $(AM_CPPFLAGS) $(CPPFLAGS) \
149 $(AM_CFLAGS) $(MY_CFLAGS) $(GC_CFLAGS)
151 LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LDFLAGS) -o $@
153 # Work around what appears to be a GNU make bug handling MAKEFLAGS
154 # values defined in terms of make variables, as is the case for CC and
155 # friends when we are called from the top level Makefile.
157 "AR_FLAGS=$(AR_FLAGS)" \
158 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
160 "CXXFLAGS=$(CXXFLAGS)" \
161 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
162 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
163 "INSTALL=$(INSTALL)" \
164 "INSTALL_DATA=$(INSTALL_DATA)" \
165 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
166 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
167 "LDFLAGS=$(LDFLAGS)" \
168 "LIBCFLAGS=$(LIBCFLAGS)" \
169 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
171 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
172 "PICFLAG=$(PICFLAG)" \
173 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
176 "RUNTEST=$(RUNTEST)" \
177 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
178 "exec_prefix=$(exec_prefix)" \
179 "infodir=$(infodir)" \
182 "tooldir=$(tooldir)" \
188 "LIBCFLAGS=$(LIBCFLAGS)" \
190 "PICFLAG=$(PICFLAG)" \
195 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host
198 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
200 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
203 DEFS = @DEFS@ -I. -I$(srcdir)
204 CPPFLAGS = @CPPFLAGS@
207 libgcjgc_la_OBJECTS = allchblk.lo alloc.lo blacklst.lo checksums.lo \
208 dbg_mlc.lo dyn_load.lo finalize.lo gc_dlopen.lo gcj_mlc.lo headers.lo \
209 irix_threads.lo linux_threads.lo malloc.lo mallocx.lo mark.lo \
210 mark_rts.lo misc.lo new_hblk.lo obj_map.lo os_dep.lo pcr_interface.lo \
211 ptr_chck.lo real_malloc.lo reclaim.lo solaris_pthreads.lo \
212 solaris_threads.lo specific.lo stubborn.lo typd_mlc.lo
213 check_PROGRAMS = gctest$(EXEEXT)
214 gctest_DEPENDENCIES = ./libgcjgc.la
216 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
218 DIST_COMMON = ChangeLog Makefile.am Makefile.in acinclude.m4 aclocal.m4 \
219 config.guess config.sub configure configure.in install-sh ltconfig \
220 ltmain.sh mkinstalldirs
223 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
227 SOURCES = $(libgcjgc_la_SOURCES) $(EXTRA_libgcjgc_la_SOURCES)
228 OBJECTS = $(libgcjgc_la_OBJECTS)
232 .SUFFIXES: .S .c .lo .o .obj .s
233 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
234 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
236 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
238 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
240 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
241 cd $(srcdir) && $(ACLOCAL)
243 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
244 $(SHELL) ./config.status --recheck
245 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
246 cd $(srcdir) && $(AUTOCONF)
248 mostlyclean-toolexeclibLTLIBRARIES:
250 clean-toolexeclibLTLIBRARIES:
251 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
253 distclean-toolexeclibLTLIBRARIES:
255 maintainer-clean-toolexeclibLTLIBRARIES:
257 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
259 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
260 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
261 if test -f $$p; then \
262 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
263 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
267 uninstall-toolexeclibLTLIBRARIES:
269 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
270 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
276 # FIXME: We should only use cygpath when building on Windows,
277 # and only if it is available.
279 $(COMPILE) -c `cygpath -w $<`
288 -rm -f *.o core *.core
296 maintainer-clean-compile:
299 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
302 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
312 maintainer-clean-libtool:
314 libgcjgc.la: $(libgcjgc_la_OBJECTS) $(libgcjgc_la_DEPENDENCIES)
315 $(LINK) $(libgcjgc_la_LDFLAGS) $(libgcjgc_la_OBJECTS) $(libgcjgc_la_LIBADD) $(LIBS)
317 mostlyclean-checkPROGRAMS:
320 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
322 distclean-checkPROGRAMS:
324 maintainer-clean-checkPROGRAMS:
326 gctest$(EXEEXT): $(gctest_OBJECTS) $(gctest_DEPENDENCIES)
327 @rm -f gctest$(EXEEXT)
328 $(LINK) $(gctest_LDFLAGS) $(gctest_OBJECTS) $(gctest_LDADD) $(LIBS)
332 ID: $(HEADERS) $(SOURCES) $(LISP)
333 list='$(SOURCES) $(HEADERS)'; \
334 unique=`for i in $$list; do echo $$i; done | \
335 awk ' { files[$$0] = 1; } \
336 END { for (i in files) print i; }'`; \
337 here=`pwd` && cd $(srcdir) \
338 && mkid -f$$here/ID $$unique $(LISP)
340 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
343 list='$(SOURCES) $(HEADERS)'; \
344 unique=`for i in $$list; do echo $$i; done | \
345 awk ' { files[$$0] = 1; } \
346 END { for (i in files) print i; }'`; \
347 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
348 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
357 maintainer-clean-tags:
359 distdir = $(PACKAGE)-$(VERSION)
360 top_distdir = $(distdir)
362 # This target untars the dist file and tries a VPATH configuration. Then
363 # it guarantees that the distribution is self-contained by making another
367 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
368 mkdir $(distdir)/=build
369 mkdir $(distdir)/=inst
370 dc_install_base=`cd $(distdir)/=inst && pwd`; \
371 cd $(distdir)/=build \
372 && ../configure --srcdir=.. --prefix=$$dc_install_base \
373 && $(MAKE) $(AM_MAKEFLAGS) \
374 && $(MAKE) $(AM_MAKEFLAGS) dvi \
375 && $(MAKE) $(AM_MAKEFLAGS) check \
376 && $(MAKE) $(AM_MAKEFLAGS) install \
377 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
378 && $(MAKE) $(AM_MAKEFLAGS) dist
380 @banner="$(distdir).tar.gz is ready for distribution"; \
381 dashes=`echo "$$banner" | sed s/./=/g`; \
386 -chmod -R a+r $(distdir)
387 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
390 -chmod -R a+r $(distdir)
391 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
393 distdir: $(DISTFILES)
396 -chmod 777 $(distdir)
397 @for file in $(DISTFILES); do \
398 if test -f $$file; then d=.; else d=$(srcdir); fi; \
399 if test -d $$d/$$file; then \
400 cp -pr $$/$$file $(distdir)/$$file; \
402 test -f $(distdir)/$$file \
403 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
404 || cp -p $$d/$$file $(distdir)/$$file || :; \
407 check-TESTS: $(TESTS)
409 srcdir=$(srcdir); export srcdir; \
410 for tst in $(TESTS); do \
411 if test -f $$tst; then dir=.; \
412 else dir="$(srcdir)"; fi; \
413 if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
414 all=`expr $$all + 1`; \
415 echo "PASS: $$tst"; \
416 elif test $$? -ne 77; then \
417 all=`expr $$all + 1`; \
418 failed=`expr $$failed + 1`; \
419 echo "FAIL: $$tst"; \
422 if test "$$failed" -eq 0; then \
423 banner="All $$all tests passed"; \
425 banner="$$failed of $$all tests failed"; \
427 dashes=`echo "$$banner" | sed s/./=/g`; \
431 test "$$failed" -eq 0
436 check-am: $(check_PROGRAMS)
437 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
440 installcheck: installcheck-am
442 install-info: install-info-am
443 install-exec-am: install-toolexeclibLTLIBRARIES
444 install-exec: install-exec-am
447 install-data: install-data-am
450 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
452 uninstall-am: uninstall-toolexeclibLTLIBRARIES
453 uninstall: uninstall-am
454 all-am: Makefile $(LTLIBRARIES)
457 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
459 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
467 -rm -f Makefile $(CONFIG_CLEAN_FILES)
468 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
470 maintainer-clean-generic:
471 mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
472 mostlyclean-libtool mostlyclean-checkPROGRAMS \
473 mostlyclean-tags mostlyclean-generic
475 mostlyclean: mostlyclean-am
477 clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
478 clean-checkPROGRAMS clean-tags clean-generic \
483 distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
484 distclean-libtool distclean-checkPROGRAMS \
485 distclean-tags distclean-generic clean-am
488 distclean: distclean-am
491 maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
492 maintainer-clean-compile maintainer-clean-libtool \
493 maintainer-clean-checkPROGRAMS maintainer-clean-tags \
494 maintainer-clean-generic distclean-am
495 @echo "This command is intended for maintainers to use;"
496 @echo "it deletes files that may require special tools to rebuild."
498 maintainer-clean: maintainer-clean-am
501 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
502 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
503 maintainer-clean-toolexeclibLTLIBRARIES \
504 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
505 mostlyclean-compile distclean-compile clean-compile \
506 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
507 clean-libtool maintainer-clean-libtool mostlyclean-checkPROGRAMS \
508 distclean-checkPROGRAMS clean-checkPROGRAMS \
509 maintainer-clean-checkPROGRAMS tags mostlyclean-tags distclean-tags \
510 clean-tags maintainer-clean-tags distdir check-TESTS info-am info \
511 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
512 install-info install-exec-am install-exec install-data-am install-data \
513 install-am install uninstall-am uninstall all-redirect all-am all \
514 installdirs mostlyclean-generic distclean-generic clean-generic \
515 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
517 # The following hack produces a warning from automake, but we need it in order
518 # to build a file from a subdirectory. FIXME.
521 $(all_objs) : include/private/gcconfig.h include/private/gc_priv.h \
522 include/private/gc_hdrs.h include/gc.h include/gc_gcj.h include/gc_mark.h
525 $(LTCOMPILE) -Wp,-P -x assembler-with-cpp -c $<
528 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
529 maintainer-clean-multi
532 install-am: install-multi
533 mostlyclean-am: mostlyclean-multi
534 clean-am: clean-multi
535 distclean-am: distclean-multi
536 maintainer-clean-am: maintainer-clean-multi
539 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
541 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
543 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
545 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
547 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
548 maintainer-clean-multi:
549 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
551 # Tell versions [3.59,3.63) of GNU make to not export all variables.
552 # Otherwise a system limit (for SysV at least) may be exceeded.