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