annotate level2/coco3_6309/bootfiles/makefile.cust @ 987:30f5cce9eb76

Renamed g0 to x0
author boisy
date Mon, 17 Feb 2003 22:56:25 +0000
parents 274cc2d4421d
children 4df2fdb9045f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
501
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
1 include ../../Makefile.rules
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
2
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
3 # Module directory
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
4 MD = ../MODULES
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
5 # Commands directory
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
6 CD = ../CMDS
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
7 # Third Party directory
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
8 3PB = $(3RDPARTY)/booters
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
9 3PD = $(3RDPARTY)/drivers
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
10
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
11 DEPENDS = ./Makefile
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
12
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
13 KERNEL_1773 = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
14 KERNEL_ROM = $(MD)/rel $(3PB)/boot_rom $(MD)/os9p1
980
3f48145b44fd Changes
boisy
parents: 751
diff changeset
15 KERNEL_KENTON = $(MD)/rel $(C9)/superscsi/boot_id0_ktlr_l2 $(MD)/os9p1
3f48145b44fd Changes
boisy
parents: 751
diff changeset
16 KERNEL_TC3 = $(MD)/rel $(C9)/superscsi/boot_id0_tc3_l2 $(MD)/os9p1
985
274cc2d4421d Changed ghost references to DriveWire
boisy
parents: 982
diff changeset
17 KERNEL_DW = $(MD)/rel $(C9)/drivewire/boot_drivewire_l2 $(MD)/os9p1
501
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
18
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
19 # OS-9 disk bootfile to allow booting from WD1773 disk controller
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
20 BOOTFILE_1773 = $(MD)/os9p2 $(MD)/ioman $(MD)/init \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
21 $(MD)/rbf.mn \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
22 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
23 $(MD)/ddd0_40d.dd \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
24 $(MD)/scf.mn $(MD)/cc3io.dr \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
25 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
26 $(MD)/windint.io $(MD)/vdgint.io \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
27 $(MD)/term_vdg.dt \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
28 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
29 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
30 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
701
bd97435054d2 Modified for new clock module (clock2 is defunct)
boisy
parents: 501
diff changeset
31 $(MD)/clock_tc3
501
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
32
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
33 BOOTFILE_1773_ROM = $(MD)/rominfo
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
34
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
35 # OS-9 ROM image to allow booting from ROM
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
36 BOOTFILE_ROM = $(MD)/rominfo $(MD)/os9p2 $(MD)/init $(MD)/ioman \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
37 $(MD)/scf.mn $(MD)/sio.dr $(MD)/term_t1.dd \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
38 $(MD)/sspak.dr $(MD)/ssp.dd \
701
bd97435054d2 Modified for new clock module (clock2 is defunct)
boisy
parents: 501
diff changeset
39 $(MD)/clock_soft $(MD)/cc3go_rom \
501
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
40 $(CD)/shell $(CD)/mdir $(CD)/mfree $(CD)/procs
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
41
985
274cc2d4421d Changed ghost references to DriveWire
boisy
parents: 982
diff changeset
42 BOOTFILE_DW = $(MD)/os9p2 $(MD)/ioman $(MD)/init \
274cc2d4421d Changed ghost references to DriveWire
boisy
parents: 982
diff changeset
43 $(C9)/drivewire/drivewire_l2.dr \
987
30f5cce9eb76 Renamed g0 to x0
boisy
parents: 985
diff changeset
44 $(C9)/drivewire/ddx0_l2.dd \
980
3f48145b44fd Changes
boisy
parents: 751
diff changeset
45 $(MD)/rbf.mn \
3f48145b44fd Changes
boisy
parents: 751
diff changeset
46 $(MD)/scf.mn $(MD)/cc3io.dr \
3f48145b44fd Changes
boisy
parents: 751
diff changeset
47 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \
985
274cc2d4421d Changed ghost references to DriveWire
boisy
parents: 982
diff changeset
48 $(MD)/windint.io \
982
3fbf3a217368 Some changes
boisy
parents: 980
diff changeset
49 $(MD)/vdgint_small.io \
985
274cc2d4421d Changed ghost references to DriveWire
boisy
parents: 982
diff changeset
50 $(MD)/term_vdg.dt \
982
3fbf3a217368 Some changes
boisy
parents: 980
diff changeset
51 $(MD)/w7.dw \
3fbf3a217368 Some changes
boisy
parents: 980
diff changeset
52 $(MD)/vrn.dr $(MD)/vi.dd $(MD)/ftdd.dd \
980
3f48145b44fd Changes
boisy
parents: 751
diff changeset
53 $(MD)/clock_tc3
3f48145b44fd Changes
boisy
parents: 751
diff changeset
54
501
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
55 # OS-9 disk bootfile to allow booting from Ken-Ton SCSI controller
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
56 # This is a custom boot for Boisy's system
751
6ec99f9702bc init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents: 701
diff changeset
57 BOOTFILE_TC3 = $(MD)/os9p2 $(MD)/ioman $(MD)/init \
980
3f48145b44fd Changes
boisy
parents: 751
diff changeset
58 $(C9)/superscsi/superscsi_tc3_l2.dr \
3f48145b44fd Changes
boisy
parents: 751
diff changeset
59 dd_ez135_l2.dd \
3f48145b44fd Changes
boisy
parents: 751
diff changeset
60 $(C9)/superscsi/c3_cdrom_l2.dd \
3f48145b44fd Changes
boisy
parents: 751
diff changeset
61 $(C9)/superscsi/h5_zip100_l2.dd \
501
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
62 $(MD)/rbf.mn \
751
6ec99f9702bc init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents: 701
diff changeset
63 $(3PD)/disto/rampak.dr $(3PD)/disto/r0_512_l2.dd \
6ec99f9702bc init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents: 701
diff changeset
64 $(MD)/cc3disk.dr \
6ec99f9702bc init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents: 701
diff changeset
65 $(MD)/d0_40d.dd $(MD)/d1_80d.dd \
701
bd97435054d2 Modified for new clock module (clock2 is defunct)
boisy
parents: 501
diff changeset
66 $(MD)/scf.mn $(MD)/cc3io.dr \
751
6ec99f9702bc init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents: 701
diff changeset
67 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \
6ec99f9702bc init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents: 701
diff changeset
68 $(MD)/windint.io \
6ec99f9702bc init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents: 701
diff changeset
69 $(MD)/term_win80.dt \
701
bd97435054d2 Modified for new clock module (clock2 is defunct)
boisy
parents: 501
diff changeset
70 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
bd97435054d2 Modified for new clock module (clock2 is defunct)
boisy
parents: 501
diff changeset
71 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
bd97435054d2 Modified for new clock module (clock2 is defunct)
boisy
parents: 501
diff changeset
72 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
751
6ec99f9702bc init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents: 701
diff changeset
73 $(MD)/clock_tc3
701
bd97435054d2 Modified for new clock module (clock2 is defunct)
boisy
parents: 501
diff changeset
74
bd97435054d2 Modified for new clock module (clock2 is defunct)
boisy
parents: 501
diff changeset
75 # OS-9 disk bootfile to allow booting from Ken-Ton SCSI controller
980
3f48145b44fd Changes
boisy
parents: 751
diff changeset
76 BOOTFILE_KENTON = $(C9)/superscsi/superscsi_ktlr_l2.dr \
701
bd97435054d2 Modified for new clock module (clock2 is defunct)
boisy
parents: 501
diff changeset
77 $(MD)/os9p2 $(MD)/ioman $(MD)/init \
bd97435054d2 Modified for new clock module (clock2 is defunct)
boisy
parents: 501
diff changeset
78 $(MD)/rbf.mn \
980
3f48145b44fd Changes
boisy
parents: 751
diff changeset
79 $(C9)/superscsi/h0_ez135_l2.dd \
3f48145b44fd Changes
boisy
parents: 751
diff changeset
80 $(C9)/superscsi/c3_cdrom_l2.dd \
501
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
81 $(MD)/scf.mn $(MD)/cc3io.dr \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
82 $(MD)/keydrv $(MD)/joydrv_6551L $(MD)/snddrv \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
83 $(3PD)/disto/rampak.dr $(3PD)/disto/r0_256_l2.dd \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
84 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
85 $(MD)/windint.io $(MD)/term_win80.dt \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
86 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
87 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
88 $(3PD)/s16550/s16550_large.dr $(3PD)/s16550/t2_s16550.dd \
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
89 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
701
bd97435054d2 Modified for new clock module (clock2 is defunct)
boisy
parents: 501
diff changeset
90 $(MD)/clock_soft
501
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
91
985
274cc2d4421d Changed ghost references to DriveWire
boisy
parents: 982
diff changeset
92 BOOTFILES = bootfile_1773 bootfile_drivewire bootfile_tc3 bootfile_kenton bootfile_rom
274cc2d4421d Changed ghost references to DriveWire
boisy
parents: 982
diff changeset
93 KERNELS = kernel_1773 kernel_tc3 kernel_drivewire kernel_kenton kernel_rom
501
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
94
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
95 ALLOBJS = $(BOOTFILES) $(KERNELS)
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
96
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
97 all: $(ALLOBJS)
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
98 $(CHMOD) 600 $(ALLOBJS)
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
99
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
100 bootfile_1773: $(BOOTFILE_1773) $(DEPENDS)
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
101 $(MERGE) $(BOOTFILE_1773)>$@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
102
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
103 bootfile_tc3: $(BOOTFILE_TC3) $(DEPENDS)
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
104 $(MERGE) $(BOOTFILE_TC3)>$@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
105
985
274cc2d4421d Changed ghost references to DriveWire
boisy
parents: 982
diff changeset
106 bootfile_drivewire: $(BOOTFILE_DW) $(DEPENDS)
274cc2d4421d Changed ghost references to DriveWire
boisy
parents: 982
diff changeset
107 $(MERGE) $(BOOTFILE_DW)>$@
980
3f48145b44fd Changes
boisy
parents: 751
diff changeset
108
501
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
109 bootfile_kenton: $(BOOTFILE_KENTON) $(DEPENDS)
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
110 $(MERGE) $(BOOTFILE_KENTON)>$@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
111
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
112 kernel_1773: $(KERNEL_1773) $(DEPENDS)
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
113 $(MERGE) $(KERNEL_1773)>$@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
114
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
115 kernel_tc3: $(KERNEL_TC3) $(DEPENDS)
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
116 $(MERGE) $(KERNEL_TC3)>$@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
117
985
274cc2d4421d Changed ghost references to DriveWire
boisy
parents: 982
diff changeset
118 kernel_drivewire: $(KERNEL_DW) $(DEPENDS)
274cc2d4421d Changed ghost references to DriveWire
boisy
parents: 982
diff changeset
119 $(MERGE) $(KERNEL_DW)>$@
980
3f48145b44fd Changes
boisy
parents: 751
diff changeset
120
501
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
121 kernel_rom: $(KERNEL_ROM) $(DEPENDS)
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
122 $(MERGE) $(KERNEL_ROM)>$@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
123
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
124 kernel_kenton: $(KERNEL_KENTON) $(DEPENDS)
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
125 $(MERGE) $(KERNEL_KENTON)>$@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
126
980
3f48145b44fd Changes
boisy
parents: 751
diff changeset
127 dd_ez135_l2.dd: $(C9)/superscsi/h0.asm
3f48145b44fd Changes
boisy
parents: 751
diff changeset
128 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aLevel=2 -aDD=1
3f48145b44fd Changes
boisy
parents: 751
diff changeset
129
501
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
130 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3
985
274cc2d4421d Changed ghost references to DriveWire
boisy
parents: 982
diff changeset
131 bootfile_drivewire_rom: $(BOOTFILE_1773_ROM) $(DEPENDS) kernel_drivewire
982
3fbf3a217368 Some changes
boisy
parents: 980
diff changeset
132 $(MERGE) $(BOOTFILE_1773_ROM)>$@
3fbf3a217368 Some changes
boisy
parents: 980
diff changeset
133 $(PADROM) \$$6C00 $@ -c=\$$FF
985
274cc2d4421d Changed ghost references to DriveWire
boisy
parents: 982
diff changeset
134 $(MERGE) kernel_drivewire>>$@
982
3fbf3a217368 Some changes
boisy
parents: 980
diff changeset
135 $(PADROM) \$$7FF0 $@ -c=\$$FF
3fbf3a217368 Some changes
boisy
parents: 980
diff changeset
136 $(MERGE) $(MD)/rom_vectors>>$@
3fbf3a217368 Some changes
boisy
parents: 980
diff changeset
137
3fbf3a217368 Some changes
boisy
parents: 980
diff changeset
138 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3
501
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
139 bootfile_1773_rom: $(BOOTFILE_1773_ROM) $(DEPENDS) kernel_1773
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
140 $(MERGE) $(BOOTFILE_1773_ROM)>$@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
141 $(PADROM) \$$6C00 $@ -c=\$$FF
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
142 $(MERGE) kernel_1773>>$@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
143 $(PADROM) \$$7FF0 $@ -c=\$$FF
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
144 $(MERGE) $(MD)/rom_vectors>>$@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
145
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
146 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
147 bootfile_rom: $(BOOTFILE_ROM) $(DEPENDS) kernel_rom
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
148 $(MERGE) $(BOOTFILE_ROM)>$@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
149 ls -l $@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
150 $(PADROM) \$$6C00 $@ -c=\$$FF
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
151 $(MERGE) kernel_rom>>$@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
152 $(PADROM) \$$7FF0 $@ -c=\$$FF
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
153 $(MERGE) $(MD)/rom_vectors>>$@
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
154
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
155 clean:
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
156 $(RM) $(ALLOBJS)
b785cc2c744d Makefile just makes stock boots
boisy
parents:
diff changeset
157