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
|
2058
|
30 KERNEL_1773 = $(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)/vtio.dr $(MD)/covdg.io $(MD)/term32.dt \
|
|
39 $(MD)/rbf.mn $(MD)/ddisk.dr \
|
2058
|
40 $(MD)/ddd0_40d.dd \
|
|
41 $(MD)/d0_40d.dd $(MD)/d1_40d.dd \
|
|
42 $(MD)/d2_40d.dd \
|
2036
|
43 $(MD)/scf.mn \
|
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 \
|
2036
|
50 $(MD)/vtio.dr $(MD)/cohr.io $(MD)/term51.dt \
|
2058
|
51 $(MD)/rbf.mn $(MD)/ddisk.dr \
|
|
52 $(MD)/ddd0_40d.dd \
|
|
53 $(MD)/d0_40d.dd $(MD)/d1_40d.dd \
|
|
54 $(MD)/d2_40d.dd \
|
2036
|
55 $(MD)/scf.mn \
|
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 \
|
|
59
|
2058
|
60 BOOTFILE_COVDG_DS80 = $(MD)/ioman \
|
2036
|
61 $(MD)/vtio.dr $(MD)/covdg.io $(MD)/term32.dt \
|
2058
|
62 $(MD)/rbf.mn $(MD)/ddisk.dr \
|
|
63 $(MD)/ddd0_80d.dd \
|
|
64 $(MD)/d0_80d.dd $(MD)/d1_80d.dd \
|
|
65 $(MD)/d2_80d.dd \
|
2036
|
66 $(MD)/scf.mn \
|
2058
|
67 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
|
2036
|
68 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
|
|
69 $(MD)/clock_60hz $(MD)/clock2_soft \
|
|
70 $(MD)/sysgo_dd
|
|
71
|
2058
|
72 BOOTFILE_COHR_DS80 = $(MD)/ioman \
|
|
73 $(MD)/vtio.dr $(MD)/cohr.io $(MD)/term51.dt \
|
|
74 $(MD)/rbf.mn $(MD)/ddisk.dr \
|
|
75 $(MD)/ddd0_80d.dd \
|
|
76 $(MD)/d0_80d.dd $(MD)/d1_80d.dd \
|
|
77 $(MD)/d2_80d.dd \
|
|
78 $(MD)/scf.mn \
|
|
79 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
|
2036
|
80 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
|
2058
|
81 $(MD)/clock_60hz $(MD)/clock2_soft \
|
2036
|
82 $(MD)/sysgo_dd
|
|
83
|
2058
|
84 BOOTFILES = bootfile_cohr_ds40 bootfile_covdg_ds40 \
|
|
85 bootfile_cohr_ds80 bootfile_covdg_ds80
|
2036
|
86
|
2058
|
87 KERNELS = kernel
|
2036
|
88
|
|
89 ALLOBJS = $(BOOTFILES) $(KERNELS)
|
|
90
|
|
91 all: $(ALLOBJS)
|
|
92
|
|
93 echo:
|
2058
|
94 @$(ECHO) $(BOOTFILE_COVDG_DS40)
|
2036
|
95
|
2058
|
96 bootfile_covdg_ds40: $(BOOTFILE_COVDG_DS40) $(DEPENDS)
|
|
97 $(MERGE) $(BOOTFILE_COVDG_DS40)>$@
|
2036
|
98
|
2058
|
99 bootfile_cohr_ds40: $(BOOTFILE_COHR_DS40) $(DEPENDS)
|
|
100 $(MERGE) $(BOOTFILE_COHR_DS40)>$@
|
2036
|
101
|
2058
|
102 bootfile_covdg_ds80: $(BOOTFILE_COVDG_DS80) $(DEPENDS)
|
|
103 $(MERGE) $(BOOTFILE_COVDG_DS80)>$@
|
2036
|
104
|
2058
|
105 bootfile_cohr_ds80: $(BOOTFILE_COHR_DS80) $(DEPENDS)
|
|
106 $(MERGE) $(BOOTFILE_COHR_DS80)>$@
|
2036
|
107
|
2058
|
108 kernel: $(KERNEL_1773) $(DEPENDS)
|
|
109 $(MERGE) $(KERNEL_1773)>$@
|
2036
|
110 $(PADROM) 4096 $@
|
|
111
|
|
112 clean:
|
|
113 $(RM) $(ALLOBJS)
|
|
114
|