annotate level2/coco3_6309/bootfiles/makefile @ 501:b785cc2c744d

Makefile just makes stock boots Makefile.cust makes custom boots
author boisy
date Thu, 10 Oct 2002 01:15:09 +0000
parents 77f702b7d816
children a7e130bc6a17
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
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16 # OS-9 disk bootfile to allow booting from WD1773 disk controller
429
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
17 BOOTFILE_1773 = $(MD)/os9p2 $(MD)/ioman $(MD)/init \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
18 $(MD)/rbf.mn \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
19 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
20 $(MD)/ddd0_40d.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
21 $(MD)/scf.mn $(MD)/cc3io.dr \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
22 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
23 $(MD)/windint.io $(MD)/vdgint.io \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
24 $(MD)/term_vdg.dt \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
25 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
26 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
27 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
28 $(MD)/clock $(MD)/clock2_soft
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 BOOTFILE_1773_ROM = $(MD)/rominfo
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 # OS-9 ROM image to allow booting from ROM
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 BOOTFILE_ROM = $(MD)/rominfo $(MD)/os9p2 $(MD)/init $(MD)/ioman \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 $(MD)/scf.mn $(MD)/sio.dr $(MD)/term_t1.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 $(MD)/sspak.dr $(MD)/ssp.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 $(MD)/clock $(MD)/clock2_soft $(MD)/cc3go_rom \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 $(CD)/shell $(CD)/mdir $(CD)/mfree $(CD)/procs
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38
501
b785cc2c744d Makefile just makes stock boots
boisy
parents: 483
diff changeset
39 BOOTFILES = bootfile_1773 bootfile_rom
b785cc2c744d Makefile just makes stock boots
boisy
parents: 483
diff changeset
40 KERNELS = kernel_1773 kernel_rom
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
42 ALLOBJS = $(BOOTFILES) $(KERNELS)
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
43
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
44 all: $(ALLOBJS)
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
45 $(CHMOD) 600 $(ALLOBJS)
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
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
50 kernel_1773: $(KERNEL_1773) $(DEPENDS)
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
51 $(MERGE) $(KERNEL_1773)>$@
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
52
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
53 kernel_rom: $(KERNEL_ROM) $(DEPENDS)
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
54 $(MERGE) $(KERNEL_ROM)>$@
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
55
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
57 bootfile_1773_rom: $(BOOTFILE_1773_ROM) $(DEPENDS) kernel_1773
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 $(MERGE) $(BOOTFILE_1773_ROM)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 $(PADROM) \$$6C00 $@ -c=\$$FF
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
60 $(MERGE) kernel_1773>>$@
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 $(PADROM) \$$7FF0 $@ -c=\$$FF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 $(MERGE) $(MD)/rom_vectors>>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
65 bootfile_rom: $(BOOTFILE_ROM) $(DEPENDS) kernel_rom
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 $(MERGE) $(BOOTFILE_ROM)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67 ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 $(PADROM) \$$6C00 $@ -c=\$$FF
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
69 $(MERGE) kernel_rom>>$@
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 $(PADROM) \$$7FF0 $@ -c=\$$FF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
71 $(MERGE) $(MD)/rom_vectors>>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 clean:
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
74 $(RM) $(ALLOBJS)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
75