ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/Makefile
(Generate patch)

Comparing SheepShaver/Makefile (file contents):
Revision 1.7 by gbeauche, 2003-09-14T22:10:57Z vs.
Revision 1.24 by gbeauche, 2005-11-30T00:29:29Z

# Line 1 | Line 1
1   # Makefile for creating SheepShaver distributions
2   # Written in 1999 by Christian Bauer <Christian.Bauer@uni-mainz.de>
3  
4 < VERSION := 2
5 < RELEASE := 2
4 > VERSION := 2.3
5   VERNAME := SheepShaver-$(VERSION)
6  
7   SRCARCHIVE := $(shell date +SheepShaver_src_%d%m%Y.tar.gz)
8  
9   TMPDIR := $(shell date +/tmp/build%m%s)
10 < DOCS := HISTORY LOG TODO
10 > ISODATE := $(shell date "+%Y-%m-%d %H:%M")
11 > DOCS := NEWS
12   SRCS := src
13  
14   # Where Basilisk II directory can be found
15   B2_TOPDIR := ../BasiliskII
16  
17 # Where Kheperix directory can be found
18 KPX_TOPDIR := ../kheperix
19
17   default: help
18  
19   help:
# Line 24 | Line 21 | help:
21          @echo "The following targets are available:"
22          @echo "  tarball  source tarball ($(SRCARCHIVE))"
23          @echo "  links    create links to Basilisk II sources"
27        @echo "  kpx_cpu  synchronize with Kheperix CPU emulator"
24  
25   clean:
26          -rm -f $(SRCARCHIVE)
# Line 37 | Line 33 | tarball: $(SRCARCHIVE)
33   $(SRCARCHIVE): $(SRCS) $(DOCS)
34          -rm -rf $(TMPDIR)
35          mkdir $(TMPDIR)
36 <        cd $(TMPDIR); cvs export -D "$(ISODATE)" SheepShaver
36 >        cd $(TMPDIR); cvs export -D "$(ISODATE)" BasiliskII SheepShaver
37 >        cd $(TMPDIR)/SheepShaver/src/Unix && mkdir Darwin
38 >        cd $(TMPDIR)/SheepShaver && make links
39 >        cd $(TMPDIR)/SheepShaver/src/Unix && NO_CONFIGURE=1 ./autogen.sh
40 >        cd $(TMPDIR)/SheepShaver/src/Windows && NO_CONFIGURE=1 ../Unix/autogen.sh
41          rm $(TMPDIR)/SheepShaver/Makefile
42 <        mv $(TMPDIR)/SheepShaver $(TMPDIR)/$(VERNAME)
42 >        cp -aL $(TMPDIR)/SheepShaver $(TMPDIR)/$(VERNAME)
43          cd $(TMPDIR); tar cfz $@ $(VERNAME)
44          mv $(TMPDIR)/$@ .
45          rm -rf $(TMPDIR)
# Line 62 | Line 62 | links:
62                 Unix/sshpty.h Unix/sshpty.c Unix/strlcpy.h Unix/strlcpy.c \
63                 Unix/sys_unix.cpp Unix/timer_unix.cpp Unix/xpram_unix.cpp \
64                 Unix/sigsegv.h Unix/sigsegv.cpp Unix/vm_alloc.h Unix/vm_alloc.cpp \
65 <               Unix/posix_sem.cpp Unix/video_vosf.h Unix/video_blit.h \
66 <               Unix/video_blit.cpp \
67 <               Unix/Linux/scsi_linux.cpp Unix/Linux/NetDriver'; \
65 >               Unix/semaphore.h Unix/posix_sem.cpp Unix/video_vosf.h Unix/video_blit.h \
66 >               Unix/video_blit.cpp Unix/config.sub Unix/config.guess \
67 >               Unix/keycodes Unix/tunconfig Unix/clip_unix.cpp Unix/m4 \
68 >               Unix/Linux/scsi_linux.cpp Unix/Linux/NetDriver Unix/ether_unix.cpp \
69 >               Unix/Darwin/lowmem.c Unix/Darwin/pagezero.c Unix/Darwin/testlmem.sh \
70 >               dummy/audio_dummy.cpp dummy/clip_dummy.cpp dummy/serial_dummy.cpp \
71 >               dummy/prefs_editor_dummy.cpp dummy/scsi_dummy.cpp SDL slirp \
72 >               MacOSX/sys_darwin.cpp MacOSX/clip_macosx.cpp \
73 >               MacOSX/macos_util_macosx.h MacOSX/extfs_macosx.h \
74 >               MacOSX/extfs_macosx.mm Windows/clip_windows.cpp \
75 >               Windows/cd_defs.h Windows/cdenable Windows/extfs_windows.cpp \
76 >               Windows/posix_emu.cpp Windows/posix_emu.h Windows/sys_windows.cpp \
77 >               Windows/timer_windows.cpp Windows/util_windows.cpp \
78 >               Windows/util_windows.h Windows/xpram_windows.cpp \
79 >               Windows/kernel_windows.h Windows/kernel_windows.cpp \
80 >               Windows/serial_windows.cpp Windows/router Windows/b2ether \
81 >               Windows/ether_windows.h Windows/ether_windows.cpp \
82 >               Windows/serial_windows.cpp Windows/prefs_editor_gtk.cpp'; \
83          PREFIX="`pwd`/"; case $(B2_TOPDIR) in /*) PREFIX="";; esac; \
84          for i in $$list; do \
85            echo $$i; \
86 <          ln -sf $${PREFIX}$(B2_TOPDIR)/src/$$i src/$$i; \
72 <        done;
73 <
74 < #
75 < # Synchronize with Kheperix CPU emulator"
76 < #
77 < kpx_cpu:
78 <        @list='include/basic-blockinfo.hpp \
79 <               include/basic-cpu.hpp \
80 <               include/basic-plugin.hpp \
81 <               include/task-plugin.hpp \
82 <               include/block-alloc.hpp \
83 <               src/cpu/block-cache.hpp \
84 <               src/cpu/vm.hpp \
85 <               src/cpu/ppc/ppc-cpu.hpp \
86 <               src/cpu/ppc/ppc-cpu.cpp \
87 <               src/cpu/ppc/ppc-decode.cpp \
88 <               src/cpu/ppc/ppc-execute.cpp \
89 <               src/cpu/ppc/genexec.pl \
90 <               src/cpu/ppc/ppc-bitfields.hpp \
91 <               src/cpu/ppc/ppc-blockinfo.hpp \
92 <               src/cpu/ppc/ppc-config.hpp \
93 <               src/cpu/ppc/ppc-operands.hpp \
94 <               src/cpu/ppc/ppc-operations.hpp \
95 <               src/cpu/ppc/ppc-registers.hpp \
96 <               src/test/test-powerpc.cpp'; \
97 <        for i in $$list; do \
98 <          echo $$i; \
99 <          mkdir -p src/kpx_cpu/`dirname $$i`; \
100 <          cp -f  $(KPX_TOPDIR)/$$i src/kpx_cpu/$$i; \
101 <          /bin/true ln -sf $$i src/kpx_cpu/`basename $$i`; \
86 >          ln -sf "$${PREFIX}$(B2_TOPDIR)/src/$$i" src/$$i; \
87          done;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines