PPC merge
authorstefan <none@none>
Mon, 15 Sep 2003 14:10:48 +0000 (14:10 +0000)
committerstefan <none@none>
Mon, 15 Sep 2003 14:10:48 +0000 (14:10 +0000)
Makefile.am
configure.in

index 7c0dce2105fc1033fa87d1fa61b2939d806c3571..049144227fd56dcf4f32c954e693927f29861381 100644 (file)
@@ -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
index 2afbdb034fd9fa34891a246ec6a68326b2f0f87a..e63af6082eafb8e6ffbec18765b7016cd2e7bd67 100644 (file)
@@ -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 \