Mercurial > hg > Members > kono > nitros9-code
annotate level1/makefile @ 484:13ca57c5a987
Added ChangeLog, modified Makefile to include file in archive
author | boisy |
---|---|
date | Wed, 09 Oct 2002 14:25:21 +0000 |
parents | 14157dc9e1d2 |
children | 78547a683e60 |
rev | line source |
---|---|
0 | 1 include ../Makefile.rules |
2 | |
454 | 3 RELEASE = os9l1v020100ccbeta2 |
4 BOOTFILE = bootfile_1773 | |
5 KERNEL = kernel_1773 | |
6 | |
7 CMDS_D1 = $(shell $(CD) CMDS; make showcocoobjs_d1) | |
8 CMDS_D2 = $(shell $(CD) CMDS; make showcocoobjs_d2) | |
9 MODULES = $(shell $(CD) MODULES; make showcopyobjs) | |
10 SYS = $(shell $(CD) SYS; make showobjs) | |
11 DEFS = $(shell $(CD) DEFS; make showobjs) | |
12 ROOTFILES = startup | |
13 | |
14 PACKAGENAME = $(RELEASE).zip | |
15 DSK_SS40_1 = $(RELEASE)_ss40_1.dsk | |
16 DSK_SS40_2 = $(RELEASE)_ss40_2.dsk | |
17 DSK_SS40_3 = $(RELEASE)_ss40_3.dsk | |
18 DSK_DS40 = $(RELEASE)_ds40.dsk | |
323 | 19 |
0 | 20 # Make all components |
21 all: | |
22 @$(ECHO) "*********************************************" | |
23 @$(ECHO) "* *" | |
24 @$(ECHO) "* OS-9 Level One Distribution *" | |
25 @$(ECHO) "* (C) 1983 Tandy Corporation *" | |
26 @$(ECHO) "* *" | |
27 @$(ECHO) "*********************************************" | |
323 | 28 $(CD) CMDS; make |
29 $(CD) MODULES; make | |
30 $(CD) DEFS; make | |
31 $(CD) SYS; make | |
454 | 32 $(CD) BOOTFILES; make |
33 $(UNIX2OS9) $(ROOTFILES) | |
34 $(CHMOD) 644 $(ROOTFILES) | |
0 | 35 |
36 # Clean all components | |
454 | 37 clean: dskclean |
323 | 38 -$(CD) CMDS; make clean |
39 -$(CD) MODULES; make clean | |
40 -$(CD) DEFS; make clean | |
41 -$(CD) SYS; make clean | |
454 | 42 -$(CD) BOOTFILES; make clean |
43 -$(OS92UNIX) $(ROOTFILES) | |
44 | |
45 dskclean: | |
46 -$(RM) $(PACKAGENAME) $(DSK_SS40_1) $(DSK_SS40_2) $(DSK_SS40_3) $(DSK_DS40) | |
47 | |
48 dsk: all $(PACKAGENAME) | |
49 | |
50 $(PACKAGENAME): $(DSK_SS40_1) $(DSK_SS40_2) $(DSK_SS40_3) $(DSK_DS40) | |
484
13ca57c5a987
Added ChangeLog, modified Makefile to include file in archive
boisy
parents:
454
diff
changeset
|
51 $(ZIP) $(PACKAGENAME) $(DSK_SS40_1) $(DSK_SS40_2) $(DSK_SS40_3) $(DSK_DS40) ReleaseNotes ChangeLog |
454 | 52 |
53 $(DSK_SS40_1): | |
54 $(RM) $(DSK_SS40_1) | |
55 $(OS9FORMAT) $(DSK_SS40_1) -t40 -h1 -n"OS-9 Level One System Disk" | |
56 $(OS9GEN) $(DSK_SS40_1) BOOTFILES/$(BOOTFILE) BOOTFILES/$(KERNEL) | |
57 $(MAKDIR) $(DSK_SS40_1):CMDS | |
58 $(MAKDIR) $(DSK_SS40_1):SYS | |
59 $(CD) CMDS; $(CP) $(CMDS_D1) ../$(DSK_SS40_1):CMDS | |
60 $(CD) SYS; $(CP) $(SYS) ../$(DSK_SS40_1):SYS | |
61 $(CP) $(ROOTFILES) $(DSK_SS40_1):. | |
107 | 62 |
454 | 63 $(DSK_SS40_2): |
64 -$(RM) $(DSK_SS40_2) | |
65 $(OS9FORMAT) $(DSK_SS40_2) -t40 -h1 -n"OS-9 Level One Modules Disk" | |
66 $(MAKDIR) $(DSK_SS40_2):CMDS | |
67 $(MAKDIR) $(DSK_SS40_2):MODULES | |
68 $(CD) CMDS; $(CP) $(CMDS_D2) ../$(DSK_SS40_2):CMDS | |
69 $(CD) MODULES; $(CP) $(MODULES) ../$(DSK_SS40_2):MODULES | |
70 | |
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 |