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.15 by gbeauche, 2004-11-15T23:41:08Z vs.
Revision 1.34 by asvitkine, 2010-10-06T00:34:15Z

# 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 + CVSDATE := $(shell date "+%Y%m%d")
7  
8 < SRCARCHIVE := $(shell date +SheepShaver_src_%d%m%Y.tar.gz)
8 > SRCARCHIVE := $(VERNAME)-$(CVSDATE).tar.gz
9  
10   TMPDIR := $(shell date +/tmp/build%m%s)
11 < DOCS := HISTORY LOG TODO
11 > ISODATE := $(shell date "+%Y-%m-%d %H:%M")
12 > DOCS := NEWS
13   SRCS := src
14  
15   # Where Basilisk II directory can be found
# Line 33 | Line 34 | tarball: $(SRCARCHIVE)
34   $(SRCARCHIVE): $(SRCS) $(DOCS)
35          -rm -rf $(TMPDIR)
36          mkdir $(TMPDIR)
37 <        cd $(TMPDIR); cvs export -D "$(ISODATE)" SheepShaver
37 >        cd $(TMPDIR); cvs export -D "$(ISODATE)" BasiliskII SheepShaver
38 >        cd $(TMPDIR)/SheepShaver/src/Unix && mkdir Darwin
39 >        cd $(TMPDIR)/SheepShaver && make links
40 >        cd $(TMPDIR)/SheepShaver/src/Unix && NO_CONFIGURE=1 ./autogen.sh
41 >        cd $(TMPDIR)/SheepShaver/src/Windows && NO_CONFIGURE=1 ../Unix/autogen.sh
42          rm $(TMPDIR)/SheepShaver/Makefile
43 <        mv $(TMPDIR)/SheepShaver $(TMPDIR)/$(VERNAME)
43 >        cp -aL $(TMPDIR)/SheepShaver $(TMPDIR)/$(VERNAME)
44          cd $(TMPDIR); tar cfz $@ $(VERNAME)
45          mv $(TMPDIR)/$@ .
46          rm -rf $(TMPDIR)
# Line 54 | Line 59 | links:
59                 BeOS/audio_beos.cpp BeOS/extfs_beos.cpp BeOS/scsi_beos.cpp \
60                 BeOS/serial_beos.cpp BeOS/sys_beos.cpp BeOS/timer_beos.cpp \
61                 BeOS/xpram_beos.cpp BeOS/SheepDriver BeOS/SheepNet \
62 <               Unix/audio_oss_esd.cpp Unix/extfs_unix.cpp Unix/serial_unix.cpp \
62 >               Unix/audio_oss_esd.cpp Unix/bincue_unix.cpp Unix/bincue_unix.h \
63 >               Unix/extfs_unix.cpp Unix/serial_unix.cpp \
64                 Unix/sshpty.h Unix/sshpty.c Unix/strlcpy.h Unix/strlcpy.c \
65                 Unix/sys_unix.cpp Unix/timer_unix.cpp Unix/xpram_unix.cpp \
66                 Unix/sigsegv.h Unix/sigsegv.cpp Unix/vm_alloc.h Unix/vm_alloc.cpp \
67 <               Unix/posix_sem.cpp Unix/video_vosf.h Unix/video_blit.h \
68 <               Unix/video_blit.cpp Unix/config.sub Unix/config.guess \
69 <               Unix/keycodes Unix/tunconfig Unix/clip_unix.cpp \
70 <               Unix/Linux/scsi_linux.cpp Unix/Linux/NetDriver \
67 >               Unix/semaphore.h Unix/posix_sem.cpp Unix/video_vosf.h Unix/video_blit.h \
68 >               Unix/video_blit.cpp Unix/config.sub Unix/config.guess Unix/m4 \
69 >               Unix/keycodes Unix/tunconfig Unix/clip_unix.cpp Unix/Irix/audio_irix.cpp \
70 >               Unix/Linux/scsi_linux.cpp Unix/Linux/NetDriver Unix/ether_unix.cpp \
71 >               Unix/rpc.h Unix/rpc_unix.cpp Unix/ldscripts Unix/Darwin/mkstandalone \
72                 Unix/Darwin/lowmem.c Unix/Darwin/pagezero.c Unix/Darwin/testlmem.sh \
73 <               dummy/audio_dummy.cpp dummy/clip_dummy.cpp \
74 <               dummy/prefs_editor_dummy.cpp dummy/scsi_dummy.cpp SDL \
73 >               dummy/audio_dummy.cpp dummy/clip_dummy.cpp dummy/serial_dummy.cpp \
74 >               dummy/prefs_editor_dummy.cpp dummy/scsi_dummy.cpp SDL slirp \
75                 MacOSX/sys_darwin.cpp MacOSX/clip_macosx.cpp \
76 <               MacOSX/macos_util_macosx.h MacOSX/extfs_macosx.h \
77 <               MacOSX/extfs_macosx.mm'; \
78 <        PREFIX="`pwd`/"; case $(B2_TOPDIR) in /*) PREFIX="";; esac; \
76 >               MacOSX/macos_util_macosx.h Unix/cpr.sh \
77 >               MacOSX/extfs_macosx.cpp Windows/clip_windows.cpp \
78 >               MacOSX/MacOSX_sound_if.cpp MacOSX/MacOSX_sound_if.h \
79 >               MacOSX/AudioBackEnd.cpp MacOSX/AudioBackEnd.h \
80 >               MacOSX/AudioDevice.cpp MacOSX/AudioDevice.h MacOSX/audio_macosx.cpp \
81 >               Windows/cd_defs.h Windows/cdenable Windows/extfs_windows.cpp \
82 >               Windows/posix_emu.cpp Windows/posix_emu.h Windows/sys_windows.cpp \
83 >               Windows/timer_windows.cpp Windows/util_windows.cpp \
84 >               Windows/util_windows.h Windows/xpram_windows.cpp \
85 >               Windows/kernel_windows.h Windows/kernel_windows.cpp \
86 >               Windows/serial_windows.cpp Windows/router Windows/b2ether \
87 >               Windows/ether_windows.h Windows/ether_windows.cpp \
88 >               Windows/serial_windows.cpp Windows/prefs_editor_gtk.cpp \
89 >               uae_cpu/compiler/codegen_x86.h'; \
90 >        PREFIX="../"; case $(B2_TOPDIR) in /*) PREFIX="";; esac; \
91          for i in $$list; do \
92 <          echo $$i; \
93 <          ln -sf $${PREFIX}$(B2_TOPDIR)/src/$$i src/$$i; \
94 <        done;
92 >          if test "$$i" != "\\"; then \
93 >            echo $$i; o=$$i; \
94 >            case $$i in *codegen_x86.h) o=kpx_cpu/src/cpu/jit/x86/codegen_x86.h;; esac; \
95 >            SUB=`echo $$o | sed 's;[^/]*/;../;g' | sed 's;[^/]*$$;;'` ;\
96 >            ln -sf "$$PREFIX$$SUB$(B2_TOPDIR)/src/$$i" src/$$o; \
97 >          fi; \
98 >        done; \
99 >        ln -sf ../../../../../SheepShaver/src/Unix/config.h $(B2_TOPDIR)/src/Unix/Linux/NetDriver/config.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines