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

Comparing BasiliskII/Makefile (file contents):
Revision 1.1 by cebix, 1999-10-03T15:10:50Z vs.
Revision 1.2 by cebix, 1999-10-03T16:21:28Z

# Line 2 | Line 2
2   # Written in 1999 by Christian Bauer <Christian.Bauer@uni-mainz.de>
3  
4   SRCARCHIVE = $(shell date +BasiliskII_src_%d%m%Y.tar.gz)
5 < BUILDDIR = $(shell echo /tmp/build$$)
5 > AMIGAARCHIVE = $(shell date +BasiliskII_amiga_%d%m%Y.lha)
6 > BEOSPPCARCHIVE = $(shell date +BasiliskII_beos_ppc_%d%m%Y.zip)
7 > BEOSX86ARCHIVE = $(shell date +BasiliskII_beos_x86_%d%m%Y.zip)
8 >
9 > BUILDDIR = /tmp/build
10 > DOCS = CHANGES COPYING README TECH TODO
11 > SRC = src
12  
13   #
14   # Source tarball
15   #
16 < srcdist: $(SRCARCHIVE)
16 > tarball: $(SRCARCHIVE)
17  
18 < $(SRCARCHIVE): src CHANGES COPYING README TECH TODO
18 > $(SRCARCHIVE): $(SRC) $(DOCS)
19          -rm -rf $(BUILDDIR)
20          mkdir $(BUILDDIR)
21          cd $(BUILDDIR); cvs checkout BasiliskII
# Line 21 | Line 27 | $(SRCARCHIVE): src CHANGES COPYING READM
27          rm -rf $(BUILDDIR)
28  
29   #
30 < # RPM source archive
30 > # Source RPM
31   #
32 < srcrpm: $(SRCARCHIVE)
32 > srcrpm: $(SRCARCHIVE) BasiliskII.spec
33  
34   #
35 < # RPM binary archive (Unix/i386)
35 > # Binary RPM for Unix/i386
36   #
37   i386rpm:
38 +
39 + #
40 + # Binary archive for AmigaOS
41 + #
42 + amiga: $(AMIGAARCHIVE)
43 +
44 + $(AMIGAARCHIVE): $(SRC) $(DOCS) src/AmigaOS/BasiliskII
45 +        -rm -rf $(BUILDDIR)
46 +        mkdir $(BUILDDIR)
47 +        mkdir $(BUILDDIR)/BasiliskII
48 +        cp $(DOCS) $(BUILDDIR)/BasiliskII
49 +        cp src/AmigaOS/BasiliskII $(BUILDDIR)/BasiliskII
50 +        cp src/AmigaOS/BasiliskII.info $(BUILDDIR)/BasiliskII.info
51 +        cd $(BUILDDIR); lha av $@ BasiliskII
52 +        mv $(BUILDDIR)/$@ .
53 +        rm -rf $(BUILDDIR)
54 +
55 + #
56 + # Binary archive for BeOS/ppc
57 + #
58 + beosppc: $(BEOSPPCARCHIVE)
59 +
60 + $(BEOSPPCARCHIVE): $(SRC) $(DOCS) src/BeOS/obj.ppc/BasiliskII
61 +        -rm -rf $(BUILDDIR)
62 +        mkdir $(BUILDDIR)
63 +        mkdir $(BUILDDIR)/BasiliskII
64 +        cp $(DOCS) $(BUILDDIR)/BasiliskII
65 +        mv src/BeOS/obj.ppc/BasiliskII $(BUILDDIR)/BasiliskII
66 +        cd $(BUILDDIR); zip -ry $@ BasiliskII/
67 +        mv $(BUILDDIR)/$@ .
68 +        rm -rf $(BUILDDIR)
69 +
70 + #
71 + # Binary archive for BeOS/x86
72 + #
73 + beosx86: $(BEOSX86ARCHIVE)
74 +
75 + $(BEOSX86ARCHIVE): $(SRC) $(DOCS) src/BeOS/obj.x86/BasiliskII
76 +        -rm -rf $(BUILDDIR)
77 +        mkdir $(BUILDDIR)
78 +        mkdir $(BUILDDIR)/BasiliskII
79 +        cp $(DOCS) $(BUILDDIR)/BasiliskII
80 +        mv src/BeOS/obj.x86/BasiliskII $(BUILDDIR)/BasiliskII
81 +        cd $(BUILDDIR); zip -ry $@ BasiliskII/
82 +        mv $(BUILDDIR)/$@ .
83 +        rm -rf $(BUILDDIR)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines