/[cebix]/SheepShaver/Makefile
ViewVC logotype

Diff of /SheepShaver/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by gbeauche, Sat Jul 10 07:38:50 2004 UTC revision 1.26 by gbeauche, Sun Dec 4 16:26:57 2005 UTC
# Line 1  Line 1 
1  # Makefile for creating SheepShaver distributions  # Makefile for creating SheepShaver distributions
2  # Written in 1999 by Christian Bauer <Christian.Bauer@uni-mainz.de>  # Written in 1999 by Christian Bauer <Christian.Bauer@uni-mainz.de>
3    
4  VERSION := 2  VERSION := 2.3
 RELEASE := 2  
5  VERNAME := SheepShaver-$(VERSION)  VERNAME := SheepShaver-$(VERSION)
6    CVSDATE := $(shell date "+%Y%m%d")
7    
8  SRCARCHIVE := $(shell date +SheepShaver_src_%d%m%Y.tar.gz)  SRCARCHIVE := $(VERNAME)-$(CVSDATE).tar.gz
9    
10  TMPDIR := $(shell date +/tmp/build%m%s)  TMPDIR := $(shell date +/tmp/build%m%s)
11  DOCS := HISTORY LOG TODO  ISODATE := $(shell date "+%Y-%m-%d %H:%M")
12    DOCS := NEWS
13  SRCS := src  SRCS := src
14    
15  # Where Basilisk II directory can be found  # Where Basilisk II directory can be found
# Line 33  tarball: $(SRCARCHIVE) Line 34  tarball: $(SRCARCHIVE)
34  $(SRCARCHIVE): $(SRCS) $(DOCS)  $(SRCARCHIVE): $(SRCS) $(DOCS)
35          -rm -rf $(TMPDIR)          -rm -rf $(TMPDIR)
36          mkdir $(TMPDIR)          mkdir $(TMPDIR)
37          cd $(TMPDIR); cvs export -D "$(ISODATE)" SheepShaver          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          rm $(TMPDIR)/SheepShaver/Makefile
43          mv $(TMPDIR)/SheepShaver $(TMPDIR)/$(VERNAME)          cp -aL $(TMPDIR)/SheepShaver $(TMPDIR)/$(VERNAME)
44          cd $(TMPDIR); tar cfz $@ $(VERNAME)          cd $(TMPDIR); tar cfz $@ $(VERNAME)
45          mv $(TMPDIR)/$@ .          mv $(TMPDIR)/$@ .
46          rm -rf $(TMPDIR)          rm -rf $(TMPDIR)
# Line 58  links: Line 63  links:
63                 Unix/sshpty.h Unix/sshpty.c Unix/strlcpy.h Unix/strlcpy.c \                 Unix/sshpty.h Unix/sshpty.c Unix/strlcpy.h Unix/strlcpy.c \
64                 Unix/sys_unix.cpp Unix/timer_unix.cpp Unix/xpram_unix.cpp \                 Unix/sys_unix.cpp Unix/timer_unix.cpp Unix/xpram_unix.cpp \
65                 Unix/sigsegv.h Unix/sigsegv.cpp Unix/vm_alloc.h Unix/vm_alloc.cpp \                 Unix/sigsegv.h Unix/sigsegv.cpp Unix/vm_alloc.h Unix/vm_alloc.cpp \
66                 Unix/posix_sem.cpp Unix/video_vosf.h Unix/video_blit.h \                 Unix/semaphore.h Unix/posix_sem.cpp Unix/video_vosf.h Unix/video_blit.h \
67                 Unix/video_blit.cpp Unix/config.sub Unix/config.guess \                 Unix/video_blit.cpp Unix/config.sub Unix/config.guess Unix/m4 \
68                 Unix/keycodes Unix/tunconfig \                 Unix/keycodes Unix/tunconfig Unix/clip_unix.cpp Unix/Irix/audio_irix.cpp \
69                 Unix/Linux/scsi_linux.cpp Unix/Linux/NetDriver \                 Unix/Linux/scsi_linux.cpp Unix/Linux/NetDriver Unix/ether_unix.cpp \
70                 Unix/Darwin/lowmem.c Unix/Darwin/pagezero.c Unix/Darwin/testlmem.sh \                 Unix/Darwin/lowmem.c Unix/Darwin/pagezero.c Unix/Darwin/testlmem.sh \
71                 dummy/audio_dummy.cpp dummy/clip_dummy.cpp \                 dummy/audio_dummy.cpp dummy/clip_dummy.cpp dummy/serial_dummy.cpp \
72                 dummy/prefs_editor_dummy.cpp dummy/scsi_dummy.cpp SDL \                 dummy/prefs_editor_dummy.cpp dummy/scsi_dummy.cpp SDL slirp \
73                 MacOSX/sys_darwin.cpp MacOSX/clip_macosx.cpp \                 MacOSX/sys_darwin.cpp MacOSX/clip_macosx.cpp \
74                 MacOSX/macos_util_macosx.h MacOSX/extfs_macosx.h \                 MacOSX/macos_util_macosx.h MacOSX/extfs_macosx.h \
75                 MacOSX/extfs_macosx.mm'; \                 MacOSX/extfs_macosx.mm Windows/clip_windows.cpp \
76                   Windows/cd_defs.h Windows/cdenable Windows/extfs_windows.cpp \
77                   Windows/posix_emu.cpp Windows/posix_emu.h Windows/sys_windows.cpp \
78                   Windows/timer_windows.cpp Windows/util_windows.cpp \
79                   Windows/util_windows.h Windows/xpram_windows.cpp \
80                   Windows/kernel_windows.h Windows/kernel_windows.cpp \
81                   Windows/serial_windows.cpp Windows/router Windows/b2ether \
82                   Windows/ether_windows.h Windows/ether_windows.cpp \
83                   Windows/serial_windows.cpp Windows/prefs_editor_gtk.cpp'; \
84          PREFIX="`pwd`/"; case $(B2_TOPDIR) in /*) PREFIX="";; esac; \          PREFIX="`pwd`/"; case $(B2_TOPDIR) in /*) PREFIX="";; esac; \
85          for i in $$list; do \          for i in $$list; do \
86            echo $$i; \            echo $$i; \
87            ln -sf $${PREFIX}$(B2_TOPDIR)/src/$$i src/$$i; \            ln -sf "$${PREFIX}$(B2_TOPDIR)/src/$$i" src/$$i; \
88          done;          done;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.26

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.17