annotate level2/coco3/bootfiles/makefile.cust @ 701:bd97435054d2

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