Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/multivue/makefile @ 2205:a0012a9f84eb
added DW3 support
author | boisy |
---|---|
date | Sat, 14 Mar 2009 22:10:09 +0000 |
parents | c8bb06c82d68 |
children | d096a278e068 |
rev | line source |
---|---|
2064 | 1 include $(NITROS9DIR)/rules.mak |
444 | 2 |
2205 | 3 DSK68_FLOPPY = multivue_6809.dsk |
4 DSK63_FLOPPY = multivue_6309.dsk | |
5 DSK68_DW3 = multivue_6809_dw3.dsk | |
6 DSK63_DW3 = multivue_6309_dw3.dsk | |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
7 CMDS68 = $(shell $(CD) cmds_6809; make showobjs) |
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
8 CMDS63 = $(shell $(CD) cmds_6309; make showobjs) |
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
9 ICONS = icon.demo |
1363 | 10 SYSBIN = $(shell $(CD) sys; make showbinobjs) |
11 SYSTEXT = $(shell $(CD) sys; make showtextobjs) | |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
12 DEMO = aif.dmo |
1428 | 13 ROOTFILES = startup |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
14 |
2064 | 15 MD68 = $(LEVEL2)/coco3/modules |
16 MD63 = $(LEVEL2)/coco3_6309/modules | |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
17 |
2205 | 18 KERNEL68_FLOPPY = $(MD68)/rel_40 $(MD68)/boot_1773_6ms $(MD68)/krn |
19 KERNEL63_FLOPPY = $(MD63)/rel_40 $(MD63)/boot_1773_6ms $(MD63)/krn | |
20 KERNEL68_DW3 = $(MD68)/rel_40 $(MD68)/boot_dw3 $(MD68)/krn | |
21 KERNEL63_DW3 = $(MD63)/rel_40 $(MD63)/boot_dw3 $(MD63)/krn | |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
22 |
2205 | 23 BOOTFILE68_FLOPPY = $(MD68)/krnp2 $(MD68)/ioman $(MD68)/init \ |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
24 $(MD68)/rbf.mn \ |
1638 | 25 $(MD68)/rb1773.dr $(MD68)/ddd0_40d.dd \ |
1428 | 26 $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \ |
1934 | 27 $(MD68)/scf.mn $(MD68)/vtio.dr \ |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
28 $(MD68)/keydrv_cc3.sb $(MD68)/joydrv_joy.sb $(MD68)/snddrv_cc3.sb \ |
1934 | 29 $(MD68)/cowin.io $(MD68)/term_win40.dt \ |
1428 | 30 $(MD68)/w.dw $(MD68)/w1.dw $(MD68)/w2.dw $(MD68)/w3.dw \ |
31 $(MD68)/w4.dw $(MD68)/w5.dw $(MD68)/w6.dw $(MD68)/w7.dw \ | |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
32 $(MD68)/clock_60hz $(MD68)/clock2_soft \ |
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
33 $(MD68)/sysgo_dd |
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
34 |
2205 | 35 BOOTFILE63_FLOPPY = $(MD63)/krnp2 $(MD63)/ioman $(MD63)/init \ |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
36 $(MD63)/rbf.mn \ |
1638 | 37 $(MD63)/rb1773.dr $(MD63)/ddd0_40d.dd \ |
1428 | 38 $(MD63)/d0_40d.dd $(MD63)/d1_40d.dd \ |
1934 | 39 $(MD63)/scf.mn $(MD63)/vtio.dr \ |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
40 $(MD63)/keydrv_cc3.sb $(MD63)/joydrv_joy.sb $(MD63)/snddrv_cc3.sb \ |
1934 | 41 $(MD63)/cowin.io $(MD63)/term_win40.dt \ |
1428 | 42 $(MD63)/w.dw $(MD63)/w1.dw $(MD63)/w2.dw $(MD63)/w3.dw \ |
43 $(MD63)/w4.dw $(MD63)/w5.dw $(MD63)/w6.dw $(MD63)/w7.dw \ | |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
44 $(MD63)/clock_60hz $(MD63)/clock2_soft \ |
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
45 $(MD63)/sysgo_dd |
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
46 |
2205 | 47 BOOTFILE68_DW3 = $(MD68)/krnp2 $(MD68)/ioman $(MD68)/init \ |
48 $(MD68)/rbf.mn \ | |
49 $(MD68)/rbdw3.dr $(MD68)/dw3.sb $(MD68)/ddx0.dd \ | |
50 $(MD68)/rb1773.dr $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \ | |
51 $(MD68)/scf.mn $(MD68)/vtio.dr \ | |
52 $(MD68)/keydrv_cc3.sb $(MD68)/joydrv_joy.sb $(MD68)/snddrv_cc3.sb \ | |
53 $(MD68)/cowin.io $(MD68)/term_win40.dt \ | |
54 $(MD68)/w.dw $(MD68)/w1.dw $(MD68)/w2.dw $(MD68)/w3.dw \ | |
55 $(MD68)/w4.dw $(MD68)/w5.dw $(MD68)/w6.dw $(MD68)/w7.dw \ | |
56 $(MD68)/clock_60hz $(MD68)/clock2_dw3 \ | |
57 $(MD68)/sysgo_dd | |
58 | |
59 BOOTFILE63_DW3 = $(MD63)/krnp2 $(MD63)/ioman $(MD63)/init \ | |
60 $(MD63)/rbf.mn \ | |
61 $(MD63)/rbdw3.dr $(MD63)/dw3.sb $(MD63)/ddx0.dd \ | |
62 $(MD68)/rb1773.dr $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \ | |
63 $(MD63)/scf.mn $(MD63)/vtio.dr \ | |
64 $(MD63)/keydrv_cc3.sb $(MD63)/joydrv_joy.sb $(MD63)/snddrv_cc3.sb \ | |
65 $(MD63)/cowin.io $(MD63)/term_win40.dt \ | |
66 $(MD63)/w.dw $(MD63)/w1.dw $(MD63)/w2.dw $(MD63)/w3.dw \ | |
67 $(MD63)/w4.dw $(MD63)/w5.dw $(MD63)/w6.dw $(MD63)/w7.dw \ | |
68 $(MD63)/clock_60hz $(MD63)/clock2_dw3 \ | |
69 $(MD63)/sysgo_dd | |
447 | 70 |
444 | 71 # Make all components |
72 all: | |
1366 | 73 @$(ECHO) "**************************************************" |
74 @$(ECHO) "* *" | |
75 @$(ECHO) "* Multi-Vue *" | |
76 @$(ECHO) "* *" | |
77 @$(ECHO) "**************************************************" | |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
78 $(CD) cmds_6809; make |
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
79 $(CD) cmds_6309; make |
1363 | 80 $(CD) sys; make |
444 | 81 |
82 # Clean all components | |
457 | 83 clean: dskclean |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
84 -$(CD) cmds_6809; make clean |
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
85 -$(CD) cmds_6309; make clean |
1363 | 86 -$(CD) sys; make clean |
447 | 87 |
2205 | 88 dsk: all $(DSK68_FLOPPY) $(DSK63_FLOPPY) $(DSK68_DW3) $(DSK63_DW3) |
89 | |
90 $(DSK68_FLOPPY): | |
91 $(RM) $@ | |
92 $(OS9FORMAT_DS40) $@ -q -n"Multi-Vue" | |
93 $(MERGE) $(BOOTFILE68_FLOPPY)>os9boot | |
94 $(MERGE) $(KERNEL68_FLOPPY)>kernel | |
95 $(OS9GEN) $@ -b=os9boot -t=kernel | |
96 $(RM) os9boot kernel | |
97 $(MAKDIR) $@,CMDS | |
98 $(MAKDIR) $@,CMDS/ICONS | |
99 $(MAKDIR) $@,SYS | |
100 $(MAKDIR) $@,DEMO | |
101 $(CD) cmds_6809; $(CP) $(CMDS68) ../$@,CMDS | |
102 $(foreach file, $(CMDS68), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) | |
103 $(OS9RENAME) $@,CMDS/gshell AutoEx | |
104 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS | |
105 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) | |
106 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
107 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
108 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
109 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
110 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO | |
111 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) | |
112 $(CPL) $(ROOTFILES) $@,. | |
113 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
114 | |
115 $(DSK63_FLOPPY): | |
116 $(RM) $@ | |
117 $(OS9FORMAT_DS40) $@ -q -n"Multi-Vue" | |
118 $(MERGE) $(BOOTFILE63_FLOPPY)>os9boot | |
119 $(MERGE) $(KERNEL63_FLOPPY)>kernel | |
120 $(OS9GEN) $@ -b=os9boot -t=kernel | |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
121 $(RM) os9boot kernel |
2205 | 122 $(MAKDIR) $@,CMDS |
123 $(MAKDIR) $@,CMDS/ICONS | |
124 $(MAKDIR) $@,SYS | |
125 $(MAKDIR) $@,DEMO | |
126 $(CD) cmds_6309; $(CP) $(CMDS63) ../$@,CMDS | |
127 $(foreach file, $(CMDS63), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) | |
128 $(OS9RENAME) $@,CMDS/gshell AutoEx | |
129 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS | |
130 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) | |
131 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
132 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
133 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
134 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
135 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO | |
136 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) | |
137 $(CPL) $(ROOTFILES) $@,. | |
138 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
139 | |
140 $(DSK68_DW3): | |
141 $(RM) $@ | |
142 $(OS9FORMAT_SS80) $@ -q -n"Multi-Vue" | |
143 $(MERGE) $(BOOTFILE68_DW3)>os9boot | |
144 $(MERGE) $(KERNEL68_DW3)>kernel | |
145 $(OS9GEN) $@ -b=os9boot -t=kernel | |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
146 $(RM) os9boot kernel |
2205 | 147 $(MAKDIR) $@,CMDS |
148 $(MAKDIR) $@,CMDS/ICONS | |
149 $(MAKDIR) $@,SYS | |
150 $(MAKDIR) $@,DEMO | |
151 $(CD) cmds_6809; $(CP) $(CMDS68) ../$@,CMDS | |
152 $(foreach file, $(CMDS68), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) | |
153 $(OS9RENAME) $@,CMDS/gshell AutoEx | |
154 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS | |
155 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) | |
156 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
157 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
158 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
159 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
160 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO | |
161 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) | |
162 $(CPL) $(ROOTFILES) $@,. | |
163 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
164 | |
165 $(DSK63_DW3): | |
166 $(RM) $@ | |
167 $(OS9FORMAT_SS80) $@ -q -n"Multi-Vue" | |
168 $(MERGE) $(BOOTFILE63_DW3)>os9boot | |
169 $(MERGE) $(KERNEL63_DW3)>kernel | |
170 $(OS9GEN) $@ -b=os9boot -t=kernel | |
171 $(RM) os9boot kernel | |
172 $(MAKDIR) $@,CMDS | |
173 $(MAKDIR) $@,CMDS/ICONS | |
174 $(MAKDIR) $@,SYS | |
175 $(MAKDIR) $@,DEMO | |
176 $(CD) cmds_6309; $(CP) $(CMDS63) ../$@,CMDS | |
177 $(foreach file, $(CMDS63), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) | |
178 $(OS9RENAME) $@,CMDS/gshell AutoEx | |
179 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS | |
180 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) | |
181 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
182 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
183 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
184 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
185 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO | |
186 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) | |
187 $(CPL) $(ROOTFILES) $@,. | |
188 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
457 | 189 |
1121 | 190 dskcopy: dsk |
2205 | 191 $(CP) $(DSK68_FLOPPY) $(DSK63_FLOPPY) $(DSK68_DW3) $(DSK63_DW3) $(DSKDIR) |
1121 | 192 |
457 | 193 dskclean: |
2205 | 194 $(RM) $(DSK68_FLOPPY) $(DSK63_FLOPPY) $(DSK68_DW3) $(DSK63_DW3) |
457 | 195 |