Commit d7799ba1 by Adam Megacz Committed by Adam Megacz

win32.cc: Created it.

2002-02-04  Adam Megacz <adam@xwt.org>

        * win32.cc: Created it.
          configure.in: Added PLATFORM_SPECIFIC_SOURCES,
          which is set to posix.cc or win32.cc.
          Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).

From-SVN: r49509
parent d08e89a9
2002-02-04 Adam Megacz <adam@xwt.org> 2002-02-04 Adam Megacz <adam@xwt.org>
* win32.cc: Created it.
configure.in: Added PLATFORM_SPECIFIC_SOURCES,
which is set to posix.cc or win32.cc.
Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
2002-02-04 Adam Megacz <adam@xwt.org>
* configure.in: Corrected mingw case branches; added * before * configure.in: Corrected mingw case branches; added * before
and after. and after.
......
...@@ -123,7 +123,7 @@ javao_files = $(java_source_files:.java=.lo) \ ...@@ -123,7 +123,7 @@ javao_files = $(java_source_files:.java=.lo) \
$(built_java_source_files:.java=.lo) $(built_java_source_files:.java=.lo)
x_javao_files = $(x_java_source_files:.java=.lo) x_javao_files = $(x_java_source_files:.java=.lo)
libgcj_la_SOURCES = prims.cc posix.cc jni.cc exception.cc \ libgcj_la_SOURCES = prims.cc $(PLATFORM_SPECIFIC_SOURCES) jni.cc exception.cc \
resolve.cc defineclass.cc interpret.cc name-finder.cc verify.cc \ resolve.cc defineclass.cc interpret.cc name-finder.cc verify.cc \
$(nat_source_files) $(nat_source_files)
EXTRA_libgcj_la_SOURCES = boehm.cc nogc.cc posix-threads.cc no-threads.cc \ EXTRA_libgcj_la_SOURCES = boehm.cc nogc.cc posix-threads.cc no-threads.cc \
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -193,21 +193,27 @@ AC_ARG_WITH(ecos, ...@@ -193,21 +193,27 @@ AC_ARG_WITH(ecos,
TARGET_ECOS="$with_ecos" TARGET_ECOS="$with_ecos"
) )
PLATFORM_SPECIFIC_SOURCES=
case "$TARGET_ECOS" in case "$TARGET_ECOS" in
no) case "$host" in no) case "$host" in
mingw) mingw)
PLATFORM=Win32 PLATFORM=Win32
PLATFORM_SPECIFIC_SOURCES=win32.cc
;; ;;
*) *)
PLATFORM=Posix PLATFORM=Posix
PLATFORM_SPECIFIC_SOURCES=posix.cc
;; ;;
esac esac
;; ;;
*) *)
PLATFORM=Ecos PLATFORM=Ecos
AC_DEFINE(ECOS) AC_DEFINE(ECOS)
PLATFORM_SPECIFIC_SOURCES=posix.cc
;; ;;
esac esac
AC_SUBST(PLATFORM_SPECIFIC_SOURCES)
AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED)) AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED))
AC_EGREP_HEADER(uint32_t, inttypes.h, AC_DEFINE(HAVE_INT32_DEFINED)) AC_EGREP_HEADER(uint32_t, inttypes.h, AC_DEFINE(HAVE_INT32_DEFINED))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment