Mercurial > hg > Members > kono > nitros9-code
annotate level2/makefile @ 1119:f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
author | boisy |
---|---|
date | Sat, 12 Apr 2003 17:19:55 +0000 |
parents | 1e3b13dfb976 |
children | 99b993d4c94e |
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 | |
1119
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
1075
diff
changeset
|
49 dskcopy: dsk |
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
1075
diff
changeset
|
50 $(CP) $(DSK1) $(DSK2) $(PACKAGENAME) $(DSKDIR) |
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
1075
diff
changeset
|
51 |
1027 | 52 $(PACKAGENAME): $(DSK1) $(DSK2) |
53 $(ZIP) $(PACKAGENAME) $(DSK1) $(DSK2) ReadMe ChangeLog | |
455 | 54 |
1027 | 55 $(DSK1): |
56 -$(RM) $(DSK1) | |
1119
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
1075
diff
changeset
|
57 $(OS9FORMAT_DS40) -e $(DSK1) -n"OS-9 Level Two System Disk" |
1035 | 58 $(OS9GEN) $(DSK1) -b=BOOTFILES/$(BOOTFILE) -t=BOOTFILES/$(KERNEL) |
1027 | 59 $(MAKDIR) $(DSK1),CMDS |
60 $(MAKDIR) $(DSK1),SYS | |
61 $(MAKDIR) $(DSK1),DEFS | |
62 $(CP) $(SYSGO) $(DSK1), | |
63 $(CD) CMDS; $(CP) $(CMDS) ../$(DSK1),CMDS | |
64 $(CD) SYS; $(CP) $(SYSBIN) ../$(DSK1),SYS | |
65 $(CD) SYS; $(CPL) $(SYSTEXT) ../$(DSK1),SYS | |
66 $(CD) DEFS; $(CPL) $(DEFS) ../$(DSK1),DEFS | |
67 $(CPL) $(ROOTFILES) $(DSK1),. | |
455 | 68 |
1027 | 69 $(DSK2): |
70 -$(RM) $(DSK2) | |
1119
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
1075
diff
changeset
|
71 $(OS9FORMAT_DS40) -e $(DSK2) -n"OS-9 Level Two Modules Disk" |
1027 | 72 $(MAKDIR) $(DSK2),MODULES |
73 $(CD) MODULES; $(CP) $(MODULES) ../$(DSK2),MODULES |