From 7a323a934bc482606f2e1ce8fc87539501b7c16f Mon Sep 17 00:00:00 2001 From: stefan Date: Mon, 15 Sep 2003 14:10:48 +0000 Subject: [PATCH] PPC merge --- Makefile.am | 4 ++-- configure.in | 12 ++++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7c0dce210..049144227 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,13 +1,13 @@ ## Process this file with automake to produce Makefile.in -# $Id: Makefile.am 311 2003-05-16 15:30:23Z stefan $ +# $Id: Makefile.am 323 2003-05-24 09:02:02Z stefan $ @SET_MAKE@ MAINTAINERCLEANFILES = Makefile.in configure ALLSUBDIRS = toolbox mm jit comp nat threads tst doc narray jvmtst SUBDIRS = $(ALLSUBDIRS) @SYSDEP_DIR@ -DIST_SUBDIRS = $(ALLSUBDIRS) alpha mips i386 +DIST_SUBDIRS = $(ALLSUBDIRS) alpha mips i386 powerpc EXTRA_DIST = html/cacaoinstall.html html/cacaoman.html html/index.html \ jni.c diff --git a/configure.in b/configure.in index 2afbdb034..e63af6082 100644 --- a/configure.in +++ b/configure.in @@ -47,8 +47,15 @@ x86_64* ) AC_DEFINE(USE_CODEMMAP) ;; -sparc* | powerpc* | ppc* | * ) - AC_MSG_ERROR($host-cpu systems are not supported at this time) ;; +powerpc* | ppc* ) + SYSDEP_DIR="powerpc" + CFLAGS="-O0 -g -DMAP_ANONYMOUS=0 -no-cpp-precomp" + COMPILER_OBJECTS="powerpc/libdisass.a" + AC_DEFINE(TRACE_ARGS_NUM, 8) + ;; + +sparc* | * ) + AC_MSG_ERROR($target systems are not supported at this time) ;; esac @@ -180,6 +187,7 @@ AC_OUTPUT(Makefile \ mips/Makefile \ i386/Makefile \ x86_64/Makefile \ + powerpc/Makefile \ nat/Makefile \ doc/Makefile \ comp/Makefile \ -- 2.25.1