Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3/bootfiles/makefile.cust @ 980:3f48145b44fd
Changes
author | boisy |
---|---|
date | Tue, 11 Feb 2003 16:33:47 +0000 |
parents | 6ec99f9702bc |
children | 3fbf3a217368 |
rev | line source |
---|---|
501 | 1 include ../../Makefile.rules |
2 | |
3 # Module directory | |
4 MD = ../MODULES | |
5 # Commands directory | |
6 CD = ../CMDS | |
7 # Third Party directory | |
8 3PB = $(3RDPARTY)/booters | |
9 3PD = $(3RDPARTY)/drivers | |
10 | |
11 DEPENDS = ./Makefile | |
12 | |
13 KERNEL_1773 = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1 | |
14 KERNEL_ROM = $(MD)/rel $(3PB)/boot_rom $(MD)/os9p1 | |
980 | 15 KERNEL_KENTON = $(MD)/rel $(C9)/superscsi/boot_id0_ktlr_l2 $(MD)/os9p1 |
16 KERNEL_TC3 = $(MD)/rel $(C9)/superscsi/boot_id0_tc3_l2 $(MD)/os9p1 | |
17 KERNEL_GHOST = $(MD)/rel $(C9)/ghost/boot_ghost_l2 $(MD)/os9p1 | |
501 | 18 |
19 # OS-9 disk bootfile to allow booting from WD1773 disk controller | |
20 BOOTFILE_1773 = $(MD)/os9p2 $(MD)/ioman $(MD)/init \ | |
21 $(MD)/rbf.mn \ | |
22 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ | |
23 $(MD)/ddd0_40d.dd \ | |
24 $(MD)/scf.mn $(MD)/cc3io.dr \ | |
25 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \ | |
26 $(MD)/windint.io $(MD)/vdgint.io \ | |
27 $(MD)/term_vdg.dt \ | |
28 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
29 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
30 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
701 | 31 $(MD)/clock_tc3 |
501 | 32 |
33 BOOTFILE_1773_ROM = $(MD)/rominfo | |
34 | |
35 # OS-9 ROM image to allow booting from ROM | |
36 BOOTFILE_ROM = $(MD)/rominfo $(MD)/os9p2 $(MD)/init $(MD)/ioman \ | |
37 $(MD)/scf.mn $(MD)/sio.dr $(MD)/term_t1.dd \ | |
38 $(MD)/sspak.dr $(MD)/ssp.dd \ | |
701 | 39 $(MD)/clock_soft $(MD)/cc3go_rom \ |
501 | 40 $(CD)/shell $(CD)/mdir $(CD)/mfree $(CD)/procs |
41 | |
980 | 42 BOOTFILE_GHOST = $(MD)/os9p2 $(MD)/ioman $(MD)/init \ |
43 $(C9)/ghost/ghostdrv_l2.dr \ | |
44 $(C9)/ghost/ddg0_l2.dd \ | |
45 $(MD)/rbf.mn \ | |
46 $(MD)/cc3disk.dr \ | |
47 $(MD)/ddd0_40d.dd $(MD)/d1_80d.dd \ | |
48 $(MD)/scf.mn $(MD)/cc3io.dr \ | |
49 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \ | |
50 $(MD)/windint.io \ | |
51 $(MD)/term_win80.dt \ | |
52 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
53 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
54 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
55 $(MD)/clock_tc3 | |
56 | |
501 | 57 # OS-9 disk bootfile to allow booting from Ken-Ton SCSI controller |
58 # 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
|
59 BOOTFILE_TC3 = $(MD)/os9p2 $(MD)/ioman $(MD)/init \ |
980 | 60 $(C9)/superscsi/superscsi_tc3_l2.dr \ |
61 dd_ez135_l2.dd \ | |
62 $(C9)/superscsi/c3_cdrom_l2.dd \ | |
63 $(C9)/superscsi/h5_zip100_l2.dd \ | |
501 | 64 $(MD)/rbf.mn \ |
751
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
65 $(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
|
66 $(MD)/cc3disk.dr \ |
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
67 $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ |
701 | 68 $(MD)/scf.mn $(MD)/cc3io.dr \ |
751
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
69 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \ |
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
70 $(MD)/windint.io \ |
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
71 $(MD)/term_win80.dt \ |
701 | 72 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ |
73 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
74 $(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
|
75 $(MD)/clock_tc3 |
701 | 76 |
77 # OS-9 disk bootfile to allow booting from Ken-Ton SCSI controller | |
980 | 78 BOOTFILE_KENTON = $(C9)/superscsi/superscsi_ktlr_l2.dr \ |
701 | 79 $(MD)/os9p2 $(MD)/ioman $(MD)/init \ |
80 $(MD)/rbf.mn \ | |
980 | 81 $(C9)/superscsi/h0_ez135_l2.dd \ |
82 $(C9)/superscsi/c3_cdrom_l2.dd \ | |
501 | 83 $(MD)/scf.mn $(MD)/cc3io.dr \ |
84 $(MD)/keydrv $(MD)/joydrv_6551L $(MD)/snddrv \ | |
85 $(3PD)/disto/rampak.dr $(3PD)/disto/r0_256_l2.dd \ | |
86 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ | |
87 $(MD)/windint.io $(MD)/term_win80.dt \ | |
88 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
89 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
90 $(3PD)/s16550/s16550_large.dr $(3PD)/s16550/t2_s16550.dd \ | |
91 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
701 | 92 $(MD)/clock_soft |
501 | 93 |
980 | 94 BOOTFILES = bootfile_1773 bootfile_ghost bootfile_tc3 bootfile_kenton bootfile_rom |
95 KERNELS = kernel_1773 kernel_tc3 kernel_ghost kernel_kenton kernel_rom | |
501 | 96 |
97 ALLOBJS = $(BOOTFILES) $(KERNELS) | |
98 | |
99 all: $(ALLOBJS) | |
100 $(CHMOD) 600 $(ALLOBJS) | |
101 | |
102 bootfile_1773: $(BOOTFILE_1773) $(DEPENDS) | |
103 $(MERGE) $(BOOTFILE_1773)>$@ | |
104 | |
105 bootfile_tc3: $(BOOTFILE_TC3) $(DEPENDS) | |
106 $(MERGE) $(BOOTFILE_TC3)>$@ | |
107 | |
980 | 108 bootfile_ghost: $(BOOTFILE_GHOST) $(DEPENDS) |
109 $(MERGE) $(BOOTFILE_GHOST)>$@ | |
110 | |
501 | 111 bootfile_kenton: $(BOOTFILE_KENTON) $(DEPENDS) |
112 $(MERGE) $(BOOTFILE_KENTON)>$@ | |
113 | |
114 kernel_1773: $(KERNEL_1773) $(DEPENDS) | |
115 $(MERGE) $(KERNEL_1773)>$@ | |
116 | |
117 kernel_tc3: $(KERNEL_TC3) $(DEPENDS) | |
118 $(MERGE) $(KERNEL_TC3)>$@ | |
119 | |
980 | 120 kernel_ghost: $(KERNEL_GHOST) $(DEPENDS) |
121 $(MERGE) $(KERNEL_GHOST)>$@ | |
122 | |
501 | 123 kernel_rom: $(KERNEL_ROM) $(DEPENDS) |
124 $(MERGE) $(KERNEL_ROM)>$@ | |
125 | |
126 kernel_kenton: $(KERNEL_KENTON) $(DEPENDS) | |
127 $(MERGE) $(KERNEL_KENTON)>$@ | |
128 | |
980 | 129 dd_ez135_l2.dd: $(C9)/superscsi/h0.asm |
130 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aLevel=2 -aDD=1 | |
131 | |
501 | 132 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3 |
133 bootfile_1773_rom: $(BOOTFILE_1773_ROM) $(DEPENDS) kernel_1773 | |
134 $(MERGE) $(BOOTFILE_1773_ROM)>$@ | |
135 $(PADROM) \$$6C00 $@ -c=\$$FF | |
136 $(MERGE) kernel_1773>>$@ | |
137 $(PADROM) \$$7FF0 $@ -c=\$$FF | |
138 $(MERGE) $(MD)/rom_vectors>>$@ | |
139 | |
140 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3 | |
141 bootfile_rom: $(BOOTFILE_ROM) $(DEPENDS) kernel_rom | |
142 $(MERGE) $(BOOTFILE_ROM)>$@ | |
143 ls -l $@ | |
144 $(PADROM) \$$6C00 $@ -c=\$$FF | |
145 $(MERGE) kernel_rom>>$@ | |
146 $(PADROM) \$$7FF0 $@ -c=\$$FF | |
147 $(MERGE) $(MD)/rom_vectors>>$@ | |
148 | |
149 clean: | |
150 $(RM) $(ALLOBJS) | |
151 |