Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/multivue/makefile @ 2848:94197db917c9 lwtools-port
Makefiles: Call OS9ATTR with multiple files (part 1)
Instead of spawning a os9 process for each file, call
it once with the whole bunch of files.
This can speed up the build process significantly when applied
globally. For now, do the special cases having "notdir".
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Fri, 12 Jul 2013 00:01:00 +0200 (2013-07-11) |
parents | c1892376e7a7 |
children | 84d9d5765057 |
rev | line source |
---|---|
2064 | 1 include $(NITROS9DIR)/rules.mak |
444 | 2 |
2205 | 3 DSK68_FLOPPY = multivue_6809.dsk |
4 DSK63_FLOPPY = multivue_6309.dsk | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
5 DSK68_DW = multivue_6809_dw.dsk |
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
6 DSK63_DW = multivue_6309_dw.dsk |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
7 DSK68_DW_BECKER = multivue_6809_becker.dsk |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
8 DSK63_DW_BECKER = multivue_6309_becker.dsk |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
9 |
2346
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2216
diff
changeset
|
10 CMDS68 = $(shell $(CD) cmds_6809; make --no-print-directory showobjs) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2216
diff
changeset
|
11 CMDS63 = $(shell $(CD) cmds_6309; make --no-print-directory showobjs) |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
12 ICONS = icon.demo |
2346
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2216
diff
changeset
|
13 SYSBIN = $(shell $(CD) sys; make --no-print-directory showbinobjs) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2216
diff
changeset
|
14 SYSTEXT = $(shell $(CD) sys; make --no-print-directory showtextobjs) |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
15 DEMO = aif.dmo |
1428 | 16 ROOTFILES = startup |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
17 |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
18 DSKS = $(DSK68_FLOPPY) $(DSK63_FLOPPY) $(DSK68_DW) $(DSK63_DW) $(DSK68_DW_BECKER) $(DSK63_DW_BECKER) |
2216 | 19 |
2064 | 20 MD68 = $(LEVEL2)/coco3/modules |
21 MD63 = $(LEVEL2)/coco3_6309/modules | |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
22 |
2205 | 23 KERNEL68_FLOPPY = $(MD68)/rel_40 $(MD68)/boot_1773_6ms $(MD68)/krn |
24 KERNEL63_FLOPPY = $(MD63)/rel_40 $(MD63)/boot_1773_6ms $(MD63)/krn | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
25 KERNEL68_DW = $(MD68)/rel_40 $(MD68)/boot_dw $(MD68)/krn |
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
26 KERNEL63_DW = $(MD63)/rel_40 $(MD63)/boot_dw $(MD63)/krn |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
27 KERNEL68_DW_BECKER = $(MD68)/rel_40 $(MD68)/boot_dw_becker $(MD68)/krn |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
28 KERNEL63_DW_BECKER = $(MD63)/rel_40 $(MD63)/boot_dw_becker $(MD63)/krn |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
29 |
2205 | 30 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
|
31 $(MD68)/rbf.mn \ |
1638 | 32 $(MD68)/rb1773.dr $(MD68)/ddd0_40d.dd \ |
1428 | 33 $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \ |
1934 | 34 $(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
|
35 $(MD68)/keydrv_cc3.sb $(MD68)/joydrv_joy.sb $(MD68)/snddrv_cc3.sb \ |
1934 | 36 $(MD68)/cowin.io $(MD68)/term_win40.dt \ |
1428 | 37 $(MD68)/w.dw $(MD68)/w1.dw $(MD68)/w2.dw $(MD68)/w3.dw \ |
38 $(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
|
39 $(MD68)/clock_60hz $(MD68)/clock2_soft \ |
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
40 $(MD68)/sysgo_dd |
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
41 |
2205 | 42 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
|
43 $(MD63)/rbf.mn \ |
1638 | 44 $(MD63)/rb1773.dr $(MD63)/ddd0_40d.dd \ |
1428 | 45 $(MD63)/d0_40d.dd $(MD63)/d1_40d.dd \ |
1934 | 46 $(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
|
47 $(MD63)/keydrv_cc3.sb $(MD63)/joydrv_joy.sb $(MD63)/snddrv_cc3.sb \ |
1934 | 48 $(MD63)/cowin.io $(MD63)/term_win40.dt \ |
1428 | 49 $(MD63)/w.dw $(MD63)/w1.dw $(MD63)/w2.dw $(MD63)/w3.dw \ |
50 $(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
|
51 $(MD63)/clock_60hz $(MD63)/clock2_soft \ |
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
52 $(MD63)/sysgo_dd |
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
53 |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
54 BOOTFILE68_DW = $(MD68)/krnp2 $(MD68)/ioman $(MD68)/init \ |
2205 | 55 $(MD68)/rbf.mn \ |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
56 $(MD68)/rbdw.dr $(MD68)/dwio.sb $(MD68)/ddx0.dd \ |
2205 | 57 $(MD68)/rb1773.dr $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \ |
58 $(MD68)/scf.mn $(MD68)/vtio.dr \ | |
59 $(MD68)/keydrv_cc3.sb $(MD68)/joydrv_joy.sb $(MD68)/snddrv_cc3.sb \ | |
60 $(MD68)/cowin.io $(MD68)/term_win40.dt \ | |
61 $(MD68)/w.dw $(MD68)/w1.dw $(MD68)/w2.dw $(MD68)/w3.dw \ | |
62 $(MD68)/w4.dw $(MD68)/w5.dw $(MD68)/w6.dw $(MD68)/w7.dw \ | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
63 $(MD68)/clock_60hz $(MD68)/clock2_dw \ |
2205 | 64 $(MD68)/sysgo_dd |
65 | |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
66 BOOTFILE68_DW_BECKER = $(MD68)/krnp2 $(MD68)/ioman $(MD68)/init \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
67 $(MD68)/rbf.mn \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
68 $(MD68)/rbdw.dr $(MD68)/dwio_becker.sb $(MD68)/ddx0.dd \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
69 $(MD68)/rb1773.dr $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
70 $(MD68)/scf.mn $(MD68)/vtio.dr \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
71 $(MD68)/keydrv_cc3.sb $(MD68)/joydrv_joy.sb $(MD68)/snddrv_cc3.sb \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
72 $(MD68)/cowin.io $(MD68)/term_win40.dt \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
73 $(MD68)/w.dw $(MD68)/w1.dw $(MD68)/w2.dw $(MD68)/w3.dw \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
74 $(MD68)/w4.dw $(MD68)/w5.dw $(MD68)/w6.dw $(MD68)/w7.dw \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
75 $(MD68)/clock_60hz $(MD68)/clock2_dw \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
76 $(MD68)/sysgo_dd |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
77 |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
78 BOOTFILE63_DW = $(MD63)/krnp2 $(MD63)/ioman $(MD63)/init \ |
2205 | 79 $(MD63)/rbf.mn \ |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
80 $(MD63)/rbdw.dr $(MD63)/dwio.sb $(MD63)/ddx0.dd \ |
2205 | 81 $(MD68)/rb1773.dr $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \ |
82 $(MD63)/scf.mn $(MD63)/vtio.dr \ | |
83 $(MD63)/keydrv_cc3.sb $(MD63)/joydrv_joy.sb $(MD63)/snddrv_cc3.sb \ | |
84 $(MD63)/cowin.io $(MD63)/term_win40.dt \ | |
85 $(MD63)/w.dw $(MD63)/w1.dw $(MD63)/w2.dw $(MD63)/w3.dw \ | |
86 $(MD63)/w4.dw $(MD63)/w5.dw $(MD63)/w6.dw $(MD63)/w7.dw \ | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
87 $(MD63)/clock_60hz $(MD63)/clock2_dw \ |
2205 | 88 $(MD63)/sysgo_dd |
447 | 89 |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
90 BOOTFILE63_DW_BECKER = $(MD63)/krnp2 $(MD63)/ioman $(MD63)/init \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
91 $(MD63)/rbf.mn \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
92 $(MD63)/rbdw.dr $(MD63)/dwio.sb $(MD63)/ddx0.dd \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
93 $(MD68)/rb1773.dr $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
94 $(MD63)/scf.mn $(MD63)/vtio.dr \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
95 $(MD63)/keydrv_cc3.sb $(MD63)/joydrv_joy.sb $(MD63)/snddrv_cc3.sb \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
96 $(MD63)/cowin.io $(MD63)/term_win40.dt \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
97 $(MD63)/w.dw $(MD63)/w1.dw $(MD63)/w2.dw $(MD63)/w3.dw \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
98 $(MD63)/w4.dw $(MD63)/w5.dw $(MD63)/w6.dw $(MD63)/w7.dw \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
99 $(MD63)/clock_60hz $(MD63)/clock2_dw \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
100 $(MD63)/sysgo_dd |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
101 |
444 | 102 # Make all components |
103 all: | |
1366 | 104 @$(ECHO) "**************************************************" |
105 @$(ECHO) "* *" | |
106 @$(ECHO) "* Multi-Vue *" | |
107 @$(ECHO) "* *" | |
108 @$(ECHO) "**************************************************" | |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
109 $(CD) cmds_6809; make |
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
110 $(CD) cmds_6309; make |
1363 | 111 $(CD) sys; make |
444 | 112 |
113 # Clean all components | |
457 | 114 clean: dskclean |
2835
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2774
diff
changeset
|
115 $(RM) os9boot |
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2774
diff
changeset
|
116 $(CD) cmds_6809; make clean |
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2774
diff
changeset
|
117 $(CD) cmds_6309; make clean |
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2774
diff
changeset
|
118 $(CD) sys; make clean |
447 | 119 |
2216 | 120 dsk: all $(DSKS) |
2205 | 121 |
122 $(DSK68_FLOPPY): | |
123 $(RM) $@ | |
124 $(OS9FORMAT_DS40) $@ -q -n"Multi-Vue" | |
125 $(MERGE) $(BOOTFILE68_FLOPPY)>os9boot | |
126 $(MERGE) $(KERNEL68_FLOPPY)>kernel | |
127 $(OS9GEN) $@ -b=os9boot -t=kernel | |
128 $(RM) os9boot kernel | |
129 $(MAKDIR) $@,CMDS | |
130 $(MAKDIR) $@,CMDS/ICONS | |
131 $(MAKDIR) $@,SYS | |
132 $(MAKDIR) $@,DEMO | |
133 $(CD) cmds_6809; $(CP) $(CMDS68) ../$@,CMDS | |
2848
94197db917c9
Makefiles: Call OS9ATTR with multiple files (part 1)
Tormod Volden <debian.tormod@gmail.com>
parents:
2835
diff
changeset
|
134 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68)),$@,CMDS/$(file)) |
2205 | 135 $(OS9RENAME) $@,CMDS/gshell AutoEx |
136 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS | |
137 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) | |
138 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
139 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
140 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
141 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
142 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO | |
143 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) | |
144 $(CPL) $(ROOTFILES) $@,. | |
145 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
146 | |
147 $(DSK63_FLOPPY): | |
148 $(RM) $@ | |
149 $(OS9FORMAT_DS40) $@ -q -n"Multi-Vue" | |
150 $(MERGE) $(BOOTFILE63_FLOPPY)>os9boot | |
151 $(MERGE) $(KERNEL63_FLOPPY)>kernel | |
152 $(OS9GEN) $@ -b=os9boot -t=kernel | |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
153 $(RM) os9boot kernel |
2205 | 154 $(MAKDIR) $@,CMDS |
155 $(MAKDIR) $@,CMDS/ICONS | |
156 $(MAKDIR) $@,SYS | |
157 $(MAKDIR) $@,DEMO | |
158 $(CD) cmds_6309; $(CP) $(CMDS63) ../$@,CMDS | |
2848
94197db917c9
Makefiles: Call OS9ATTR with multiple files (part 1)
Tormod Volden <debian.tormod@gmail.com>
parents:
2835
diff
changeset
|
159 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63)),$@,CMDS/$(file)) |
2205 | 160 $(OS9RENAME) $@,CMDS/gshell AutoEx |
161 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS | |
162 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) | |
163 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
164 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
165 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
166 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
167 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO | |
168 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) | |
169 $(CPL) $(ROOTFILES) $@,. | |
170 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
171 | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
172 $(DSK68_DW): |
2205 | 173 $(RM) $@ |
174 $(OS9FORMAT_SS80) $@ -q -n"Multi-Vue" | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
175 $(MERGE) $(BOOTFILE68_DW)>os9boot |
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
176 $(MERGE) $(KERNEL68_DW)>kernel |
2205 | 177 $(OS9GEN) $@ -b=os9boot -t=kernel |
1427
b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
boisy
parents:
1425
diff
changeset
|
178 $(RM) os9boot kernel |
2205 | 179 $(MAKDIR) $@,CMDS |
180 $(MAKDIR) $@,CMDS/ICONS | |
181 $(MAKDIR) $@,SYS | |
182 $(MAKDIR) $@,DEMO | |
183 $(CD) cmds_6809; $(CP) $(CMDS68) ../$@,CMDS | |
2848
94197db917c9
Makefiles: Call OS9ATTR with multiple files (part 1)
Tormod Volden <debian.tormod@gmail.com>
parents:
2835
diff
changeset
|
184 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68)),$@,CMDS/$(file)) |
2205 | 185 $(OS9RENAME) $@,CMDS/gshell AutoEx |
186 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS | |
187 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) | |
188 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
189 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
190 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
191 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
192 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO | |
193 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) | |
194 $(CPL) $(ROOTFILES) $@,. | |
195 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
196 | |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
197 $(DSK68_DW_BECKER): |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
198 $(RM) $@ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
199 $(OS9FORMAT_SS80) $@ -q -n"Multi-Vue" |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
200 $(MERGE) $(BOOTFILE68_DW_BECKER)>os9boot |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
201 $(MERGE) $(KERNEL68_DW_BECKER)>kernel |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
202 $(OS9GEN) $@ -b=os9boot -t=kernel |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
203 $(RM) os9boot kernel |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
204 $(MAKDIR) $@,CMDS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
205 $(MAKDIR) $@,CMDS/ICONS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
206 $(MAKDIR) $@,SYS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
207 $(MAKDIR) $@,DEMO |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
208 $(CD) cmds_6809; $(CP) $(CMDS68) ../$@,CMDS |
2848
94197db917c9
Makefiles: Call OS9ATTR with multiple files (part 1)
Tormod Volden <debian.tormod@gmail.com>
parents:
2835
diff
changeset
|
209 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68)),$@,CMDS/$(file)) |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
210 $(OS9RENAME) $@,CMDS/gshell AutoEx |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
211 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
212 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
213 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
214 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
215 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
216 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
217 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
218 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
219 $(CPL) $(ROOTFILES) $@,. |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
220 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
221 |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
222 $(DSK63_DW): |
2205 | 223 $(RM) $@ |
224 $(OS9FORMAT_SS80) $@ -q -n"Multi-Vue" | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
225 $(MERGE) $(BOOTFILE63_DW)>os9boot |
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2717
diff
changeset
|
226 $(MERGE) $(KERNEL63_DW)>kernel |
2205 | 227 $(OS9GEN) $@ -b=os9boot -t=kernel |
228 $(RM) os9boot kernel | |
229 $(MAKDIR) $@,CMDS | |
230 $(MAKDIR) $@,CMDS/ICONS | |
231 $(MAKDIR) $@,SYS | |
232 $(MAKDIR) $@,DEMO | |
233 $(CD) cmds_6309; $(CP) $(CMDS63) ../$@,CMDS | |
2848
94197db917c9
Makefiles: Call OS9ATTR with multiple files (part 1)
Tormod Volden <debian.tormod@gmail.com>
parents:
2835
diff
changeset
|
234 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63)),$@,CMDS/$(file)) |
2205 | 235 $(OS9RENAME) $@,CMDS/gshell AutoEx |
236 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS | |
237 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) | |
238 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
239 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
240 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
241 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
242 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO | |
243 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) | |
244 $(CPL) $(ROOTFILES) $@,. | |
245 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
457 | 246 |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
247 $(DSK63_DW_BECKER): |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
248 $(RM) $@ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
249 $(OS9FORMAT_SS80) $@ -q -n"Multi-Vue" |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
250 $(MERGE) $(BOOTFILE63_DW_BECKER)>os9boot |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
251 $(MERGE) $(KERNEL63_DW_BECKER)>kernel |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
252 $(OS9GEN) $@ -b=os9boot -t=kernel |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
253 $(RM) os9boot kernel |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
254 $(MAKDIR) $@,CMDS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
255 $(MAKDIR) $@,CMDS/ICONS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
256 $(MAKDIR) $@,SYS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
257 $(MAKDIR) $@,DEMO |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
258 $(CD) cmds_6309; $(CP) $(CMDS63) ../$@,CMDS |
2848
94197db917c9
Makefiles: Call OS9ATTR with multiple files (part 1)
Tormod Volden <debian.tormod@gmail.com>
parents:
2835
diff
changeset
|
259 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63)),$@,CMDS/$(file)) |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
260 $(OS9RENAME) $@,CMDS/gshell AutoEx |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
261 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
262 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
263 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
264 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
265 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
266 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
267 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
268 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
269 $(CPL) $(ROOTFILES) $@,. |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
270 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
271 |
1121 | 272 dskcopy: dsk |
2216 | 273 $(CP) $(DSKS) $(DSKDIR) |
1121 | 274 |
457 | 275 dskclean: |
2216 | 276 $(RM) $(DSKS) |
457 | 277 |
2216 | 278 info: |
279 @$(ECHO) "*** Multi-Vue ***" | |
280 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) | |
281 |