Mercurial > hg > Members > kono > nitros9-code
comparison level2/coco3/bootfiles/makefile.cust @ 501:b785cc2c744d
Makefile just makes stock boots
Makefile.cust makes custom boots
author | boisy |
---|---|
date | Thu, 10 Oct 2002 01:15:09 +0000 |
parents | |
children | bd97435054d2 |
comparison
equal
deleted
inserted
replaced
500:2a109644a349 | 501:b785cc2c744d |
---|---|
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 | |
15 KERNEL_KENTON = $(MD)/rel $(3PB)/boot_ktlr_id5 $(MD)/os9p1 | |
16 KERNEL_TC3 = $(MD)/rel $(3PB)/boot_tc3_id5 $(MD)/os9p1 | |
17 | |
18 # OS-9 disk bootfile to allow booting from WD1773 disk controller | |
19 BOOTFILE_1773 = $(MD)/os9p2 $(MD)/ioman $(MD)/init \ | |
20 $(MD)/rbf.mn \ | |
21 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ | |
22 $(MD)/ddd0_40d.dd \ | |
23 $(MD)/scf.mn $(MD)/cc3io.dr \ | |
24 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \ | |
25 $(MD)/windint.io $(MD)/vdgint.io \ | |
26 $(MD)/term_vdg.dt \ | |
27 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
28 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
29 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
30 $(MD)/clock $(MD)/clock2_soft | |
31 | |
32 BOOTFILE_1773_ROM = $(MD)/rominfo | |
33 | |
34 # OS-9 ROM image to allow booting from ROM | |
35 BOOTFILE_ROM = $(MD)/rominfo $(MD)/os9p2 $(MD)/init $(MD)/ioman \ | |
36 $(MD)/scf.mn $(MD)/sio.dr $(MD)/term_t1.dd \ | |
37 $(MD)/sspak.dr $(MD)/ssp.dd \ | |
38 $(MD)/clock $(MD)/clock2_soft $(MD)/cc3go_rom \ | |
39 $(CD)/shell $(CD)/mdir $(CD)/mfree $(CD)/procs | |
40 | |
41 # OS-9 disk bootfile to allow booting from Ken-Ton SCSI controller | |
42 # This is a custom boot for Boisy's system | |
43 BOOTFILE_TC3 = $(3PD)/scsisys/scsisys_68_tc3.dr \ | |
44 $(MD)/os9p2 $(MD)/ioman $(MD)/init \ | |
45 $(MD)/rbf.mn \ | |
46 $(3PD)/scsisys/dd_zip100_tc3_l2.dd \ | |
47 $(3PD)/scsisys/h5_zip100_tc3_l2.dd \ | |
48 $(MD)/scf.mn $(MD)/cc3io.dr \ | |
49 $(MD)/keydrv $(MD)/joydrv_6551L $(MD)/snddrv \ | |
50 $(3PD)/disto/rampak.dr $(3PD)/disto/r0_256_l2.dd \ | |
51 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ | |
52 $(MD)/windint.io $(MD)/term_win80.dt \ | |
53 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
54 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
55 $(3PD)/s16550/s16550_large.dr $(3PD)/s16550/t2_s16550.dd \ | |
56 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
57 $(MD)/clock $(MD)/clock2_soft | |
58 | |
59 # OS-9 disk bootfile to allow booting from Ken-Ton SCSI controller | |
60 BOOTFILE_KENTON = $(3PD)/scsisys/scsisys_68_ktlr.dr \ | |
61 $(MD)/os9p2 $(MD)/ioman $(MD)/init \ | |
62 $(MD)/rbf.mn \ | |
63 $(3PD)/scsisys/h5_zip100_ktlr_l2.dd \ | |
64 $(MD)/scf.mn $(MD)/cc3io.dr \ | |
65 $(MD)/keydrv $(MD)/joydrv_6551L $(MD)/snddrv \ | |
66 $(3PD)/disto/rampak.dr $(3PD)/disto/r0_256_l2.dd \ | |
67 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ | |
68 $(MD)/windint.io $(MD)/term_win80.dt \ | |
69 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
70 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
71 $(3PD)/s16550/s16550_large.dr $(3PD)/s16550/t2_s16550.dd \ | |
72 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
73 $(MD)/clock $(MD)/clock2_soft | |
74 | |
75 BOOTFILES = bootfile_1773 bootfile_tc3 bootfile_kenton bootfile_rom | |
76 KERNELS = kernel_1773 kernel_tc3 kernel_kenton kernel_rom | |
77 | |
78 ALLOBJS = $(BOOTFILES) $(KERNELS) | |
79 | |
80 all: $(ALLOBJS) | |
81 $(CHMOD) 600 $(ALLOBJS) | |
82 | |
83 bootfile_1773: $(BOOTFILE_1773) $(DEPENDS) | |
84 $(MERGE) $(BOOTFILE_1773)>$@ | |
85 | |
86 bootfile_tc3: $(BOOTFILE_TC3) $(DEPENDS) | |
87 $(MERGE) $(BOOTFILE_TC3)>$@ | |
88 | |
89 bootfile_kenton: $(BOOTFILE_KENTON) $(DEPENDS) | |
90 $(MERGE) $(BOOTFILE_KENTON)>$@ | |
91 | |
92 kernel_1773: $(KERNEL_1773) $(DEPENDS) | |
93 $(MERGE) $(KERNEL_1773)>$@ | |
94 | |
95 kernel_tc3: $(KERNEL_TC3) $(DEPENDS) | |
96 $(MERGE) $(KERNEL_TC3)>$@ | |
97 | |
98 kernel_rom: $(KERNEL_ROM) $(DEPENDS) | |
99 $(MERGE) $(KERNEL_ROM)>$@ | |
100 | |
101 kernel_kenton: $(KERNEL_KENTON) $(DEPENDS) | |
102 $(MERGE) $(KERNEL_KENTON)>$@ | |
103 | |
104 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3 | |
105 bootfile_1773_rom: $(BOOTFILE_1773_ROM) $(DEPENDS) kernel_1773 | |
106 $(MERGE) $(BOOTFILE_1773_ROM)>$@ | |
107 $(PADROM) \$$6C00 $@ -c=\$$FF | |
108 $(MERGE) kernel_1773>>$@ | |
109 $(PADROM) \$$7FF0 $@ -c=\$$FF | |
110 $(MERGE) $(MD)/rom_vectors>>$@ | |
111 | |
112 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3 | |
113 bootfile_rom: $(BOOTFILE_ROM) $(DEPENDS) kernel_rom | |
114 $(MERGE) $(BOOTFILE_ROM)>$@ | |
115 ls -l $@ | |
116 $(PADROM) \$$6C00 $@ -c=\$$FF | |
117 $(MERGE) kernel_rom>>$@ | |
118 $(PADROM) \$$7FF0 $@ -c=\$$FF | |
119 $(MERGE) $(MD)/rom_vectors>>$@ | |
120 | |
121 clean: | |
122 $(RM) $(ALLOBJS) | |
123 |