## 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
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 \
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) ;;
jit/Makefile \
alpha/Makefile \
mips/Makefile \
+ i386/Makefile \
nat/Makefile \
doc/Makefile \
comp/Makefile \