comparison 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
comparison
equal deleted inserted replaced
2744:7a963a315d3e 2745:5ed3a13b3865
7 7
8 DEPENDS = ./makefile 8 DEPENDS = ./makefile
9 9
10 DSK_FLOPPY = christmas86.dsk 10 DSK_FLOPPY = christmas86.dsk
11 DSK_DW3 = christmas86_dw3.dsk 11 DSK_DW3 = christmas86_dw3.dsk
12 DSK_DW3_BECKER = christmas86_dw3_becker.dsk
12 13
13 DSKS = $(DSK_FLOPPY) $(DSK_DW3) 14 DSKS = $(DSK_FLOPPY) $(DSK_DW3) $(DSK_DW3_BECKER)
14 15
15 DSK_NAME = "Christmas 1986" 16 DSK_NAME = "Christmas 1986"
16 17
17 CMDS = sierra mnln scrn shdw tocgen 18 CMDS = sierra mnln scrn shdw tocgen
18 MD = $(LEVEL2)/coco3/modules 19 MD = $(LEVEL2)/coco3/modules
19 20
20 # We make our own bootfile and kernel track 21 # We make our own bootfile and kernel track
21 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn 22 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
22 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn 23 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn
24 KERNEL_DW3_BECKER = $(MD)/rel_32 $(MD)/boot_dw3_becker $(MD)/krn
23 25
24 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 26 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
25 $(MD)/rbf.mn \ 27 $(MD)/rbf.mn \
26 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ 28 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
27 $(MD)/scf.mn $(MD)/vtio.dr \ 29 $(MD)/scf.mn $(MD)/vtio.dr \
31 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd 33 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
32 34
33 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 35 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
34 $(MD)/rbf.mn \ 36 $(MD)/rbf.mn \
35 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ 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
44 BOOTFILE_DW3_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
45 $(MD)/rbf.mn \
46 $(MD)/rbdw3.dr $(MD)/dw3_becker.sb $(MD)/ddx0.dd \
36 $(MD)/scf.mn $(MD)/vtio.dr \ 47 $(MD)/scf.mn $(MD)/vtio.dr \
37 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ 48 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
38 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ 49 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
39 $(MD)/vrn.dr $(MD)/vi.dd \ 50 $(MD)/vrn.dr $(MD)/vi.dd \
40 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd 51 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd
97 $(CPL) $(TEXTFILES) $@,. 108 $(CPL) $(TEXTFILES) $@,.
98 $(RM) tocgen 109 $(RM) tocgen
99 tocgen $@,tOC.txt $@,tOC 110 tocgen $@,tOC.txt $@,tOC
100 $(CP) $(SUPPORTFILES) $@,. 111 $(CP) $(SUPPORTFILES) $@,.
101 112
113 $(DSK_DW3_BECKER): all
114 $(RM) $@
115 $(CD) $(LEVEL2)/coco3; make
116 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME)
117 $(MERGE) $(BOOTFILE_DW3_BECKER)>os9boot
118 $(MERGE) $(KERNEL_DW3_BECKER)>kernel
119 $(OS9GEN) $@ -b=os9boot -t=kernel
120 $(RM) os9boot kernel
121 $(MAKDIR) $@,CMDS
122 $(CP) $(CMDS) $@,CMDS
123 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
124 $(MERGE) $(BOOTCMDS)>shell
125 $(CP) shell $@,CMDS
126 $(RM) shell
127 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
128 $(OS9RENAME) $@,CMDS/sierra AutoEx
129 $(CPL) $(TEXTFILES) $@,.
130 $(RM) tocgen
131 tocgen $@,tOC.txt $@,tOC
132 $(CP) $(SUPPORTFILES) $@,.
133
102 dskcopy: dsk 134 dskcopy: dsk
103 $(CP) $(DSKS) $(DSKDIR) 135 $(CP) $(DSKS) $(DSKDIR)
104 136
105 dskclean: 137 dskclean:
106 $(RM) $(DSKS) 138 $(RM) $(DSKS)