Mercurial > hg > Members > kono > nitros9-code
annotate level2/makefile @ 1099:b77631456f91
Change to makefile
author | roug |
---|---|
date | Wed, 09 Apr 2003 19:02:19 +0000 |
parents | 1e3b13dfb976 |
children | f86ef3d1d7c9 |
rev | line source |
---|---|
0 | 1 include ../Makefile.rules |
2 | |
1075 | 3 RELEASE = os9l2v030101 |
751
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
739
diff
changeset
|
4 BOOTFILE = bootfile_vdg |
519
6c626a142234
Eliminated SS disks... distribution is too large, now we only have
boisy
parents:
485
diff
changeset
|
5 KERNEL = kernel_stock |
455 | 6 |
900 | 7 CMDS = $(shell $(CD) CMDS; make showobjs) |
8 MODULES = $(shell $(CD) MODULES; make showcopyobjs) | |
9 DEFS = $(shell $(CD) DEFS; make showobjs) | |
10 SYSBIN = $(shell $(CD) SYS; make showbinobjs) | |
11 SYSTEXT = $(shell $(CD) SYS; make showtextobjs) | |
355 | 12 ROOTFILES = startup upgrade_song |
900 | 13 SYSGO = MODULES/cc3go |
455 | 14 |
900 | 15 PACKAGENAME = $(RELEASE).zip |
1027 | 16 DSK1 = $(RELEASE)_ds40_1.dsk |
17 DSK2 = $(RELEASE)_ds40_2.dsk | |
558 | 18 TESTDSK = test.dsk |
455 | 19 |
341 | 20 |
0 | 21 # Make all components |
22 all: | |
23 @$(ECHO) "*********************************************" | |
24 @$(ECHO) "* *" | |
25 @$(ECHO) "* OS-9 Level Two Vr3 Distribution *" | |
26 @$(ECHO) "* The Rumored Upgrade Version *" | |
27 @$(ECHO) "* *" | |
28 @$(ECHO) "*********************************************" | |
329 | 29 $(CD) CMDS; make |
30 $(CD) MODULES; make | |
31 $(CD) DEFS; make | |
337 | 32 $(CD) SYS; make |
329 | 33 $(CD) BOOTFILES; make |
341 | 34 $(CHMOD) 644 $(ROOTFILES) |
0 | 35 |
36 # Clean all components | |
455 | 37 clean: dskclean |
329 | 38 -$(CD) CMDS; make clean |
39 -$(CD) MODULES; make clean | |
40 -$(CD) DEFS; make clean | |
337 | 41 -$(CD) SYS; make clean |
329 | 42 -$(CD) BOOTFILES; make clean |
455 | 43 |
44 dskclean: | |
1027 | 45 -$(RM) $(PACKAGENAME) $(DSK1) $(DSK2) |
455 | 46 |
47 dsk: all $(PACKAGENAME) | |
48 | |
1027 | 49 $(PACKAGENAME): $(DSK1) $(DSK2) |
50 $(ZIP) $(PACKAGENAME) $(DSK1) $(DSK2) ReadMe ChangeLog | |
455 | 51 |
1027 | 52 $(DSK1): |
53 -$(RM) $(DSK1) | |
54 $(OS9FORMAT_DS40) $(DSK1) -n"OS-9 Level Two System Disk" | |
1035 | 55 $(OS9GEN) $(DSK1) -b=BOOTFILES/$(BOOTFILE) -t=BOOTFILES/$(KERNEL) |
1027 | 56 $(MAKDIR) $(DSK1),CMDS |
57 $(MAKDIR) $(DSK1),SYS | |
58 $(MAKDIR) $(DSK1),DEFS | |
59 $(CP) $(SYSGO) $(DSK1), | |
60 $(CD) CMDS; $(CP) $(CMDS) ../$(DSK1),CMDS | |
61 $(CD) SYS; $(CP) $(SYSBIN) ../$(DSK1),SYS | |
62 $(CD) SYS; $(CPL) $(SYSTEXT) ../$(DSK1),SYS | |
63 $(CD) DEFS; $(CPL) $(DEFS) ../$(DSK1),DEFS | |
64 $(CPL) $(ROOTFILES) $(DSK1),. | |
455 | 65 |
1027 | 66 $(DSK2): |
67 -$(RM) $(DSK2) | |
68 $(OS9FORMAT_DS40) $(DSK2) -n"OS-9 Level Two Modules Disk" | |
69 $(MAKDIR) $(DSK2),MODULES | |
70 $(CD) MODULES; $(CP) $(MODULES) ../$(DSK2),MODULES |