Makefile.am (libgcj_la_SOURCES): Define without conditional sources.

2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
	(if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
	(if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
	USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
	USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
	* Makefile.in: Regenerate.

From-SVN: r101083
This commit is contained in:
Kelley Cook 2005-06-16 12:13:34 +00:00 committed by R. Kelley Cook
parent 5e2d947ce8
commit 72095b64e2
3 changed files with 61 additions and 92 deletions

View File

@ -1,3 +1,12 @@
2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
(if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
(if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
* Makefile.in: Regenerate.
2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac (USING_ECOS_PLATFORM): Remove and merge into...

View File

@ -7,58 +7,6 @@ ACLOCAL_AMFLAGS = -I . -I ../config
# May be used by various substitution variables.
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
## Garbage collector conditionals.
if USING_BOEHMGC
BOEHMGC_SRC = boehm.cc
else
BOEHMGC_SRC =
endif
if USING_NOGC
NOGC_SRC = nogc.cc
else
NOGC_SRC =
endif
## Broken backtrace conditional.
if SUPPLY_BACKTRACE
BACKTRACE_SRC = sysdep/dwarf2-backtrace.cc
else
BACKTRACE_SRC =
endif
## Conditionals for platform-specific helper functions.
if USING_POSIX_PLATFORM
POSIX_PLATFORM_SRC = posix.cc
else
POSIX_PLATFORM_SRC =
endif
if USING_WIN32_PLATFORM
WIN32_PLATFORM_SRC = win32.cc
else
WIN32_PLATFORM_SRC =
endif
## Conditionals for platform-specific thread support.
if USING_POSIX_THREADS
POSIX_THREAD_SRC = posix-threads.cc
else
POSIX_THREAD_SRC =
endif
if USING_WIN32_THREADS
WIN32_THREAD_SRC = win32-threads.cc
else
WIN32_THREAD_SRC =
endif
if USING_NO_THREADS
NO_THREAD_SRC = no-threads.cc
else
NO_THREAD_SRC =
endif
## Testsuite conditional.
if TESTSUBDIR
SUBDIRS = $(DIRLTDL) testsuite gcj include external
@ -66,13 +14,6 @@ else
SUBDIRS = $(DIRLTDL) gcj include external
endif
## Darwin uses the jcr section, but doesn't use crtstuff.
if USING_DARWIN_CRT
DARWIN_CRT_SRC = darwin.cc
else
DARWIN_CRT_SRC =
endif
# write_entries_to_file - writes each entry in a list
# to the specified file. Each entry is written individually
# to accomodate systems with severe command-line-length
@ -302,12 +243,43 @@ libgij_la_LDFLAGS = -rpath $(toolexeclibdir) \
libgcj_la_SOURCES = prims.cc jni.cc exception.cc stacktrace.cc \
link.cc defineclass.cc interpret.cc verify.cc \
$(nat_source_files) $(math_c_source_files) \
$(BOEHMGC_SRC) $(NOGC_SRC) \
$(BACKTRACE_SRC) \
$(POSIX_PLATFORM_SRC) $(WIN32_PLATFORM_SRC) \
$(DARWIN_CRT_SRC) \
$(POSIX_THREAD_SRC) $(WIN32_THREAD_SRC) $(NO_THREAD_SRC)
$(nat_source_files) $(math_c_source_files)
if USING_BOEHMGC
libgcj_la_SOURCES += boehm.cc
endif
if USING_NOGC
libgcj_la_SOURCES += nogc.cc
endif
if SUPPLY_BACKTRACE
libgcj_la_SOURCES += sysdep/dwarf2-backtrace.cc
endif
if USING_POSIX_PLATFORM
libgcj_la_SOURCES += posix.cc
endif
if USING_WIN32_PLATFORM
libgcj_la_SOURCES += win32.cc
endif
if USING_DARWIN_CRT
libgcj_la_SOURCES += darwin.cc
endif
if USING_POSIX_THREADS
libgcj_la_SOURCES += posix-threads.cc
endif
if USING_WIN32_THREADS
libgcj_la_SOURCES += win32-threads.cc
endif
if USING_NO_THREADS
libgcj_la_SOURCES += no-threads.cc
endif
## Objects from C++ sources in subdirs.
nat_files = $(nat_source_files:.cc=.lo)

View File

@ -45,6 +45,15 @@ target_triplet = @target@
@NATIVE_TRUE@bin_PROGRAMS = jv-convert$(EXEEXT) gij$(EXEEXT) \
@NATIVE_TRUE@ grmic$(EXEEXT) grmiregistry$(EXEEXT) \
@NATIVE_TRUE@ gcj-dbtool$(EXEEXT)
@USING_BOEHMGC_TRUE@am__append_1 = boehm.cc
@USING_NOGC_TRUE@am__append_2 = nogc.cc
@SUPPLY_BACKTRACE_TRUE@am__append_3 = sysdep/dwarf2-backtrace.cc
@USING_POSIX_PLATFORM_TRUE@am__append_4 = posix.cc
@USING_WIN32_PLATFORM_TRUE@am__append_5 = win32.cc
@USING_DARWIN_CRT_TRUE@am__append_6 = darwin.cc
@USING_POSIX_THREADS_TRUE@am__append_7 = posix-threads.cc
@USING_WIN32_THREADS_TRUE@am__append_8 = win32-threads.cc
@USING_NO_THREADS_TRUE@am__append_9 = no-threads.cc
@MAINTAINER_MODE_TRUE@@NATIVE_TRUE@noinst_PROGRAMS = \
@MAINTAINER_MODE_TRUE@@NATIVE_TRUE@ gen-from-JIS$(EXEEXT)
DIST_COMMON = README $(am__configure_deps) $(srcdir)/../compile \
@ -654,26 +663,8 @@ ACLOCAL_AMFLAGS = -I . -I ../config
# May be used by various substitution variables.
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
@USING_BOEHMGC_FALSE@BOEHMGC_SRC =
@USING_BOEHMGC_TRUE@BOEHMGC_SRC = boehm.cc
@USING_NOGC_FALSE@NOGC_SRC =
@USING_NOGC_TRUE@NOGC_SRC = nogc.cc
@SUPPLY_BACKTRACE_FALSE@BACKTRACE_SRC =
@SUPPLY_BACKTRACE_TRUE@BACKTRACE_SRC = sysdep/dwarf2-backtrace.cc
@USING_POSIX_PLATFORM_FALSE@POSIX_PLATFORM_SRC =
@USING_POSIX_PLATFORM_TRUE@POSIX_PLATFORM_SRC = posix.cc
@USING_WIN32_PLATFORM_FALSE@WIN32_PLATFORM_SRC =
@USING_WIN32_PLATFORM_TRUE@WIN32_PLATFORM_SRC = win32.cc
@USING_POSIX_THREADS_FALSE@POSIX_THREAD_SRC =
@USING_POSIX_THREADS_TRUE@POSIX_THREAD_SRC = posix-threads.cc
@USING_WIN32_THREADS_FALSE@WIN32_THREAD_SRC =
@USING_WIN32_THREADS_TRUE@WIN32_THREAD_SRC = win32-threads.cc
@USING_NO_THREADS_FALSE@NO_THREAD_SRC =
@USING_NO_THREADS_TRUE@NO_THREAD_SRC = no-threads.cc
@TESTSUBDIR_FALSE@SUBDIRS = $(DIRLTDL) gcj include external
@TESTSUBDIR_TRUE@SUBDIRS = $(DIRLTDL) testsuite gcj include external
@USING_DARWIN_CRT_FALSE@DARWIN_CRT_SRC =
@USING_DARWIN_CRT_TRUE@DARWIN_CRT_SRC = darwin.cc
# write_entries_to_file - writes each entry in a list
# to the specified file. Each entry is written individually
@ -791,15 +782,12 @@ libgij_la_LIBADD = -L$(here)/.libs libgcj.la
libgij_la_LDFLAGS = -rpath $(toolexeclibdir) \
-version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LIBGCJ_LD_SYMBOLIC)
libgcj_la_SOURCES = prims.cc jni.cc exception.cc stacktrace.cc \
link.cc defineclass.cc interpret.cc verify.cc \
$(nat_source_files) $(math_c_source_files) \
$(BOEHMGC_SRC) $(NOGC_SRC) \
$(BACKTRACE_SRC) \
$(POSIX_PLATFORM_SRC) $(WIN32_PLATFORM_SRC) \
$(DARWIN_CRT_SRC) \
$(POSIX_THREAD_SRC) $(WIN32_THREAD_SRC) $(NO_THREAD_SRC)
libgcj_la_SOURCES = prims.cc jni.cc exception.cc stacktrace.cc link.cc \
defineclass.cc interpret.cc verify.cc $(nat_source_files) \
$(math_c_source_files) $(am__append_1) $(am__append_2) \
$(am__append_3) $(am__append_4) $(am__append_5) \
$(am__append_6) $(am__append_7) $(am__append_8) \
$(am__append_9)
nat_files = $(nat_source_files:.cc=.lo)
xlib_nat_files = $(xlib_nat_source_files:.cc=.lo)