Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/sierra/christmas86/makefile @ 2745:5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
author | drencor-xeen |
---|---|
date | Wed, 09 Jan 2013 12:07:42 -0600 |
parents | 0fe5a04e9d0c |
children | 0e69fb47e053 |
rev | line source |
---|---|
2494
98e7cb7b3dda
Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents:
2216
diff
changeset
|
1 ifndef NITROS9DIR |
98e7cb7b3dda
Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents:
2216
diff
changeset
|
2 NITROS9DIR = $(HOME)/nitros9 |
98e7cb7b3dda
Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents:
2216
diff
changeset
|
3 endif |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
4 include $(NITROS9DIR)/rules.mak |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
5 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
6 vpath %.asm ../objs_lsl |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
7 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
8 DEPENDS = ./makefile |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
9 |
2208 | 10 DSK_FLOPPY = christmas86.dsk |
11 DSK_DW3 = christmas86_dw3.dsk | |
2745
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
12 DSK_DW3_BECKER = christmas86_dw3_becker.dsk |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
13 |
2745
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
14 DSKS = $(DSK_FLOPPY) $(DSK_DW3) $(DSK_DW3_BECKER) |
2216 | 15 |
2208 | 16 DSK_NAME = "Christmas 1986" |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
17 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
18 CMDS = sierra mnln scrn shdw tocgen |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
19 MD = $(LEVEL2)/coco3/modules |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
20 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
21 # We make our own bootfile and kernel track |
2208 | 22 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
23 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn | |
2745
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
24 KERNEL_DW3_BECKER = $(MD)/rel_32 $(MD)/boot_dw3_becker $(MD)/krn |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
25 |
2208 | 26 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
27 $(MD)/rbf.mn \ |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
28 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
29 $(MD)/scf.mn $(MD)/vtio.dr \ |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
30 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
31 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
32 $(MD)/vrn.dr $(MD)/vi.dd \ |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
33 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
34 |
2208 | 35 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
36 $(MD)/rbf.mn \ | |
37 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ | |
38 $(MD)/scf.mn $(MD)/vtio.dr \ | |
39 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
40 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
41 $(MD)/vrn.dr $(MD)/vi.dd \ | |
42 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd | |
43 | |
2745
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
44 BOOTFILE_DW3_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
45 $(MD)/rbf.mn \ |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
46 $(MD)/rbdw3.dr $(MD)/dw3_becker.sb $(MD)/ddx0.dd \ |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
47 $(MD)/scf.mn $(MD)/vtio.dr \ |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
48 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
49 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
50 $(MD)/vrn.dr $(MD)/vi.dd \ |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
51 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
52 |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
53 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \ |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
54 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \ |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
55 $(LEVEL2)/coco3/cmds/setime |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
56 |
2515 | 57 TEXTFILES = ../startup tOC.txt |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
58 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
59 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 words.tok |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
60 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
61 ALLOBJS = $(CMDS) |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
62 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
63 all: $(ALLOBJS) |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
64 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
65 clean: dskclean |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
66 $(RM) $(ALLOBJS) |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
67 |
2216 | 68 dsk: $(DSKS) |
2208 | 69 |
70 $(DSK_FLOPPY): all | |
71 $(RM) $@ | |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
72 $(CD) $(LEVEL2)/coco3; make |
2208 | 73 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME) |
74 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot | |
75 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
76 $(OS9GEN) $@ -b=os9boot -t=kernel | |
77 $(RM) os9boot kernel | |
78 $(MAKDIR) $@,CMDS | |
79 $(CP) $(CMDS) $@,CMDS | |
80 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
81 $(MERGE) $(BOOTCMDS)>shell |
2208 | 82 $(CP) shell $@,CMDS |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
83 $(RM) shell |
2208 | 84 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
85 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
86 $(CPL) $(TEXTFILES) $@,. | |
2494
98e7cb7b3dda
Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents:
2216
diff
changeset
|
87 $(MOVE) tocgen toctmp |
2208 | 88 tocgen $@,tOC.txt $@,tOC |
2494
98e7cb7b3dda
Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents:
2216
diff
changeset
|
89 $(MOVE) toctmp tocgen |
2208 | 90 $(CP) $(SUPPORTFILES) $@,. |
91 | |
92 $(DSK_DW3): all | |
93 $(RM) $@ | |
94 $(CD) $(LEVEL2)/coco3; make | |
95 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME) | |
96 $(MERGE) $(BOOTFILE_DW3)>os9boot | |
97 $(MERGE) $(KERNEL_DW3)>kernel | |
98 $(OS9GEN) $@ -b=os9boot -t=kernel | |
99 $(RM) os9boot kernel | |
100 $(MAKDIR) $@,CMDS | |
101 $(CP) $(CMDS) $@,CMDS | |
102 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
103 $(MERGE) $(BOOTCMDS)>shell | |
104 $(CP) shell $@,CMDS | |
105 $(RM) shell | |
106 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | |
107 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
108 $(CPL) $(TEXTFILES) $@,. | |
2494
98e7cb7b3dda
Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents:
2216
diff
changeset
|
109 $(RM) tocgen |
2208 | 110 tocgen $@,tOC.txt $@,tOC |
111 $(CP) $(SUPPORTFILES) $@,. | |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
112 |
2745
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
113 $(DSK_DW3_BECKER): all |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
114 $(RM) $@ |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
115 $(CD) $(LEVEL2)/coco3; make |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
116 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME) |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
117 $(MERGE) $(BOOTFILE_DW3_BECKER)>os9boot |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
118 $(MERGE) $(KERNEL_DW3_BECKER)>kernel |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
119 $(OS9GEN) $@ -b=os9boot -t=kernel |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
120 $(RM) os9boot kernel |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
121 $(MAKDIR) $@,CMDS |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
122 $(CP) $(CMDS) $@,CMDS |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
123 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
124 $(MERGE) $(BOOTCMDS)>shell |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
125 $(CP) shell $@,CMDS |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
126 $(RM) shell |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
127 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
128 $(OS9RENAME) $@,CMDS/sierra AutoEx |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
129 $(CPL) $(TEXTFILES) $@,. |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
130 $(RM) tocgen |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
131 tocgen $@,tOC.txt $@,tOC |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
132 $(CP) $(SUPPORTFILES) $@,. |
5ed3a13b3865
Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2515
diff
changeset
|
133 |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
134 dskcopy: dsk |
2216 | 135 $(CP) $(DSKS) $(DSKDIR) |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
136 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
137 dskclean: |
2216 | 138 $(RM) $(DSKS) |
139 | |
140 info: | |
141 @$(ECHO) "*** Christmas 1986 ***" | |
142 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |