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
|
2058
|
20 PORT = d64
|
2036
|
21 include $(NITROS9DIR)/rules.mak
|
|
22
|
|
23 # Module directory
|
|
24 MD = ../modules
|
|
25 # Commands directory
|
|
26 CD = ../cmds
|
|
27
|
|
28 DEPENDS = ./makefile
|
|
29
|
2101
|
30 KERNEL_DRAGON = $(MD)/rel $(MD)/krn $(MD)/krnp2 $(MD)/init \
|
2036
|
31 $(MD)/boot_d64
|
|
32
|
|
33 IDE = $(3PD)/ide
|
|
34 SCSI = $(3PD)/scsisys
|
|
35
|
|
36
|
2058
|
37 BOOTFILE_COVDG_DS40 = $(MD)/ioman \
|
2036
|
38 $(MD)/rbf.mn $(MD)/ddisk.dr \
|
2058
|
39 $(MD)/ddd0_40d.dd \
|
|
40 $(MD)/d0_40d.dd $(MD)/d1_40d.dd \
|
2101
|
41 $(MD)/d2_40d.dd $(MD)/d3_40d.dd\
|
2036
|
42 $(MD)/scf.mn \
|
2101
|
43 $(MD)/vtio.dr $(MD)/covdg.io $(MD)/term32.dt \
|
2058
|
44 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
|
2036
|
45 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
|
|
46 $(MD)/clock_60hz $(MD)/clock2_soft \
|
|
47 $(MD)/sysgo_dd
|
|
48
|
2058
|
49 BOOTFILE_COHR_DS40 = $(MD)/ioman \
|
|
50 $(MD)/rbf.mn $(MD)/ddisk.dr \
|
|
51 $(MD)/ddd0_40d.dd \
|
|
52 $(MD)/d0_40d.dd $(MD)/d1_40d.dd \
|
2101
|
53 $(MD)/d2_40d.dd $(MD)/d3_40d.dd\
|
2036
|
54 $(MD)/scf.mn \
|
2101
|
55 $(MD)/vtio.dr $(MD)/cohr.io $(MD)/term51.dt \
|
2058
|
56 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
|
2036
|
57 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
|
|
58 $(MD)/clock_60hz $(MD)/clock2_soft \
|
2101
|
59 $(MD)/sysgo_dd
|
2036
|
60
|
2058
|
61 BOOTFILE_COVDG_DS80 = $(MD)/ioman \
|
|
62 $(MD)/rbf.mn $(MD)/ddisk.dr \
|
|
63 $(MD)/ddd0_80d.dd \
|
|
64 $(MD)/d0_80d.dd $(MD)/d1_80d.dd \
|
2101
|
65 $(MD)/d2_80d.dd $(MD)/d3_80d.dd \
|
2036
|
66 $(MD)/scf.mn \
|
2101
|
67 $(MD)/vtio.dr $(MD)/covdg.io $(MD)/term32.dt \
|
2058
|
68 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
|
2036
|
69 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
|
|
70 $(MD)/clock_60hz $(MD)/clock2_soft \
|
|
71 $(MD)/sysgo_dd
|
|
72
|
2058
|
73 BOOTFILE_COHR_DS80 = $(MD)/ioman \
|
|
74 $(MD)/rbf.mn $(MD)/ddisk.dr \
|
|
75 $(MD)/ddd0_80d.dd \
|
|
76 $(MD)/d0_80d.dd $(MD)/d1_80d.dd \
|
2101
|
77 $(MD)/d2_80d.dd $(MD)/d3_80d.dd\
|
2058
|
78 $(MD)/scf.mn \
|
2101
|
79 $(MD)/vtio.dr $(MD)/cohr.io $(MD)/term51.dt \
|
2058
|
80 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
|
2036
|
81 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
|
2058
|
82 $(MD)/clock_60hz $(MD)/clock2_soft \
|
2036
|
83 $(MD)/sysgo_dd
|
|
84
|
2101
|
85 BOOTFILE_COVDG_SS40 = $(MD)/ioman \
|
|
86 $(MD)/rbf.mn $(MD)/ddisk.dr \
|
|
87 $(MD)/ddd0_40d.dd \
|
|
88 $(MD)/d0_40s.dd $(MD)/d1_40s.dd \
|
|
89 $(MD)/d2_40s.dd $(MD)/d3_40s.dd\
|
|
90 $(MD)/scf.mn \
|
|
91 $(MD)/vtio.dr $(MD)/covdg.io $(MD)/term32.dt \
|
|
92 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
|
|
93 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
|
|
94 $(MD)/clock_60hz $(MD)/clock2_soft \
|
|
95 $(MD)/sysgo_dd
|
|
96
|
|
97 BOOTFILE_COHR_SS40 = $(MD)/ioman \
|
|
98 $(MD)/rbf.mn $(MD)/ddisk.dr \
|
|
99 $(MD)/ddd0_40d.dd \
|
|
100 $(MD)/d0_40s.dd $(MD)/d1_40s.dd \
|
|
101 $(MD)/d2_40s.dd $(MD)/d3_40s.dd\
|
|
102 $(MD)/scf.mn \
|
|
103 $(MD)/vtio.dr $(MD)/cohr.io $(MD)/term51.dt \
|
|
104 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
|
|
105 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
|
|
106 $(MD)/clock_60hz $(MD)/clock2_soft \
|
|
107 $(MD)/sysgo_dd
|
|
108
|
|
109
|
2058
|
110 BOOTFILES = bootfile_cohr_ds40 bootfile_covdg_ds40 \
|
2101
|
111 bootfile_cohr_ds80 bootfile_covdg_ds80 \
|
|
112 bootfile_cohr_ss40 bootfile_covdg_ss40
|
2036
|
113
|
2058
|
114 KERNELS = kernel
|
2036
|
115
|
|
116 ALLOBJS = $(BOOTFILES) $(KERNELS)
|
|
117
|
|
118 all: $(ALLOBJS)
|
|
119
|
|
120 echo:
|
2058
|
121 @$(ECHO) $(BOOTFILE_COVDG_DS40)
|
2036
|
122
|
2058
|
123 bootfile_covdg_ds40: $(BOOTFILE_COVDG_DS40) $(DEPENDS)
|
|
124 $(MERGE) $(BOOTFILE_COVDG_DS40)>$@
|
2036
|
125
|
2058
|
126 bootfile_cohr_ds40: $(BOOTFILE_COHR_DS40) $(DEPENDS)
|
|
127 $(MERGE) $(BOOTFILE_COHR_DS40)>$@
|
2036
|
128
|
2058
|
129 bootfile_covdg_ds80: $(BOOTFILE_COVDG_DS80) $(DEPENDS)
|
|
130 $(MERGE) $(BOOTFILE_COVDG_DS80)>$@
|
2036
|
131
|
2058
|
132 bootfile_cohr_ds80: $(BOOTFILE_COHR_DS80) $(DEPENDS)
|
|
133 $(MERGE) $(BOOTFILE_COHR_DS80)>$@
|
2036
|
134
|
2101
|
135 bootfile_covdg_ss40: $(BOOTFILE_COVDG_SS40) $(DEPENDS)
|
|
136 $(MERGE) $(BOOTFILE_COVDG_SS40)>$@
|
|
137
|
|
138 bootfile_cohr_ss40: $(BOOTFILE_COHR_SS40) $(DEPENDS)
|
|
139 $(MERGE) $(BOOTFILE_COHR_SS40)>$@
|
|
140
|
|
141 kernel: $(KERNEL_DRAGON) $(DEPENDS)
|
|
142 $(MERGE) $(KERNEL_DRAGON)>$@
|
2036
|
143 $(PADROM) 4096 $@
|
|
144
|
|
145 clean:
|
|
146 $(RM) $(ALLOBJS)
|
|
147
|