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
|
2037
|
20 PORT = dalpha
|
2036
|
21 include $(NITROS9DIR)/rules.mak
|
|
22
|
|
23 # Module directory
|
|
24 MD = ../modules
|
|
25 # Commands directory
|
|
26 CD = ../cmds
|
|
27
|
|
28 DEPENDS = ./makefile
|
|
29
|
2059
|
30 KERNEL = $(MD)/rel $(MD)/krn $(MD)/krnp2 $(MD)/init \
|
2036
|
31 $(MD)/boot_dalpha
|
|
32
|
2059
|
33 #Dragon Alpha Bootfiles
|
2036
|
34
|
2059
|
35 BOOTFILE_COVDG_SS80 = $(MD)/ioman \
|
2036
|
36 $(MD)/vtio.dr $(MD)/covdg.io $(MD)/term32.dt \
|
2059
|
37 $(MD)/rbf.mn $(MD)/adisk.dr \
|
|
38 $(MD)/ddd0_80s.dd\
|
|
39 $(MD)/d0_80s.dd $(MD)/d1_80s.dd \
|
|
40 $(MD)/d2_80s.dd $(MD)/d3_80s.dd \
|
|
41 $(MD)/scf.mn \
|
|
42 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
|
2036
|
43 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
|
|
44 $(MD)/clock_50hz $(MD)/clock2_soft \
|
|
45 $(MD)/sysgo_dd
|
|
46
|
2059
|
47 BOOTFILE_COHR_SS80 = $(MD)/ioman \
|
2036
|
48 $(MD)/vtio.dr $(MD)/cohr.io $(MD)/term51.dt \
|
2059
|
49 $(MD)/rbf.mn $(MD)/adisk.dr \
|
|
50 $(MD)/ddd0_80s.dd\
|
|
51 $(MD)/d0_80s.dd $(MD)/d1_80s.dd \
|
|
52 $(MD)/d2_80s.dd $(MD)/d3_80s.dd \
|
|
53 $(MD)/scf.mn \
|
|
54 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
|
2036
|
55 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
|
|
56 $(MD)/clock_50hz $(MD)/clock2_soft \
|
|
57 $(MD)/sysgo_dd
|
|
58
|
2059
|
59 BOOTFILE_COVDG_DS80 = $(MD)/ioman \
|
2036
|
60 $(MD)/vtio.dr $(MD)/covdg.io $(MD)/term32.dt \
|
|
61 $(MD)/rbf.mn $(MD)/adisk.dr \
|
2059
|
62 $(MD)/ddd0_80d.dd \
|
|
63 $(MD)/d0_80d.dd $(MD)/d1_80d.dd \
|
|
64 $(MD)/d2_80d.dd $(MD)/d3_80d.dd \
|
2036
|
65 $(MD)/scf.mn \
|
2059
|
66 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
|
2036
|
67 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
|
|
68 $(MD)/clock_50hz $(MD)/clock2_soft \
|
|
69 $(MD)/sysgo_dd
|
|
70
|
2059
|
71 BOOTFILE_COHR_DS80 = $(MD)/ioman \
|
2036
|
72 $(MD)/vtio.dr $(MD)/cohr.io $(MD)/term51.dt \
|
|
73 $(MD)/rbf.mn $(MD)/adisk.dr \
|
2059
|
74 $(MD)/ddd0_80d.dd \
|
|
75 $(MD)/d0_80d.dd $(MD)/d1_80d.dd \
|
|
76 $(MD)/d2_80d.dd $(MD)/d3_80d.dd \
|
2036
|
77 $(MD)/scf.mn \
|
2059
|
78 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
|
2036
|
79 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
|
|
80 $(MD)/clock_50hz $(MD)/clock2_soft \
|
|
81 $(MD)/sysgo_dd
|
|
82
|
2059
|
83 BOOTFILES = bootfile_covdg_ss80 bootfile_cohr_ss80 \
|
|
84 bootfile_covdg_ds80 bootfile_cohr_ds80
|
2036
|
85
|
2059
|
86 KERNELS = kernel
|
2036
|
87
|
|
88 ALLOBJS = $(BOOTFILES) $(KERNELS)
|
|
89
|
|
90 all: $(ALLOBJS)
|
|
91
|
|
92 echo:
|
2059
|
93 @$(ECHO) $(BOOTFILE_COVDG_SS80)
|
2036
|
94
|
|
95
|
|
96 # Dragon Alpha Disk boot
|
2059
|
97 bootfile_covdg_ss80: $(BOOTFILE_COVDG_SS80) $(DEPENDS)
|
|
98 $(MERGE) $^ > $@
|
2036
|
99
|
2059
|
100 bootfile_cohr_ss80: $(BOOTFILE_COHR_SS80) $(DEPENDS)
|
|
101 $(MERGE) $^ > $@
|
2036
|
102
|
2059
|
103 bootfile_covdg_ds80: $(BOOTFILE_COVDG_DS80) $(DEPENDS)
|
|
104 $(MERGE) $^ > $@
|
2036
|
105
|
2059
|
106 bootfile_cohr_ds80: $(BOOTFILE_COHR_DS80) $(DEPENDS)
|
|
107 $(MERGE) $^ > $@
|
2036
|
108
|
|
109 # Dragon Alpha WD2797 Kernel
|
2059
|
110 kernel: $(KERNEL) $(DEPENDS)
|
|
111 $(MERGE) $(KERNEL)>$@
|
2036
|
112 $(PADROM) 4096 $@
|
|
113
|
|
114 clean:
|
|
115 $(RM) $(ALLOBJS)
|
|
116
|