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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2064
c8bb06c82d68 Changes for new NitrOS-9 directory structure
boisy
parents: 1934
diff changeset
1 include $(NITROS9DIR)/rules.mak
444
5f067b794d38 Added necessary Makefiles
boisy
parents:
diff changeset
2
2205
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
3 DSK68_FLOPPY = multivue_6809.dsk
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
7e0ecb2e394a More improvements for Multi-vue
boisy
parents: 1427
diff changeset
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
d096a278e068 Added info targets
boisy
parents: 2205
diff changeset
19
2064
c8bb06c82d68 Changes for new NitrOS-9 directory structure
boisy
parents: 1934
diff changeset
20 MD68 = $(LEVEL2)/coco3/modules
c8bb06c82d68 Changes for new NitrOS-9 directory structure
boisy
parents: 1934
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
23 KERNEL68_FLOPPY = $(MD68)/rel_40 $(MD68)/boot_1773_6ms $(MD68)/krn
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
1b23a41c674d Updated makefiles
boisy
parents: 1429
diff changeset
32 $(MD68)/rb1773.dr $(MD68)/ddd0_40d.dd \
1428
7e0ecb2e394a More improvements for Multi-vue
boisy
parents: 1427
diff changeset
33 $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \
1934
af946652495d Makefiles reflect new module names
boisy
parents: 1659
diff changeset
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
af946652495d Makefiles reflect new module names
boisy
parents: 1659
diff changeset
36 $(MD68)/cowin.io $(MD68)/term_win40.dt \
1428
7e0ecb2e394a More improvements for Multi-vue
boisy
parents: 1427
diff changeset
37 $(MD68)/w.dw $(MD68)/w1.dw $(MD68)/w2.dw $(MD68)/w3.dw \
7e0ecb2e394a More improvements for Multi-vue
boisy
parents: 1427
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
1b23a41c674d Updated makefiles
boisy
parents: 1429
diff changeset
44 $(MD63)/rb1773.dr $(MD63)/ddd0_40d.dd \
1428
7e0ecb2e394a More improvements for Multi-vue
boisy
parents: 1427
diff changeset
45 $(MD63)/d0_40d.dd $(MD63)/d1_40d.dd \
1934
af946652495d Makefiles reflect new module names
boisy
parents: 1659
diff changeset
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
af946652495d Makefiles reflect new module names
boisy
parents: 1659
diff changeset
48 $(MD63)/cowin.io $(MD63)/term_win40.dt \
1428
7e0ecb2e394a More improvements for Multi-vue
boisy
parents: 1427
diff changeset
49 $(MD63)/w.dw $(MD63)/w1.dw $(MD63)/w2.dw $(MD63)/w3.dw \
7e0ecb2e394a More improvements for Multi-vue
boisy
parents: 1427
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
57 $(MD68)/rb1773.dr $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
58 $(MD68)/scf.mn $(MD68)/vtio.dr \
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
59 $(MD68)/keydrv_cc3.sb $(MD68)/joydrv_joy.sb $(MD68)/snddrv_cc3.sb \
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
60 $(MD68)/cowin.io $(MD68)/term_win40.dt \
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
61 $(MD68)/w.dw $(MD68)/w1.dw $(MD68)/w2.dw $(MD68)/w3.dw \
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
64 $(MD68)/sysgo_dd
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
81 $(MD68)/rb1773.dr $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
82 $(MD63)/scf.mn $(MD63)/vtio.dr \
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
83 $(MD63)/keydrv_cc3.sb $(MD63)/joydrv_joy.sb $(MD63)/snddrv_cc3.sb \
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
84 $(MD63)/cowin.io $(MD63)/term_win40.dt \
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
85 $(MD63)/w.dw $(MD63)/w1.dw $(MD63)/w2.dw $(MD63)/w3.dw \
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
88 $(MD63)/sysgo_dd
447
cdee01afb5d5 Changed target name
boisy
parents: 444
diff changeset
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
5f067b794d38 Added necessary Makefiles
boisy
parents:
diff changeset
102 # Make all components
5f067b794d38 Added necessary Makefiles
boisy
parents:
diff changeset
103 all:
1366
770c350f4c15 More changes
boisy
parents: 1363
diff changeset
104 @$(ECHO) "**************************************************"
770c350f4c15 More changes
boisy
parents: 1363
diff changeset
105 @$(ECHO) "* *"
770c350f4c15 More changes
boisy
parents: 1363
diff changeset
106 @$(ECHO) "* Multi-Vue *"
770c350f4c15 More changes
boisy
parents: 1363
diff changeset
107 @$(ECHO) "* *"
770c350f4c15 More changes
boisy
parents: 1363
diff changeset
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
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1126
diff changeset
111 $(CD) sys; make
444
5f067b794d38 Added necessary Makefiles
boisy
parents:
diff changeset
112
5f067b794d38 Added necessary Makefiles
boisy
parents:
diff changeset
113 # Clean all components
457
1fa3b4191290 Fixed makefile slightly
boisy
parents: 451
diff changeset
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
cdee01afb5d5 Changed target name
boisy
parents: 444
diff changeset
119
2216
d096a278e068 Added info targets
boisy
parents: 2205
diff changeset
120 dsk: all $(DSKS)
2205
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
121
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
122 $(DSK68_FLOPPY):
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
123 $(RM) $@
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
124 $(OS9FORMAT_DS40) $@ -q -n"Multi-Vue"
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
125 $(MERGE) $(BOOTFILE68_FLOPPY)>os9boot
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
126 $(MERGE) $(KERNEL68_FLOPPY)>kernel
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
127 $(OS9GEN) $@ -b=os9boot -t=kernel
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
128 $(RM) os9boot kernel
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
129 $(MAKDIR) $@,CMDS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
130 $(MAKDIR) $@,CMDS/ICONS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
131 $(MAKDIR) $@,SYS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
132 $(MAKDIR) $@,DEMO
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
135 $(OS9RENAME) $@,CMDS/gshell AutoEx
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
136 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
137 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
138 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
139 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
140 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
141 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
142 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
143 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
144 $(CPL) $(ROOTFILES) $@,.
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
145 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
146
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
147 $(DSK63_FLOPPY):
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
148 $(RM) $@
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
149 $(OS9FORMAT_DS40) $@ -q -n"Multi-Vue"
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
150 $(MERGE) $(BOOTFILE63_FLOPPY)>os9boot
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
151 $(MERGE) $(KERNEL63_FLOPPY)>kernel
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
154 $(MAKDIR) $@,CMDS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
155 $(MAKDIR) $@,CMDS/ICONS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
156 $(MAKDIR) $@,SYS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
157 $(MAKDIR) $@,DEMO
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
160 $(OS9RENAME) $@,CMDS/gshell AutoEx
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
161 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
162 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
163 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
164 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
165 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
166 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
167 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
168 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
169 $(CPL) $(ROOTFILES) $@,.
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
170 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
173 $(RM) $@
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
179 $(MAKDIR) $@,CMDS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
180 $(MAKDIR) $@,CMDS/ICONS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
181 $(MAKDIR) $@,SYS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
182 $(MAKDIR) $@,DEMO
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
185 $(OS9RENAME) $@,CMDS/gshell AutoEx
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
186 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
187 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
188 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
189 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
190 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
191 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
192 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
193 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
194 $(CPL) $(ROOTFILES) $@,.
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
195 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
223 $(RM) $@
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
227 $(OS9GEN) $@ -b=os9boot -t=kernel
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
228 $(RM) os9boot kernel
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
229 $(MAKDIR) $@,CMDS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
230 $(MAKDIR) $@,CMDS/ICONS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
231 $(MAKDIR) $@,SYS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
232 $(MAKDIR) $@,DEMO
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
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
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
235 $(OS9RENAME) $@,CMDS/gshell AutoEx
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
236 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
237 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
238 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
239 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
240 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
241 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
242 $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
243 $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);)
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
244 $(CPL) $(ROOTFILES) $@,.
a0012a9f84eb added DW3 support
boisy
parents: 2064
diff changeset
245 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
457
1fa3b4191290 Fixed makefile slightly
boisy
parents: 451
diff changeset
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
6a058c03adb1 More Makefile changes
boisy
parents: 960
diff changeset
272 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2205
diff changeset
273 $(CP) $(DSKS) $(DSKDIR)
1121
6a058c03adb1 More Makefile changes
boisy
parents: 960
diff changeset
274
457
1fa3b4191290 Fixed makefile slightly
boisy
parents: 451
diff changeset
275 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2205
diff changeset
276 $(RM) $(DSKS)
457
1fa3b4191290 Fixed makefile slightly
boisy
parents: 451
diff changeset
277
2216
d096a278e068 Added info targets
boisy
parents: 2205
diff changeset
278 info:
d096a278e068 Added info targets
boisy
parents: 2205
diff changeset
279 @$(ECHO) "*** Multi-Vue ***"
d096a278e068 Added info targets
boisy
parents: 2205
diff changeset
280 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)
d096a278e068 Added info targets
boisy
parents: 2205
diff changeset
281