From 6ff594e32d28f0fac7fb972c6794693c9523b2d1 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Sun, 7 Sep 2003 14:25:48 +0000 Subject: [PATCH] Handle manual updates with kpx_cpu core --- SheepShaver/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/SheepShaver/Makefile b/SheepShaver/Makefile index 2495704b..cecc0eac 100644 --- a/SheepShaver/Makefile +++ b/SheepShaver/Makefile @@ -14,6 +14,9 @@ SRCS := src # Where Basilisk II directory can be found B2_TOPDIR := ../BasiliskII +# Where Kheperix directory can be found +KPX_TOPDIR := ../kheperix + default: help help: @@ -21,6 +24,7 @@ help: @echo "The following targets are available:" @echo " tarball source tarball ($(SRCARCHIVE))" @echo " links create links to Basilisk II sources" + @echo " kpx_cpu synchronize with Kheperix CPU emulator" clean: -rm -f $(SRCARCHIVE) @@ -66,3 +70,32 @@ links: echo $$i; \ ln -sf $${PREFIX}$(B2_TOPDIR)/src/$$i src/$$i; \ done; + +# +# Synchronize with Kheperix CPU emulator" +# +kpx_cpu: + @list='include/basic-blockinfo.hpp \ + include/basic-cpu.hpp \ + include/basic-plugin.hpp \ + include/task-plugin.hpp \ + include/block-alloc.hpp \ + src/cpu/block-cache.hpp \ + src/cpu/vm.hpp \ + src/cpu/ppc/ppc-cpu.hpp \ + src/cpu/ppc/ppc-cpu.cpp \ + src/cpu/ppc/ppc-decode.cpp \ + src/cpu/ppc/ppc-execute.cpp \ + src/cpu/ppc/genexec.pl \ + src/cpu/ppc/ppc-bitfields.hpp \ + src/cpu/ppc/ppc-blockinfo.hpp \ + src/cpu/ppc/ppc-config.hpp \ + src/cpu/ppc/ppc-operands.hpp \ + src/cpu/ppc/ppc-operations.hpp \ + src/cpu/ppc/ppc-registers.hpp'; \ + for i in $$list; do \ + echo $$i; \ + mkdir -p src/kpx_cpu/`dirname $$i`; \ + cp -f $(KPX_TOPDIR)/$$i src/kpx_cpu/$$i; \ + /bin/true ln -sf $$i src/kpx_cpu/`basename $$i`; \ + done;