added i386 stuff
authortwisti <none@none>
Thu, 23 Jan 2003 22:50:44 +0000 (22:50 +0000)
committertwisti <none@none>
Thu, 23 Jan 2003 22:50:44 +0000 (22:50 +0000)
Makefile.am
configure.in

index 39cf1bbd83b9c46ccb72c9f954f950affcf8a85d..8d67756c804c49bbfc48e9386359fd912b7d3641 100644 (file)
@@ -1,9 +1,9 @@
 ## Process this file with automake to produce Makefile.in
 
-# $Id: Makefile.am 192 2002-12-21 12:06:01Z stefan $
+# $Id: Makefile.am 204 2003-01-23 22:50:44Z twisti $
 
 MAINTAINERCLEANFILES = Makefile.in configure
-SUBDIRS = toolbox mm alpha jit comp nat threads mips tst doc narray jvmtst
+SUBDIRS = toolbox mm alpha i386 jit comp nat threads mips tst doc narray jvmtst
 
 EXTRA_DIST = html/cacaoinstall.html html/cacaoman.html html/index.html \
                                jni.c
@@ -16,7 +16,7 @@ CLEANFILES = @SYSDEP_DIR@/asmpart.o \
 bin_PROGRAMS = cacao
 noinst_PROGRAMS = cacaoh
 
-INCLUDES=-I/usr/include -I$(top_srcdir)/@SYSDEP_DIR@ -I$(top_srcdir)/jit -I@SYSDEP_DIR@ -I$(top_srcdir)
+INCLUDES=-I$(top_srcdir)/@SYSDEP_DIR@ -I$(top_srcdir)/jit -I@SYSDEP_DIR@ -I$(top_srcdir)
 
 cacao_SOURCES = \
        asmpart.h \
index 29a630c6a0ce255d64752234e5e6c53fd927d826..83efc1da02b8455074522fafcb8291835e950144 100644 (file)
@@ -28,6 +28,13 @@ mips* )
        COMPILER_OBJECTS=""
        ;;
 
+i386* | i486* | i586* | i686* )
+       SYSDEP_DIR="i386" 
+       CFLAGS="-O0 -g3 -D__I386__"
+       COMPILER_SOURCES="compiler.h compiler.c" 
+       COMPILER_OBJECTS="compiler.o"
+       ;;
+
 sparc* | powerpc* | ppc* | * )
        AC_MSG_ERROR($host-cpu systems are not supported at this time) ;;
 
@@ -140,6 +147,7 @@ AC_OUTPUT(Makefile \
          jit/Makefile \
           alpha/Makefile \
           mips/Makefile \
+          i386/Makefile \
           nat/Makefile \
           doc/Makefile \
           comp/Makefile \