Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/mm/makefile @ 2774:1868fbf470e7 lwtools-port
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
changeset: 2773:ce3dba57003b
branch: lwtools-port
tag: tip
parent: 2770:bfe3de781ddf
user: Boisy Pitre <boisy.pitre@nuance.com>
date: Wed Jan 23 14:54:29 2013 -0600
summary: boot_dw now uses dwinit.asm.
changeset: 2772:0a3f4d8ea6d5
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Wed, 23 Jan 2013 21:02:34 -0600 |
parents | 05b648103e78 |
children | 84d9d5765057 |
rev | line source |
---|---|
1363 | 1 include ../../../rules.mak |
780 | 2 |
1363 | 3 DEPENDS = ./makefile |
780 | 4 |
2204 | 5 DSK_FLOPPY = mm.dsk |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2229
diff
changeset
|
6 DSK_DW = mm_dw.dsk |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
7 DSK_DW_BECKER = mm_dw_becker.dsk |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
8 |
780 | 9 CMDS = mm mod1.dat mod2.dat mod3.dat mod4.dat mod5.dat \ |
10 mod6.sbr mod7.sbr mod8.sbr | |
2064 | 11 MD = $(LEVEL2)/coco3/modules |
780 | 12 |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
13 DSKS = $(DSK_FLOPPY) $(DSK_DW) $(DSK_DW_BECKER) |
2216 | 14 |
780 | 15 # We make our own bootfile and kernel track |
2204 | 16 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2229
diff
changeset
|
17 KERNEL_DW = $(MD)/rel_32 $(MD)/boot_dw $(MD)/krn |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
18 KERNEL_DW_BECKER = $(MD)/rel_32 $(MD)/boot_dw_becker $(MD)/krn |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
19 |
2204 | 20 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
780 | 21 $(MD)/rbf.mn \ |
1638 | 22 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
1934 | 23 $(MD)/scf.mn $(MD)/vtio.dr \ |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1129
diff
changeset
|
24 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1934 | 25 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
1318 | 26 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
780 | 27 |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2229
diff
changeset
|
28 BOOTFILE_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2204 | 29 $(MD)/rbf.mn \ |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2229
diff
changeset
|
30 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \ |
2204 | 31 $(MD)/scf.mn $(MD)/vtio.dr \ |
32 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
33 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2229
diff
changeset
|
34 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd |
2204 | 35 |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
36 BOOTFILE_DW_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
37 $(MD)/rbf.mn \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
38 $(MD)/rbdw.dr $(MD)/dwio_becker.sb $(MD)/ddx0.dd \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
39 $(MD)/scf.mn $(MD)/vtio.dr \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
40 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
41 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
42 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
43 |
780 | 44 SUPPORTFILES = global.dat mm.lib mm.pnl mm.ttl mod7.lib |
45 | |
46 ALLOBJS = $(CMDS) | |
47 | |
48 all: $(ALLOBJS) | |
49 | |
50 clean: dskclean | |
51 $(RM) $(ALLOBJS) | |
52 | |
2216 | 53 dsk: all $(DSKS) |
2204 | 54 |
55 $(DSK_FLOPPY): | |
56 $(RM) $@ | |
2064 | 57 $(CD) $(LEVEL2)/coco3; make |
2229 | 58 $(OS9FORMAT_DS40) -q $@ -n"Microscopic Mission" |
2204 | 59 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot |
60 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
61 $(OS9GEN) $@ -b=os9boot -t=kernel | |
62 $(RM) os9boot kernel | |
63 $(MAKDIR) $@,CMDS | |
64 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell | |
65 $(OS9ATTR_EXEC) $@,CMDS/shell | |
66 $(CP) $(CMDS) $@,CMDS | |
67 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
68 $(OS9RENAME) $@,CMDS/mm AutoEx | |
69 $(CP) $(SUPPORTFILES) $@,. | |
70 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_EXEC) $@,$(file);) | |
71 | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2229
diff
changeset
|
72 $(DSK_DW): |
2204 | 73 $(RM) $@ |
74 $(CD) $(LEVEL2)/coco3; make | |
2229 | 75 $(OS9FORMAT_SS80) -q $@ -n"Microscopic Mission" |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2229
diff
changeset
|
76 $(MERGE) $(BOOTFILE_DW)>os9boot |
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2229
diff
changeset
|
77 $(MERGE) $(KERNEL_DW)>kernel |
2204 | 78 $(OS9GEN) $@ -b=os9boot -t=kernel |
79 $(RM) os9boot kernel | |
80 $(MAKDIR) $@,CMDS | |
81 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell | |
82 $(OS9ATTR_EXEC) $@,CMDS/shell | |
83 $(CP) $(CMDS) $@,CMDS | |
84 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
85 $(OS9RENAME) $@,CMDS/mm AutoEx | |
86 $(CP) $(SUPPORTFILES) $@,. | |
87 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_EXEC) $@,$(file);) | |
780 | 88 |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
89 $(DSK_DW_BECKER): |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
90 $(RM) $@ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
91 $(CD) $(LEVEL2)/coco3; make |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
92 $(OS9FORMAT_SS80) -q $@ -n"Microscopic Mission" |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
93 $(MERGE) $(BOOTFILE_DW_BECKER)>os9boot |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
94 $(MERGE) $(KERNEL_DW_BECKER)>kernel |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
95 $(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
|
96 $(RM) os9boot kernel |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
97 $(MAKDIR) $@,CMDS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
98 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
99 $(OS9ATTR_EXEC) $@,CMDS/shell |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
100 $(CP) $(CMDS) $@,CMDS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
101 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
102 $(OS9RENAME) $@,CMDS/mm AutoEx |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
103 $(CP) $(SUPPORTFILES) $@,. |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
104 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_EXEC) $@,$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
105 |
1121 | 106 dskcopy: dsk |
2216 | 107 $(CP) $(DSKS) $(DSKDIR) |
1121 | 108 |
780 | 109 dskclean: |
2216 | 110 $(RM) $(DSKS) |
111 | |
112 info: | |
113 @$(ECHO) "*** Microscopic Mission ***" | |
114 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |