1999-04-07 10:01:42 +02:00
|
|
|
## Process this file with automake to produce Makefile.in.
|
|
|
|
|
|
|
|
## FIXME: `make dist' in this directory will not currently work. Many
|
|
|
|
## files that should be in the distribution are not mentioned in this
|
|
|
|
## Makefile.am.
|
|
|
|
|
2004-06-16 09:35:00 +02:00
|
|
|
AUTOMAKE_OPTIONS = cygnus subdir-objects
|
2004-11-05 02:51:50 +01:00
|
|
|
ACLOCAL_AMFLAGS = -I .. -I ../config
|
1999-04-07 10:01:42 +02:00
|
|
|
|
2002-02-20 09:46:41 +01:00
|
|
|
SUBDIRS = include
|
|
|
|
|
2002-04-23 05:37:27 +02:00
|
|
|
noinst_LTLIBRARIES = libgcjgc.la libgcjgc_convenience.la
|
2002-03-17 01:35:21 +01:00
|
|
|
|
2003-07-28 06:18:23 +02:00
|
|
|
if POWERPC_DARWIN
|
2006-01-25 20:37:26 +01:00
|
|
|
asm_libgcjgc_sources = powerpc_darwin_mach_dep.s
|
2003-07-28 06:18:23 +02:00
|
|
|
else
|
2006-01-25 20:37:26 +01:00
|
|
|
asm_libgcjgc_sources =
|
2003-07-28 06:18:23 +02:00
|
|
|
endif
|
|
|
|
|
2006-01-25 04:03:14 +01:00
|
|
|
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 \
|
2003-07-28 06:18:23 +02:00
|
|
|
malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c \
|
Imported version version 6.0alpha7.
* README, README.Mac, README.OS2, README.QUICK, README.alpha,
README.amiga, README.debugging, README.dj, README.hp, README.linux,
README.rs6000, README.sgi, README.solaris2, README.uts,
README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
hpux_irix_threads.c, makefile.depend, nursery.c,
solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
files.
From-SVN: r42379
2001-05-21 10:35:14 +02:00
|
|
|
obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c \
|
2007-07-02 16:56:58 +02:00
|
|
|
specific.c stubborn.c typd_mlc.c \
|
2003-07-28 06:18:23 +02:00
|
|
|
backgraph.c win32_threads.c \
|
|
|
|
pthread_support.c pthread_stop_world.c darwin_stop_world.c \
|
2006-01-25 04:03:14 +01:00
|
|
|
$(asm_libgcjgc_sources)
|
|
|
|
|
|
|
|
libgcjgc_convenience_la_SOURCES = $(libgcjgc_la_SOURCES)
|
2000-12-30 13:18:39 +01:00
|
|
|
|
2004-06-16 09:35:00 +02:00
|
|
|
EXTRA_DIST = alpha_mach_dep.S \
|
2003-07-28 06:18:23 +02:00
|
|
|
mips_sgi_mach_dep.s mips_ultrix_mach_dep.s powerpc_darwin_mach_dep.s \
|
2002-03-17 01:35:21 +01:00
|
|
|
rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s \
|
|
|
|
sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
|
|
|
|
|
2007-05-20 12:34:05 +02:00
|
|
|
extra_ldflags_libgc = @extra_ldflags_libgc@
|
|
|
|
|
2000-12-30 13:18:39 +01:00
|
|
|
# Include THREADLIBS here to ensure that the correct versions of
|
|
|
|
# linuxthread semaphore functions get linked:
|
2006-01-25 04:03:14 +01:00
|
|
|
libgcjgc_la_LIBADD = @addobjs@ $(THREADLIBS) $(UNWINDLIBS)
|
1999-04-26 16:15:05 +02:00
|
|
|
libgcjgc_la_DEPENDENCIES = @addobjs@
|
2007-05-20 12:34:05 +02:00
|
|
|
libgcjgc_la_LDFLAGS = $(extra_ldflags_libgc) -version-info 1:2:0 -rpath $(toolexeclibdir)
|
2009-09-11 07:02:20 +02:00
|
|
|
libgcjgc_la_LINK = $(LINK) $(libgcjgc_la_LDFLAGS)
|
1999-04-07 10:01:42 +02:00
|
|
|
|
2002-03-17 01:35:21 +01:00
|
|
|
libgcjgc_convenience_la_LIBADD = @addobjs@
|
|
|
|
libgcjgc_convenience_la_DEPENDENCIES = @addobjs@
|
1999-04-07 10:01:42 +02:00
|
|
|
|
2001-08-18 03:04:43 +02:00
|
|
|
AM_CXXFLAGS = @GC_CFLAGS@
|
|
|
|
AM_CFLAGS = @GC_CFLAGS@
|
1999-04-07 10:01:42 +02:00
|
|
|
|
|
|
|
check_PROGRAMS = gctest
|
2004-06-16 09:35:00 +02:00
|
|
|
gctest_SOURCES = tests/test.c
|
2009-09-11 07:02:20 +02:00
|
|
|
gctest_LDADD = libgcjgc.la $(THREADLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS)
|
2001-03-22 20:03:01 +01:00
|
|
|
gctest_LDFLAGS = -shared-libgcc
|
2009-09-11 07:02:20 +02:00
|
|
|
gctest_LINK = $(LINK) $(gctest_LDFLAGS)
|
2001-03-17 02:01:29 +01:00
|
|
|
TESTS_ENVIRONMENT = LD_LIBRARY_PATH=../../$(MULTIBUILDTOP)gcc
|
1999-11-02 00:15:51 +01:00
|
|
|
TESTS = gctest
|
1999-04-07 10:01:42 +02:00
|
|
|
|
|
|
|
## FIXME: we shouldn't have to do this, but automake forces us to.
|
1999-06-30 14:25:07 +02:00
|
|
|
.s.lo:
|
1999-07-19 21:17:22 +02:00
|
|
|
## We use -Wp,-P to strip #line directives. Irix `as' chokes on
|
|
|
|
## these.
|
|
|
|
$(LTCOMPILE) -Wp,-P -x assembler-with-cpp -c $<
|
2004-06-20 11:14:17 +02:00
|
|
|
.S.lo:
|
|
|
|
$(LTCOMPILE) -Wp,-P -x assembler-with-cpp -c $<
|
1999-04-07 10:01:42 +02:00
|
|
|
|
1999-04-26 16:15:05 +02:00
|
|
|
## We have our own definition of LTCOMPILE because we want to use our
|
1999-04-07 10:01:42 +02:00
|
|
|
## CFLAGS, not those passed in from the top level make.
|
LIBTOOLFLAGS, and *_LINK fixes for Automake 1.11
boehm-gc/:
* Makefile.am (LTCOMPILE, LTLINK): Add $(AM_LIBTOOLFLAGS)
and $(LIBTOOLFLAGS).
* Makefile.in: Regenerate.
libgfortran/:
* Makefile.am (libgfortran_la_LINK): Add $(libgfortran_la_LDFLAGS).
* Makefile.in: Regenerate.
libjava/:
* Makefile.am (libgcj_la_LINK, libgcj_tools_la_LINK)
(lib_gnu_awt_xlib_la_LINK, libgcj_bc_la_LINK, jv_convert_LINK)
(gcj_dbtool_LINK, gc_analyze_LINK, gij_LINK, ecjx_LINK)
(gappletviewer_LINK, gjarsigner_LINK, gkeytool_LINK)
(gjar_LINK, gjavah_LINK, gcjh_LINK, gnative2ascii_LINK)
(gorbd_LINK, grmid_LINK, gserialver_LINK, gtnameserv_LINK)
(grmic_LINK, grmiregistry_LINK, gjdoc_LINK): Add $(gjdoc_LDFLAGS).
(GCJLINK, LIBLINK, CXXLINK): Add $(LIBTOOLFLAGS).
* Makefile.in: Regenerate.
libstdc++-v3/:
* libsupc++/Makefile.am (LTCOMPILE, LTCXXCOMPILE, CXXLINK): Add
$(LIBTOOLFLAGS).
* libsupc++/Makefile.in: Regenerate.
* src/Makefile.am (LTCXXCOMPILE, CXXLINK): Add $(AM_LIBTOOLFLAGS)
and $(LIBTOOLFLAGS).
* src/Makefile.in: Regenerate.
libgomp/:
* Makefile.am (LINK): Add $(AM_LIBTOOLFLAGS) and $(LIBTOOLFLAGS).
* Makefile.in: Regenerate.
libobjc/:
* Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
From-SVN: r151013
2009-08-22 14:43:24 +02:00
|
|
|
LTCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \
|
|
|
|
$(CC) $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
2001-08-18 03:04:43 +02:00
|
|
|
$(AM_CFLAGS) $(MY_CFLAGS) $(GC_CFLAGS)
|
2009-02-09 23:51:40 +01:00
|
|
|
LTLDFLAGS = $(shell $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
|
LIBTOOLFLAGS, and *_LINK fixes for Automake 1.11
boehm-gc/:
* Makefile.am (LTCOMPILE, LTLINK): Add $(AM_LIBTOOLFLAGS)
and $(LIBTOOLFLAGS).
* Makefile.in: Regenerate.
libgfortran/:
* Makefile.am (libgfortran_la_LINK): Add $(libgfortran_la_LDFLAGS).
* Makefile.in: Regenerate.
libjava/:
* Makefile.am (libgcj_la_LINK, libgcj_tools_la_LINK)
(lib_gnu_awt_xlib_la_LINK, libgcj_bc_la_LINK, jv_convert_LINK)
(gcj_dbtool_LINK, gc_analyze_LINK, gij_LINK, ecjx_LINK)
(gappletviewer_LINK, gjarsigner_LINK, gkeytool_LINK)
(gjar_LINK, gjavah_LINK, gcjh_LINK, gnative2ascii_LINK)
(gorbd_LINK, grmid_LINK, gserialver_LINK, gtnameserv_LINK)
(grmic_LINK, grmiregistry_LINK, gjdoc_LINK): Add $(gjdoc_LDFLAGS).
(GCJLINK, LIBLINK, CXXLINK): Add $(LIBTOOLFLAGS).
* Makefile.in: Regenerate.
libstdc++-v3/:
* libsupc++/Makefile.am (LTCOMPILE, LTCXXCOMPILE, CXXLINK): Add
$(LIBTOOLFLAGS).
* libsupc++/Makefile.in: Regenerate.
* src/Makefile.am (LTCXXCOMPILE, CXXLINK): Add $(AM_LIBTOOLFLAGS)
and $(LIBTOOLFLAGS).
* src/Makefile.in: Regenerate.
libgomp/:
* Makefile.am (LINK): Add $(AM_LIBTOOLFLAGS) and $(LIBTOOLFLAGS).
* Makefile.in: Regenerate.
libobjc/:
* Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
From-SVN: r151013
2009-08-22 14:43:24 +02:00
|
|
|
LINK = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
|
|
|
|
$(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LTLDFLAGS) -o $@
|
1999-04-07 10:01:42 +02:00
|
|
|
|
|
|
|
# Work around what appears to be a GNU make bug handling MAKEFLAGS
|
|
|
|
# values defined in terms of make variables, as is the case for CC and
|
|
|
|
# friends when we are called from the top level Makefile.
|
|
|
|
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)"
|
|
|
|
|
2001-06-08 19:59:57 +02:00
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host
|
1999-04-07 10:01:42 +02:00
|
|
|
|
|
|
|
MAKEOVERRIDES=
|