Mercurial > hg > Members > kono > nitros9-code
comparison level1/makefile @ 558:0ff357df35c5
Modified : to ,
author | boisy |
---|---|
date | Wed, 30 Oct 2002 22:59:55 +0000 |
parents | 78547a683e60 |
children | b857a3ab42d5 |
comparison
equal
deleted
inserted
replaced
557:7d803625ead8 | 558:0ff357df35c5 |
---|---|
1 include ../Makefile.rules | 1 include ../Makefile.rules |
2 | 2 |
3 RELEASE = os9l1v020100ccbeta2 | 3 RELEASE = os9l1v020100cc |
4 BOOTFILE = bootfile_stock | 4 BOOTFILE = bootfile_stock |
5 KERNEL = kernel_stock | 5 KERNEL = kernel_stock |
6 | 6 |
7 CMDS_D1 = $(shell $(CD) CMDS; make showcocoobjs_d1) | 7 CMDS_D1 = $(shell $(CD) CMDS; make showcocoobjs_d1) |
8 CMDS_D2 = $(shell $(CD) CMDS; make showcocoobjs_d2) | 8 CMDS_D2 = $(shell $(CD) CMDS; make showcocoobjs_d2) |
10 SYS = $(shell $(CD) SYS; make showobjs) | 10 SYS = $(shell $(CD) SYS; make showobjs) |
11 DEFS = $(shell $(CD) DEFS; make showobjs) | 11 DEFS = $(shell $(CD) DEFS; make showobjs) |
12 ROOTFILES = startup | 12 ROOTFILES = startup |
13 | 13 |
14 PACKAGENAME = $(RELEASE).zip | 14 PACKAGENAME = $(RELEASE).zip |
15 DSK_SS40_1 = $(RELEASE)_ss40_1.dsk | 15 DSK_DS40_1 = $(RELEASE)_ds40_1.dsk |
16 DSK_SS40_2 = $(RELEASE)_ss40_2.dsk | 16 DSK_DS40_2 = $(RELEASE)_ds40_2.dsk |
17 DSK_SS40_3 = $(RELEASE)_ss40_3.dsk | |
18 DSK_DS40 = $(RELEASE)_ds40.dsk | |
19 | 17 |
20 # Make all components | 18 # Make all components |
21 all: | 19 all: |
22 @$(ECHO) "*********************************************" | 20 @$(ECHO) "*********************************************" |
23 @$(ECHO) "* *" | 21 @$(ECHO) "* *" |
24 @$(ECHO) "* OS-9 Level One Distribution *" | 22 @$(ECHO) "* OS-9 Level One Distribution *" |
25 @$(ECHO) "* (C) 1983 Tandy Corporation *" | |
26 @$(ECHO) "* *" | 23 @$(ECHO) "* *" |
27 @$(ECHO) "*********************************************" | 24 @$(ECHO) "*********************************************" |
28 $(CD) CMDS; make | 25 $(CD) CMDS; make |
29 $(CD) MODULES; make | 26 $(CD) MODULES; make |
30 $(CD) DEFS; make | 27 $(CD) DEFS; make |
41 -$(CD) SYS; make clean | 38 -$(CD) SYS; make clean |
42 -$(CD) BOOTFILES; make clean | 39 -$(CD) BOOTFILES; make clean |
43 -$(OS92UNIX) $(ROOTFILES) | 40 -$(OS92UNIX) $(ROOTFILES) |
44 | 41 |
45 dskclean: | 42 dskclean: |
46 -$(RM) $(PACKAGENAME) $(DSK_SS40_1) $(DSK_SS40_2) $(DSK_SS40_3) $(DSK_DS40) | 43 -$(RM) $(PACKAGENAME) $(DSK_DS40_1) $(DSK_DS40_2) |
47 | 44 |
48 dsk: all $(PACKAGENAME) | 45 dsk: all $(PACKAGENAME) |
49 | 46 |
50 $(PACKAGENAME): $(DSK_SS40_1) $(DSK_SS40_2) $(DSK_SS40_3) $(DSK_DS40) | 47 $(PACKAGENAME): $(DSK_DS40_1) $(DSK_DS40_2) |
51 $(ZIP) $(PACKAGENAME) $(DSK_SS40_1) $(DSK_SS40_2) $(DSK_SS40_3) $(DSK_DS40) ReleaseNotes ChangeLog | 48 $(ZIP) $(PACKAGENAME) $(DSK_DS40_1) $(DSK_DS40_2) ReleaseNotes ChangeLog |
52 | 49 |
53 $(DSK_SS40_1): | 50 $(DSK_DS40_1): |
54 $(RM) $(DSK_SS40_1) | 51 $(RM) $(DSK_DS40_1) |
55 $(OS9FORMAT) $(DSK_SS40_1) -t40 -h1 -n"OS-9 Level One System Disk" | 52 $(OS9FORMAT) $(DSK_DS40_1) -t40 -h1 -n"OS-9 Level One System Disk" |
56 $(OS9GEN) $(DSK_SS40_1) BOOTFILES/$(BOOTFILE) BOOTFILES/$(KERNEL) | 53 $(OS9GEN) $(DSK_DS40_1) BOOTFILES/$(BOOTFILE) BOOTFILES/$(KERNEL) |
57 $(MAKDIR) $(DSK_SS40_1):CMDS | 54 $(MAKDIR) $(DSK_DS40_1),CMDS |
58 $(MAKDIR) $(DSK_SS40_1):SYS | 55 $(MAKDIR) $(DSK_DS40_1),SYS |
59 $(CD) CMDS; $(CP) $(CMDS_D1) ../$(DSK_SS40_1):CMDS | 56 $(CD) CMDS; $(CP) $(CMDS_D1) $(CMDS_D2) ../$(DSK_DS40_1),CMDS |
60 $(CD) SYS; $(CP) $(SYS) ../$(DSK_SS40_1):SYS | 57 $(CD) SYS; $(CP) $(SYS) ../$(DSK_DS40_1),SYS |
61 $(CP) $(ROOTFILES) $(DSK_SS40_1):. | 58 $(CP) $(ROOTFILES) $(DSK_DS40_1),. |
62 | 59 |
63 $(DSK_SS40_2): | 60 $(DSK_DS40_2): |
64 -$(RM) $(DSK_SS40_2) | 61 -$(RM) $(DSK_DS40_2) |
65 $(OS9FORMAT) $(DSK_SS40_2) -t40 -h1 -n"OS-9 Level One Modules Disk" | 62 $(OS9FORMAT) $(DSK_DS40_2) -t40 -h1 -n"OS-9 Level One Development Disk" |
66 $(MAKDIR) $(DSK_SS40_2):CMDS | 63 $(MAKDIR) $(DSK_DS40_2),DEFS |
67 $(MAKDIR) $(DSK_SS40_2):MODULES | 64 $(CD) DEFS; $(CP) $(DEFS) ../$(DSK_DS40_2),DEFS |
68 $(CD) CMDS; $(CP) $(CMDS_D2) ../$(DSK_SS40_2):CMDS | |
69 $(CD) MODULES; $(CP) $(MODULES) ../$(DSK_SS40_2):MODULES | |
70 | 65 |
71 $(DSK_SS40_3): | |
72 -$(RM) $(DSK_SS40_3) | |
73 $(OS9FORMAT) $(DSK_SS40_3) -t40 -h1 -n"OS-9 Level One Defs Disk" | |
74 $(MAKDIR) $(DSK_SS40_3):DEFS | |
75 $(CD) DEFS; $(CP) $(DEFS) ../$(DSK_SS40_3):DEFS | |
76 | |
77 | |
78 $(DSK_DS40): | |
79 -$(RM) $(DSK_DS40) | |
80 $(OS9FORMAT) $(DSK_DS40) -t40 -h2 -n"OS-9 Level One" | |
81 $(OS9GEN) $(DSK_DS40) BOOTFILES/$(BOOTFILE) BOOTFILES/$(KERNEL) | |
82 $(MAKDIR) $(DSK_DS40):CMDS | |
83 $(MAKDIR) $(DSK_DS40):SYS | |
84 $(MAKDIR) $(DSK_DS40):MODULES | |
85 $(MAKDIR) $(DSK_DS40):DEFS | |
86 $(CD) CMDS; $(CP) $(CMDS_D1) ../$(DSK_DS40):CMDS | |
87 $(CD) CMDS; $(CP) $(CMDS_D2) ../$(DSK_DS40):CMDS | |
88 $(CD) SYS; $(CP) $(SYS) ../$(DSK_DS40):SYS | |
89 $(CD) MODULES; $(CP) $(MODULES) ../$(DSK_DS40):MODULES | |
90 $(CD) DEFS; $(CP) $(DEFS) ../$(DSK_DS40):DEFS | |
91 $(CP) $(ROOTFILES) $(DSK_DS40):. | |
92 |