annotate level2/coco3_6309/bootfiles/makefile @ 355:71b60814fb01

Makefiles modified for uniformity
author boisy
date Thu, 25 Jul 2002 14:38:48 +0000
parents 838259ca0b7c
children f9d6dc9e619b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 include ../../Makefile.rules
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
3 # Module directory
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
4 MD = ../MODULES
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5 # Commands directory
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
6 CD = ../CMDS
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7 # Third Party directory
355
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 346
diff changeset
8 3PB = $(3RDPARTY)/booters
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 346
diff changeset
9 3PD = $(3RDPARTY)/drivers
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11 DEPENDS = ./Makefile
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13 KERNEL_1773 = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1
355
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 346
diff changeset
14 KERNEL_ROM = $(MD)/rel $(3PB)/boot_rom $(MD)/os9p1
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 346
diff changeset
15 KERNEL_KENTON = $(MD)/rel $(3PB)/boot_kenton $(MD)/os9p1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 # OS-9 disk bootfile to allow booting from WD1773 disk controller
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 BOOTFILE_1773 = $(MD)/os9p2 $(MD)/ioman $(MD)/init $(MD)/rbf.mn $(MD)/cc3disk.dr $(MD)/d0_40d.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 $(MD)/d1_80d.dd $(MD)/ddd0_40d.dd $(MD)/scf.mn $(MD)/cc3io.dr $(MD)/keydrv $(MD)/joydrv_joy \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 $(MD)/snddrv $(MD)/windint.io $(MD)/term_win80.dt $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd $(MD)/clock \
346
838259ca0b7c Modified
boisy
parents: 341
diff changeset
22 $(MD)/clock2_soft
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24 BOOTFILE_1773_ROM = $(MD)/rominfo
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 # OS-9 ROM image to allow booting from ROM
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 BOOTFILE_ROM = $(MD)/rominfo $(MD)/os9p2 $(MD)/init $(MD)/ioman \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 $(MD)/scf.mn $(MD)/sio.dr $(MD)/term_t1.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 $(MD)/sspak.dr $(MD)/ssp.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 $(MD)/clock $(MD)/clock2_soft $(MD)/cc3go_rom \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 $(CD)/shell $(CD)/mdir $(CD)/mfree $(CD)/procs
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 # OS-9 disk bootfile to allow booting from Ken-Ton SCSI controller
355
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 346
diff changeset
34 BOOTFILE_KENTON = $(MD)/os9p2 $(MD)/ioman $(MD)/rbf.mn $(MD)/clock $(MD)/clock2_soft $(3PD)/disto/rampak.dr \
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 346
diff changeset
35 $(3PD)/disto/r0_256_l2.dd $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 346
diff changeset
36 $(3PD)/scsisys/scsisys_68_ktlr.dr \
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 346
diff changeset
37 $(3PD)/scsisys/h0_ktlr.dd $(MD)/scf.mn $(MD)/cc3io.dr $(MD)/keydrv \
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 346
diff changeset
38 $(MD)/joydrv_6551L $(3PD)/s16550/s16550_large.dr $(3PD)/s16550/t2_s16550.dd \
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 $(MD)/snddrv $(MD)/windint.io $(MD)/term_win80.dt $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd $(MD)/init
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 BOOTFILES = bootfile_1773 bootfile_kenton bootfile_rom
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 all: $(BOOTFILES)
341
20944721d3e6 Major makefile mods
boisy
parents: 53
diff changeset
45 $(CHMOD) 600 $(BOOTFILES)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 bootfile_1773: $(BOOTFILE_1773) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 $(MERGE) $(BOOTFILE_1773)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 bootfile_kenton: $(BOOTFILE_KENTON) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 $(MERGE) $(BOOTFILE_KENTON)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54 bootfile_1773_rom: $(BOOTFILE_1773_ROM) $(DEPENDS) $(KERNEL_1773)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55 $(MERGE) $(BOOTFILE_1773_ROM)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 $(PADROM) \$$6C00 $@ -c=\$$FF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 $(MERGE) $(KERNEL_1773)>>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 $(PADROM) \$$7FF0 $@ -c=\$$FF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 $(MERGE) $(MD)/rom_vectors>>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 bootfile_rom: $(BOOTFILE_ROM) $(DEPENDS) $(KERNEL_ROM)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63 $(MERGE) $(BOOTFILE_ROM)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64 ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
65 $(PADROM) \$$6C00 $@ -c=\$$FF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 $(MERGE) $(KERNEL_ROM)>>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67 $(PADROM) \$$7FF0 $@ -c=\$$FF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 $(MERGE) $(MD)/rom_vectors>>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 clean:
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
71 $(RM) $(BOOTFILES)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72