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:
parent
5e2d947ce8
commit
72095b64e2
@ -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>
|
2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
|
||||||
|
|
||||||
* configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
|
* configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
|
||||||
|
@ -7,58 +7,6 @@ ACLOCAL_AMFLAGS = -I . -I ../config
|
|||||||
# May be used by various substitution variables.
|
# May be used by various substitution variables.
|
||||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
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.
|
## Testsuite conditional.
|
||||||
if TESTSUBDIR
|
if TESTSUBDIR
|
||||||
SUBDIRS = $(DIRLTDL) testsuite gcj include external
|
SUBDIRS = $(DIRLTDL) testsuite gcj include external
|
||||||
@ -66,13 +14,6 @@ else
|
|||||||
SUBDIRS = $(DIRLTDL) gcj include external
|
SUBDIRS = $(DIRLTDL) gcj include external
|
||||||
endif
|
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
|
# write_entries_to_file - writes each entry in a list
|
||||||
# to the specified file. Each entry is written individually
|
# to the specified file. Each entry is written individually
|
||||||
# to accomodate systems with severe command-line-length
|
# 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 \
|
libgcj_la_SOURCES = prims.cc jni.cc exception.cc stacktrace.cc \
|
||||||
link.cc defineclass.cc interpret.cc verify.cc \
|
link.cc defineclass.cc interpret.cc verify.cc \
|
||||||
$(nat_source_files) $(math_c_source_files) \
|
$(nat_source_files) $(math_c_source_files)
|
||||||
$(BOEHMGC_SRC) $(NOGC_SRC) \
|
|
||||||
$(BACKTRACE_SRC) \
|
if USING_BOEHMGC
|
||||||
$(POSIX_PLATFORM_SRC) $(WIN32_PLATFORM_SRC) \
|
libgcj_la_SOURCES += boehm.cc
|
||||||
$(DARWIN_CRT_SRC) \
|
endif
|
||||||
$(POSIX_THREAD_SRC) $(WIN32_THREAD_SRC) $(NO_THREAD_SRC)
|
|
||||||
|
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.
|
## Objects from C++ sources in subdirs.
|
||||||
nat_files = $(nat_source_files:.cc=.lo)
|
nat_files = $(nat_source_files:.cc=.lo)
|
||||||
|
@ -45,6 +45,15 @@ target_triplet = @target@
|
|||||||
@NATIVE_TRUE@bin_PROGRAMS = jv-convert$(EXEEXT) gij$(EXEEXT) \
|
@NATIVE_TRUE@bin_PROGRAMS = jv-convert$(EXEEXT) gij$(EXEEXT) \
|
||||||
@NATIVE_TRUE@ grmic$(EXEEXT) grmiregistry$(EXEEXT) \
|
@NATIVE_TRUE@ grmic$(EXEEXT) grmiregistry$(EXEEXT) \
|
||||||
@NATIVE_TRUE@ gcj-dbtool$(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@noinst_PROGRAMS = \
|
||||||
@MAINTAINER_MODE_TRUE@@NATIVE_TRUE@ gen-from-JIS$(EXEEXT)
|
@MAINTAINER_MODE_TRUE@@NATIVE_TRUE@ gen-from-JIS$(EXEEXT)
|
||||||
DIST_COMMON = README $(am__configure_deps) $(srcdir)/../compile \
|
DIST_COMMON = README $(am__configure_deps) $(srcdir)/../compile \
|
||||||
@ -654,26 +663,8 @@ ACLOCAL_AMFLAGS = -I . -I ../config
|
|||||||
|
|
||||||
# May be used by various substitution variables.
|
# May be used by various substitution variables.
|
||||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
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_FALSE@SUBDIRS = $(DIRLTDL) gcj include external
|
||||||
@TESTSUBDIR_TRUE@SUBDIRS = $(DIRLTDL) testsuite 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
|
# write_entries_to_file - writes each entry in a list
|
||||||
# to the specified file. Each entry is written individually
|
# 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) \
|
libgij_la_LDFLAGS = -rpath $(toolexeclibdir) \
|
||||||
-version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LIBGCJ_LD_SYMBOLIC)
|
-version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LIBGCJ_LD_SYMBOLIC)
|
||||||
|
|
||||||
libgcj_la_SOURCES = prims.cc jni.cc exception.cc stacktrace.cc \
|
libgcj_la_SOURCES = prims.cc jni.cc exception.cc stacktrace.cc link.cc \
|
||||||
link.cc defineclass.cc interpret.cc verify.cc \
|
defineclass.cc interpret.cc verify.cc $(nat_source_files) \
|
||||||
$(nat_source_files) $(math_c_source_files) \
|
$(math_c_source_files) $(am__append_1) $(am__append_2) \
|
||||||
$(BOEHMGC_SRC) $(NOGC_SRC) \
|
$(am__append_3) $(am__append_4) $(am__append_5) \
|
||||||
$(BACKTRACE_SRC) \
|
$(am__append_6) $(am__append_7) $(am__append_8) \
|
||||||
$(POSIX_PLATFORM_SRC) $(WIN32_PLATFORM_SRC) \
|
$(am__append_9)
|
||||||
$(DARWIN_CRT_SRC) \
|
|
||||||
$(POSIX_THREAD_SRC) $(WIN32_THREAD_SRC) $(NO_THREAD_SRC)
|
|
||||||
|
|
||||||
nat_files = $(nat_source_files:.cc=.lo)
|
nat_files = $(nat_source_files:.cc=.lo)
|
||||||
xlib_nat_files = $(xlib_nat_source_files:.cc=.lo)
|
xlib_nat_files = $(xlib_nat_source_files:.cc=.lo)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user