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 |
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) |
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'; \ |
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; \ |