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.2 by cebix, 1999-10-03T16:21:28Z vs.
Revision 1.3 by cebix, 1999-10-03T17:11:52Z

# Line 7 | Line 7 | BEOSPPCARCHIVE = $(shell date +BasiliskI
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
10 > DOCS = ChangeLog COPYING INSTALL README TECH TODO
11 > SRCS = src
12 >
13 > default:
14 >        @echo "This top-level Makefile is for creating Basilisk II distributions."
15 >        @echo "If you want to install Basilisk II on your system, please follow"
16 >        @echo "the instructions in the file INSTALL."
17 >        @echo "If you want to create a Basilisk II distribution, type \"make help\""
18 >        @echo "to get a list of possible targets."
19 >
20 > help:
21 >        @echo "The following targets are available:"
22 >        @echo "  tarball  source tarball ($(SRCARCHIVE))"
23 >        @echo "  rpm      source and binary RPMs"
24 >        @echo "  amiga    AmigaOS binary archive ($(AMIGAARCHIVE))"
25 >        @echo "  beosppc  BeOS/ppc binary archive ($(BEOSPPCARCHIVE))"
26 >        @echo "  beosx86  BeOS/x86 binary archive ($(BEOSX86ARCHIVE))"
27  
28   #
29   # Source tarball
30   #
31   tarball: $(SRCARCHIVE)
32  
33 < $(SRCARCHIVE): $(SRC) $(DOCS)
33 > $(SRCARCHIVE): $(SRCS) $(DOCS)
34          -rm -rf $(BUILDDIR)
35          mkdir $(BUILDDIR)
36          cd $(BUILDDIR); cvs checkout BasiliskII
37 <        rm $(BUILDDIR)/BasiliskII/BasiliskII.spec
23 <        rm $(BUILDDIR)/BasiliskII/Makefile
24 <        rm -rf $(BUILDDIR)/BasiliskII/src/powerrom_cpu
37 >        rm -rf $(BUILDDIR)/BasiliskII/src/powerrom_cpu  #not yet ready for distribution
38          cd $(BUILDDIR); tar cfz $@ BasiliskII
39          mv $(BUILDDIR)/$@ .
40          rm -rf $(BUILDDIR)
41  
42   #
43 < # Source RPM
43 > # RPMs
44   #
45 < srcrpm: $(SRCARCHIVE) BasiliskII.spec
45 > rpm: /usr/src/redhat/SOURCES/$(SRCARCHIVE) BasiliskII.spec
46 >        rpm -ba BasiliskII.spec
47  
48 < #
49 < # Binary RPM for Unix/i386
36 < #
37 < i386rpm:
48 > /usr/src/redhat/SOURCES/$(SRCARCHIVE): $(SRCARCHIVE)
49 >        cp $(SRCARCHIVE) /usr/src/redhat/SOURCES
50  
51   #
52   # Binary archive for AmigaOS
53   #
54   amiga: $(AMIGAARCHIVE)
55  
56 < $(AMIGAARCHIVE): $(SRC) $(DOCS) src/AmigaOS/BasiliskII
56 > $(AMIGAARCHIVE): $(SRCS) $(DOCS) src/AmigaOS/BasiliskII
57          -rm -rf $(BUILDDIR)
58          mkdir $(BUILDDIR)
59          mkdir $(BUILDDIR)/BasiliskII
60          cp $(DOCS) $(BUILDDIR)/BasiliskII
61          cp src/AmigaOS/BasiliskII $(BUILDDIR)/BasiliskII
62          cp src/AmigaOS/BasiliskII.info $(BUILDDIR)/BasiliskII.info
63 <        cd $(BUILDDIR); lha av $@ BasiliskII
63 >        cd $(BUILDDIR); lha a $@ BasiliskII
64          mv $(BUILDDIR)/$@ .
65          rm -rf $(BUILDDIR)
66  
# Line 57 | Line 69 | $(AMIGAARCHIVE): $(SRC) $(DOCS) src/Amig
69   #
70   beosppc: $(BEOSPPCARCHIVE)
71  
72 < $(BEOSPPCARCHIVE): $(SRC) $(DOCS) src/BeOS/obj.ppc/BasiliskII
72 > $(BEOSPPCARCHIVE): $(SRCS) $(DOCS) src/BeOS/obj.ppc/BasiliskII
73          -rm -rf $(BUILDDIR)
74          mkdir $(BUILDDIR)
75          mkdir $(BUILDDIR)/BasiliskII
# Line 72 | Line 84 | $(BEOSPPCARCHIVE): $(SRC) $(DOCS) src/Be
84   #
85   beosx86: $(BEOSX86ARCHIVE)
86  
87 < $(BEOSX86ARCHIVE): $(SRC) $(DOCS) src/BeOS/obj.x86/BasiliskII
87 > $(BEOSX86ARCHIVE): $(SRCS) $(DOCS) src/BeOS/obj.x86/BasiliskII
88          -rm -rf $(BUILDDIR)
89          mkdir $(BUILDDIR)
90          mkdir $(BUILDDIR)/BasiliskII

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines