Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/rof/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 |
584 | 2 |
1363 | 3 DEPENDS = ./makefile |
584 | 4 |
2206 | 5 DSK_FLOPPY = rof.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 = rof_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 = rof_becker.dsk |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
8 |
584 | 9 CMDS = rescue |
2064 | 10 MD = $(LEVEL2)/coco3/modules |
750
1bc9f2ecac47
bootfile and kernel are made remotely but assembled localy into os9boot
boisy
parents:
749
diff
changeset
|
11 |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
12 DSKS = $(DSK_FLOPPY) $(DSK_DW) $(DSK_DW_BECKER) |
2216 | 13 |
750
1bc9f2ecac47
bootfile and kernel are made remotely but assembled localy into os9boot
boisy
parents:
749
diff
changeset
|
14 # We make our own bootfile and kernel track |
2206 | 15 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
|
16 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
|
17 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
|
18 |
2206 | 19 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
753 | 20 $(MD)/rbf.mn \ |
1638 | 21 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
1934 | 22 $(MD)/scf.mn $(MD)/vtio.dr \ |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1129
diff
changeset
|
23 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1934 | 24 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
1318 | 25 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
750
1bc9f2ecac47
bootfile and kernel are made remotely but assembled localy into os9boot
boisy
parents:
749
diff
changeset
|
26 |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2229
diff
changeset
|
27 BOOTFILE_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2206 | 28 $(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
|
29 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \ |
2206 | 30 $(MD)/scf.mn $(MD)/vtio.dr \ |
31 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
32 $(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
|
33 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd |
2206 | 34 |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
35 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
|
36 $(MD)/rbf.mn \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
37 $(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
|
38 $(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
|
39 $(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
|
40 $(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
|
41 $(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
|
42 |
585 | 43 SUPPORTFILES = body heads larms legs lips panel1 rofvar rship.c rtitle.c scores |
584 | 44 |
809 | 45 ALLOBJS = $(CMDS) |
46 | |
584 | 47 all: $(ALLOBJS) |
48 | |
49 clean: dskclean | |
50 $(RM) $(ALLOBJS) | |
51 | |
2216 | 52 dsk: all $(DSKS) |
2206 | 53 |
54 $(DSK_FLOPPY): | |
55 $(RM) $@ | |
2064 | 56 $(CD) $(LEVEL2)/coco3; make |
2229 | 57 $(OS9FORMAT_SS35) -q $@ -n"Rescue on Fractalus" |
2206 | 58 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot |
59 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
60 $(OS9GEN) $@ -b=os9boot -t=kernel | |
61 $(RM) os9boot kernel | |
62 $(MAKDIR) $@,CMDS | |
63 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell | |
64 $(OS9ATTR_EXEC) $@,CMDS/shell | |
65 $(CP) $(CMDS) $@,CMDS | |
66 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
67 $(OS9RENAME) $@,CMDS/rescue AutoEx | |
68 $(CP) $(SUPPORTFILES) $@,. | |
69 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
70 | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2229
diff
changeset
|
71 $(DSK_DW): |
2206 | 72 $(RM) $@ |
73 $(CD) $(LEVEL2)/coco3; make | |
2229 | 74 $(OS9FORMAT_SS35) -q $@ -n"Rescue on Fractalus" |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2229
diff
changeset
|
75 $(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
|
76 $(MERGE) $(KERNEL_DW)>kernel |
2206 | 77 $(OS9GEN) $@ -b=os9boot -t=kernel |
78 $(RM) os9boot kernel | |
79 $(MAKDIR) $@,CMDS | |
80 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell | |
81 $(OS9ATTR_EXEC) $@,CMDS/shell | |
82 $(CP) $(CMDS) $@,CMDS | |
83 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
84 $(OS9RENAME) $@,CMDS/rescue AutoEx | |
85 $(CP) $(SUPPORTFILES) $@,. | |
86 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
584 | 87 |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
88 $(DSK_DW_BECKER): |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
89 $(RM) $@ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
90 $(CD) $(LEVEL2)/coco3; make |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
91 $(OS9FORMAT_SS35) -q $@ -n"Rescue on Fractalus" |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
92 $(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
|
93 $(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
|
94 $(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
|
95 $(RM) os9boot kernel |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
96 $(MAKDIR) $@,CMDS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
97 $(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
|
98 $(OS9ATTR_EXEC) $@,CMDS/shell |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
99 $(CP) $(CMDS) $@,CMDS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
100 $(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
|
101 $(OS9RENAME) $@,CMDS/rescue AutoEx |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
102 $(CP) $(SUPPORTFILES) $@,. |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
103 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
104 |
1121 | 105 dskcopy: dsk |
2216 | 106 $(CP) $(DSKS) $(DSKDIR) |
1121 | 107 |
584 | 108 dskclean: |
2216 | 109 $(RM) $(DSKS) |
110 | |
111 info: | |
112 @$(ECHO) "*** Rescue on Fractalus ***" | |
113 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |