Mercurial > hg > Members > kono > nitros9-code
annotate level1/d64/bootfiles/makefile @ 3295:6b7a7b233925 default tip
makefile: Allow PORTS with level1/2 mix
https://sourceforge.net/p/nitros9/feature-requests/10/
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Tue, 19 Apr 2022 18:12:17 +0200 |
parents | 5fad6ee804ba |
children |
rev | line source |
---|---|
2036 | 1 # |
2 #bootfiles/makefile | |
3 # | |
4 # 2005-04-24, P.Harvey-Smith. | |
5 # Added kernels for both DS40 and DS80 disks for Dragon 64 | |
6 # Added kernels for both SS80 and DS80 disks for Dragon Alpha | |
7 # | |
8 # | |
9 # 2005-12-31, P.Harvey-Smith, | |
10 # Fixed up for renamed video drivers. | |
11 # | |
12 # 2006-01-08, P.Harvey-Smith, | |
13 # Added bootrack for original Dargon Data SS40 drives. | |
14 # | |
15 # 2006-01-18, P.Harvey-Smith, | |
16 # Added ability to build for the Tano Dragon 64, using an RS-DOS | |
17 # disk controler and a 60Hz clock. | |
18 # | |
19 | |
2694
2deaccd7ca43
Fixed tano to depend on d64
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2690
diff
changeset
|
20 ifeq ($(PORT),) |
2deaccd7ca43
Fixed tano to depend on d64
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2690
diff
changeset
|
21 PORT=d64 |
2deaccd7ca43
Fixed tano to depend on d64
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2690
diff
changeset
|
22 endif |
2036 | 23 include $(NITROS9DIR)/rules.mak |
24 | |
25 # Module directory | |
26 MD = ../modules | |
27 | |
28 DEPENDS = ./makefile | |
29 | |
2920
d0b7780ab4af
dalpha: Use merged modules/makefile from d64
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
30 KERNEL = $(MD)/rel $(MD)/krn $(MD)/krnp2 $(MD)/init \ |
2036 | 31 $(MD)/boot_d64 |
32 | |
33 | |
34 | |
2058 | 35 BOOTFILE_COVDG_DS40 = $(MD)/ioman \ |
2036 | 36 $(MD)/rbf.mn $(MD)/ddisk.dr \ |
2058 | 37 $(MD)/ddd0_40d.dd \ |
38 $(MD)/d0_40d.dd $(MD)/d1_40d.dd \ | |
2101 | 39 $(MD)/d2_40d.dd $(MD)/d3_40d.dd\ |
2036 | 40 $(MD)/scf.mn \ |
2690
6e40b043d3e0
Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2101
diff
changeset
|
41 $(MD)/vtio.dr $(MD)/covdg.io $(MD)/term_vdg.dt \ |
2058 | 42 $(MD)/scdpp.dr $(MD)/p_dpp.dd \ |
2036 | 43 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ |
44 $(MD)/clock_60hz $(MD)/clock2_soft \ | |
45 $(MD)/sysgo_dd | |
46 | |
2058 | 47 BOOTFILE_COHR_DS40 = $(MD)/ioman \ |
48 $(MD)/rbf.mn $(MD)/ddisk.dr \ | |
49 $(MD)/ddd0_40d.dd \ | |
50 $(MD)/d0_40d.dd $(MD)/d1_40d.dd \ | |
2101 | 51 $(MD)/d2_40d.dd $(MD)/d3_40d.dd\ |
2036 | 52 $(MD)/scf.mn \ |
2690
6e40b043d3e0
Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2101
diff
changeset
|
53 $(MD)/vtio.dr $(MD)/cohr.io $(MD)/term_hr.dt \ |
2058 | 54 $(MD)/scdpp.dr $(MD)/p_dpp.dd \ |
2036 | 55 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ |
56 $(MD)/clock_60hz $(MD)/clock2_soft \ | |
2101 | 57 $(MD)/sysgo_dd |
2036 | 58 |
3174
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
59 BOOTFILE_CO42_DS40 = $(MD)/ioman \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
60 $(MD)/rbf.mn $(MD)/ddisk.dr \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
61 $(MD)/ddd0_40d.dd \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
62 $(MD)/d0_40d.dd $(MD)/d1_40d.dd \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
63 $(MD)/d2_40d.dd $(MD)/d3_40d.dd\ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
64 $(MD)/scf.mn \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
65 $(MD)/vtio.dr $(MD)/co42.io $(MD)/term_42.dt \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
66 $(MD)/scdpp.dr $(MD)/p_dpp.dd \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
67 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
68 $(MD)/clock_60hz $(MD)/clock2_soft \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
69 $(MD)/sysgo_dd |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
70 |
2058 | 71 BOOTFILE_COVDG_DS80 = $(MD)/ioman \ |
72 $(MD)/rbf.mn $(MD)/ddisk.dr \ | |
73 $(MD)/ddd0_80d.dd \ | |
74 $(MD)/d0_80d.dd $(MD)/d1_80d.dd \ | |
2101 | 75 $(MD)/d2_80d.dd $(MD)/d3_80d.dd \ |
2036 | 76 $(MD)/scf.mn \ |
2690
6e40b043d3e0
Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2101
diff
changeset
|
77 $(MD)/vtio.dr $(MD)/covdg.io $(MD)/term_vdg.dt \ |
2058 | 78 $(MD)/scdpp.dr $(MD)/p_dpp.dd \ |
2036 | 79 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ |
80 $(MD)/clock_60hz $(MD)/clock2_soft \ | |
81 $(MD)/sysgo_dd | |
82 | |
2058 | 83 BOOTFILE_COHR_DS80 = $(MD)/ioman \ |
84 $(MD)/rbf.mn $(MD)/ddisk.dr \ | |
85 $(MD)/ddd0_80d.dd \ | |
86 $(MD)/d0_80d.dd $(MD)/d1_80d.dd \ | |
2101 | 87 $(MD)/d2_80d.dd $(MD)/d3_80d.dd\ |
2058 | 88 $(MD)/scf.mn \ |
2690
6e40b043d3e0
Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2101
diff
changeset
|
89 $(MD)/vtio.dr $(MD)/cohr.io $(MD)/term_hr.dt \ |
2058 | 90 $(MD)/scdpp.dr $(MD)/p_dpp.dd \ |
2036 | 91 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ |
2058 | 92 $(MD)/clock_60hz $(MD)/clock2_soft \ |
2036 | 93 $(MD)/sysgo_dd |
94 | |
3174
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
95 BOOTFILE_CO42_DS80 = $(MD)/ioman \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
96 $(MD)/rbf.mn $(MD)/ddisk.dr \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
97 $(MD)/ddd0_80d.dd \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
98 $(MD)/d0_80d.dd $(MD)/d1_80d.dd \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
99 $(MD)/d2_80d.dd $(MD)/d3_80d.dd\ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
100 $(MD)/scf.mn \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
101 $(MD)/vtio.dr $(MD)/co42.io $(MD)/term_42.dt \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
102 $(MD)/scdpp.dr $(MD)/p_dpp.dd \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
103 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
104 $(MD)/clock_60hz $(MD)/clock2_soft \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
105 $(MD)/sysgo_dd |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
106 |
2101 | 107 BOOTFILE_COVDG_SS40 = $(MD)/ioman \ |
108 $(MD)/rbf.mn $(MD)/ddisk.dr \ | |
109 $(MD)/ddd0_40d.dd \ | |
110 $(MD)/d0_40s.dd $(MD)/d1_40s.dd \ | |
111 $(MD)/d2_40s.dd $(MD)/d3_40s.dd\ | |
112 $(MD)/scf.mn \ | |
2690
6e40b043d3e0
Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2101
diff
changeset
|
113 $(MD)/vtio.dr $(MD)/covdg.io $(MD)/term_vdg.dt \ |
2101 | 114 $(MD)/scdpp.dr $(MD)/p_dpp.dd \ |
115 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
116 $(MD)/clock_60hz $(MD)/clock2_soft \ | |
117 $(MD)/sysgo_dd | |
118 | |
119 BOOTFILE_COHR_SS40 = $(MD)/ioman \ | |
120 $(MD)/rbf.mn $(MD)/ddisk.dr \ | |
121 $(MD)/ddd0_40d.dd \ | |
122 $(MD)/d0_40s.dd $(MD)/d1_40s.dd \ | |
123 $(MD)/d2_40s.dd $(MD)/d3_40s.dd\ | |
124 $(MD)/scf.mn \ | |
2690
6e40b043d3e0
Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2101
diff
changeset
|
125 $(MD)/vtio.dr $(MD)/cohr.io $(MD)/term_hr.dt \ |
2101 | 126 $(MD)/scdpp.dr $(MD)/p_dpp.dd \ |
127 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
128 $(MD)/clock_60hz $(MD)/clock2_soft \ | |
129 $(MD)/sysgo_dd | |
130 | |
3174
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
131 BOOTFILE_CO42_SS40 = $(MD)/ioman \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
132 $(MD)/rbf.mn $(MD)/ddisk.dr \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
133 $(MD)/ddd0_40d.dd \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
134 $(MD)/d0_40s.dd $(MD)/d1_40s.dd \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
135 $(MD)/d2_40s.dd $(MD)/d3_40s.dd\ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
136 $(MD)/scf.mn \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
137 $(MD)/vtio.dr $(MD)/co42.io $(MD)/term_42.dt \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
138 $(MD)/scdpp.dr $(MD)/p_dpp.dd \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
139 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
140 $(MD)/clock_60hz $(MD)/clock2_soft \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
141 $(MD)/sysgo_dd |
2101 | 142 |
3174
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
143 BOOTFILES = bootfile_cohr_ds40 bootfile_covdg_ds40 bootfile_co42_ds40 \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
144 bootfile_cohr_ds80 bootfile_covdg_ds80 bootfile_co42_ds80 \ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
145 bootfile_cohr_ss40 bootfile_covdg_ss40 bootfile_co42_ss40 |
2036 | 146 |
2058 | 147 KERNELS = kernel |
2036 | 148 |
149 ALLOBJS = $(BOOTFILES) $(KERNELS) | |
150 | |
151 all: $(ALLOBJS) | |
152 | |
153 echo: | |
2058 | 154 @$(ECHO) $(BOOTFILE_COVDG_DS40) |
2036 | 155 |
2058 | 156 bootfile_covdg_ds40: $(BOOTFILE_COVDG_DS40) $(DEPENDS) |
2942
195b041299ec
d64/dalpha bootfiles: Do not copy the makefile into the bootfile
Tormod Volden <debian.tormod@gmail.com>
parents:
2920
diff
changeset
|
157 $(MERGE) $(BOOTFILE_COVDG_DS40) > $@ |
2036 | 158 |
2058 | 159 bootfile_cohr_ds40: $(BOOTFILE_COHR_DS40) $(DEPENDS) |
2942
195b041299ec
d64/dalpha bootfiles: Do not copy the makefile into the bootfile
Tormod Volden <debian.tormod@gmail.com>
parents:
2920
diff
changeset
|
160 $(MERGE) $(BOOTFILE_COHR_DS40) > $@ |
2036 | 161 |
3174
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
162 bootfile_co42_ds40: $(BOOTFILE_CO42_DS40) $(DEPENDS) |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
163 $(MERGE) $(BOOTFILE_CO42_DS40) > $@ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
164 |
2058 | 165 bootfile_covdg_ds80: $(BOOTFILE_COVDG_DS80) $(DEPENDS) |
2942
195b041299ec
d64/dalpha bootfiles: Do not copy the makefile into the bootfile
Tormod Volden <debian.tormod@gmail.com>
parents:
2920
diff
changeset
|
166 $(MERGE) $(BOOTFILE_COVDG_DS80) > $@ |
2036 | 167 |
2058 | 168 bootfile_cohr_ds80: $(BOOTFILE_COHR_DS80) $(DEPENDS) |
2942
195b041299ec
d64/dalpha bootfiles: Do not copy the makefile into the bootfile
Tormod Volden <debian.tormod@gmail.com>
parents:
2920
diff
changeset
|
169 $(MERGE) $(BOOTFILE_COHR_DS80) > $@ |
2036 | 170 |
3174
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
171 bootfile_co42_ds80: $(BOOTFILE_CO42_DS80) $(DEPENDS) |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
172 $(MERGE) $(BOOTFILE_CO42_DS80) > $@ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
173 |
2101 | 174 bootfile_covdg_ss40: $(BOOTFILE_COVDG_SS40) $(DEPENDS) |
2942
195b041299ec
d64/dalpha bootfiles: Do not copy the makefile into the bootfile
Tormod Volden <debian.tormod@gmail.com>
parents:
2920
diff
changeset
|
175 $(MERGE) $(BOOTFILE_COVDG_SS40) > $@ |
2101 | 176 |
177 bootfile_cohr_ss40: $(BOOTFILE_COHR_SS40) $(DEPENDS) | |
2942
195b041299ec
d64/dalpha bootfiles: Do not copy the makefile into the bootfile
Tormod Volden <debian.tormod@gmail.com>
parents:
2920
diff
changeset
|
178 $(MERGE) $(BOOTFILE_COHR_SS40) > $@ |
2101 | 179 |
3174
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
180 bootfile_co42_ss40: $(BOOTFILE_CO42_SS40) $(DEPENDS) |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
181 $(MERGE) $(BOOTFILE_CO42_SS40) > $@ |
5fad6ee804ba
Adding Co42 a beautiful and fast 42x24 Hi-Res screen based from CoHR code.
lfantoniosi
parents:
2942
diff
changeset
|
182 |
2920
d0b7780ab4af
dalpha: Use merged modules/makefile from d64
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
183 kernel: $(KERNEL) $(DEPENDS) |
d0b7780ab4af
dalpha: Use merged modules/makefile from d64
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
184 $(MERGE) $(KERNEL)>$@ |
2036 | 185 $(PADROM) 4096 $@ |
186 | |
187 clean: | |
188 $(RM) $(ALLOBJS) | |
189 |