@KEEP_BACK_PTRS_TRUE@am__append_9 = tracetest
@THREADS_TRUE@am__append_10 = threadleaktest$(EXEEXT) \
@THREADS_TRUE@ threadkey_test$(EXEEXT) \
-@THREADS_TRUE@ initsecondarythread$(EXEEXT)
+@THREADS_TRUE@ initsecondarythread_test$(EXEEXT)
@THREADS_TRUE@am__append_11 = threadleaktest threadkey_test \
-@THREADS_TRUE@ initsecondarythread
+@THREADS_TRUE@ initsecondarythread_test
@CPLUSPLUS_TRUE@am__append_12 = test_cpp$(EXEEXT)
@CPLUSPLUS_TRUE@am__append_13 = test_cpp
subdir = .
@KEEP_BACK_PTRS_TRUE@am__EXEEXT_1 = tracetest$(EXEEXT)
@THREADS_TRUE@am__EXEEXT_2 = threadleaktest$(EXEEXT) \
@THREADS_TRUE@ threadkey_test$(EXEEXT) \
-@THREADS_TRUE@ initsecondarythread$(EXEEXT)
+@THREADS_TRUE@ initsecondarythread_test$(EXEEXT)
@CPLUSPLUS_TRUE@am__EXEEXT_3 = test_cpp$(EXEEXT)
am_gctest_OBJECTS = test.$(OBJEXT)
gctest_OBJECTS = $(am_gctest_OBJECTS)
am_hugetest_OBJECTS = huge_test.$(OBJEXT)
hugetest_OBJECTS = $(am_hugetest_OBJECTS)
hugetest_DEPENDENCIES = $(am__DEPENDENCIES_2)
-am__initsecondarythread_SOURCES_DIST = tests/initsecondarythread.c
-@THREADS_TRUE@am_initsecondarythread_OBJECTS = \
+am__initsecondarythread_test_SOURCES_DIST = \
+ tests/initsecondarythread.c
+@THREADS_TRUE@am_initsecondarythread_test_OBJECTS = \
@THREADS_TRUE@ initsecondarythread.$(OBJEXT)
-initsecondarythread_OBJECTS = $(am_initsecondarythread_OBJECTS)
-@THREADS_TRUE@initsecondarythread_DEPENDENCIES = \
+initsecondarythread_test_OBJECTS = \
+ $(am_initsecondarythread_test_OBJECTS)
+@THREADS_TRUE@initsecondarythread_test_DEPENDENCIES = \
@THREADS_TRUE@ $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1)
am_leaktest_OBJECTS = leak_test.$(OBJEXT)
leaktest_OBJECTS = $(am_leaktest_OBJECTS)
$(EXTRA_libgc_la_SOURCES) $(nodist_libgc_la_SOURCES) \
$(libgccpp_la_SOURCES) $(libstaticrootslib_la_SOURCES) \
$(gctest_SOURCES) $(hugetest_SOURCES) \
- $(initsecondarythread_SOURCES) $(leaktest_SOURCES) \
+ $(initsecondarythread_test_SOURCES) $(leaktest_SOURCES) \
$(middletest_SOURCES) $(realloc_test_SOURCES) \
$(smashtest_SOURCES) $(staticrootstest_SOURCES) \
$(test_cpp_SOURCES) $(threadkey_test_SOURCES) \
DIST_SOURCES = $(libcord_la_SOURCES) $(am__libgc_la_SOURCES_DIST) \
$(EXTRA_libgc_la_SOURCES) $(am__libgccpp_la_SOURCES_DIST) \
$(libstaticrootslib_la_SOURCES) $(gctest_SOURCES) \
- $(hugetest_SOURCES) $(am__initsecondarythread_SOURCES_DIST) \
+ $(hugetest_SOURCES) \
+ $(am__initsecondarythread_test_SOURCES_DIST) \
$(leaktest_SOURCES) $(middletest_SOURCES) \
$(realloc_test_SOURCES) $(smashtest_SOURCES) \
$(staticrootstest_SOURCES) $(am__test_cpp_SOURCES_DIST) \
distcleancheck_listfiles = find . -type f -print
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
+AM_CFLAGS = @GC_CFLAGS@
+AM_CPPFLAGS = \
+ -I$(top_builddir)/include -I$(top_srcdir)/include \
+ $(ATOMIC_OPS_CFLAGS)
+
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AR = @AR@
ATOMIC_OPS_CFLAGS = @ATOMIC_OPS_CFLAGS@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
-CXXINCLUDES = @CXXINCLUDES@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
GC_CFLAGS = @GC_CFLAGS@
GC_VERSION = @GC_VERSION@
GREP = @GREP@
-INCLUDES = @INCLUDES@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
# endif
SUBDIRS =
ACLOCAL_AMFLAGS = -I m4
-AM_CPPFLAGS = \
- -I$(top_builddir)/include -I$(top_srcdir)/include \
- $(ATOMIC_OPS_CFLAGS)
-
# Initialize variables so that we can declare files locally.
# Misc
# ----
AM_CXXFLAGS = @GC_CFLAGS@
-AM_CFLAGS = @GC_CFLAGS@
@COMPILER_XLC_FALSE@ASM_CPP_OPTIONS = -Wp,-P -x assembler-with-cpp
#all_objs = @addobjs@ $(libgc_la_OBJECTS)
@THREADS_TRUE@threadleaktest_LDADD = $(test_ldadd) $(THREADDLLIBS)
@THREADS_TRUE@threadkey_test_SOURCES = tests/threadkey_test.c
@THREADS_TRUE@threadkey_test_LDADD = $(test_ldadd) $(THREADDLLIBS)
-@THREADS_TRUE@initsecondarythread_SOURCES = tests/initsecondarythread.c
-@THREADS_TRUE@initsecondarythread_LDADD = $(test_ldadd) $(THREADDLLIBS)
+@THREADS_TRUE@initsecondarythread_test_SOURCES = tests/initsecondarythread.c
+@THREADS_TRUE@initsecondarythread_test_LDADD = $(test_ldadd) $(THREADDLLIBS)
@CPLUSPLUS_TRUE@test_cpp_SOURCES = tests/test_cpp.cc
@AVOID_CPP_LIB_FALSE@@CPLUSPLUS_TRUE@test_cpp_LDADD = libgccpp.la $(test_ldadd)
@AVOID_CPP_LIB_TRUE@@CPLUSPLUS_TRUE@test_cpp_LDADD = gc_cpp.o $(test_ldadd)
@rm -f hugetest$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(hugetest_OBJECTS) $(hugetest_LDADD) $(LIBS)
-initsecondarythread$(EXEEXT): $(initsecondarythread_OBJECTS) $(initsecondarythread_DEPENDENCIES) $(EXTRA_initsecondarythread_DEPENDENCIES)
- @rm -f initsecondarythread$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(initsecondarythread_OBJECTS) $(initsecondarythread_LDADD) $(LIBS)
+initsecondarythread_test$(EXEEXT): $(initsecondarythread_test_OBJECTS) $(initsecondarythread_test_DEPENDENCIES) $(EXTRA_initsecondarythread_test_DEPENDENCIES)
+ @rm -f initsecondarythread_test$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(initsecondarythread_test_OBJECTS) $(initsecondarythread_test_LDADD) $(LIBS)
leaktest$(EXEEXT): $(leaktest_OBJECTS) $(leaktest_DEPENDENCIES) $(EXTRA_leaktest_DEPENDENCIES)
@rm -f leaktest$(EXEEXT)
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
-initsecondarythread.log: initsecondarythread$(EXEEXT)
- @p='initsecondarythread$(EXEEXT)'; \
- b='initsecondarythread'; \
+initsecondarythread_test.log: initsecondarythread_test$(EXEEXT)
+ @p='initsecondarythread_test$(EXEEXT)'; \
+ b='initsecondarythread_test'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
LIBTOOL
addlibs
addobjs
-CXXINCLUDES
-INCLUDES
+AM_CPPFLAGS
+AM_CFLAGS
CPLUSPLUS_FALSE
CPLUSPLUS_TRUE
target_all
$as_echo "#define GC_OPENBSD_THREADS 1" >>confdefs.h
THREADDLLIBS=-pthread
- INCLUDES="$INCLUDES -pthread"
+ AM_CFLAGS="$AM_CFLAGS -pthread"
openbsd_threads=true
;;
*-*-freebsd*)
$as_echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
$as_echo "#define GC_FREEBSD_THREADS 1" >>confdefs.h
- INCLUDES="$INCLUDES -pthread"
+ AM_CFLAGS="$AM_CFLAGS -pthread"
if test "${enable_parallel_mark}" = yes; then
$as_echo "#define PARALLEL_MARK 1" >>confdefs.h
*-*-kfreebsd*-gnu)
$as_echo "#define GC_FREEBSD_THREADS 1" >>confdefs.h
- INCLUDES="$INCLUDES -pthread"
+ AM_CFLAGS="$AM_CFLAGS -pthread"
THREADDLLIBS=-pthread
$as_echo "#define _REENTRANT 1" >>confdefs.h
# May want to enable it in other cases, too.
# Measurements have not yet been done.
fi
- INCLUDES="$INCLUDES -pthread"
+ AM_CFLAGS="$AM_CFLAGS -pthread"
THREADDLLIBS="-lpthread -lrt"
;;
*)
$as_echo "#define DGUX_THREADS 1" >>confdefs.h
# Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
- INCLUDES="-pthread $INCLUDES"
+ AM_CFLAGS="-pthread $AM_CFLAGS"
;;
aix)
THREADS=posix
addobjs=
addlibs=
-CXXINCLUDES=
+
case "$TARGET_ECOS" in
no)
;;
$as_echo "#define ECOS 1" >>confdefs.h
- CXXINCLUDES="-I${TARGET_ECOS}/include"
+ AM_CPPFLAGS="-I${TARGET_ECOS}/include $AM_CPPFLAGS"
addobjs="$addobjs ecos.lo"
;;
esac
-
# Configuration of shared libraries
#
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5