Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/mm/makefile @ 2229:918c7c68ea4d
Made formats quiet
author | boisy |
---|---|
date | Sun, 22 Mar 2009 12:21:59 +0000 |
parents | d096a278e068 |
children | 05b648103e78 7f7274884574 |
rev | line source |
---|---|
1363 | 1 include ../../../rules.mak |
780 | 2 |
1363 | 3 DEPENDS = ./makefile |
780 | 4 |
2204 | 5 DSK_FLOPPY = mm.dsk |
6 DSK_DW3 = mm_dw3.dsk | |
780 | 7 CMDS = mm mod1.dat mod2.dat mod3.dat mod4.dat mod5.dat \ |
8 mod6.sbr mod7.sbr mod8.sbr | |
2064 | 9 MD = $(LEVEL2)/coco3/modules |
780 | 10 |
2216 | 11 DSKS = $(DSK_FLOPPY) $(DSK_DW3) |
12 | |
780 | 13 # We make our own bootfile and kernel track |
2204 | 14 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
15 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn | |
16 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
780 | 17 $(MD)/rbf.mn \ |
1638 | 18 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
1934 | 19 $(MD)/scf.mn $(MD)/vtio.dr \ |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1129
diff
changeset
|
20 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1934 | 21 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
1318 | 22 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
780 | 23 |
2204 | 24 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
25 $(MD)/rbf.mn \ | |
26 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ | |
27 $(MD)/scf.mn $(MD)/vtio.dr \ | |
28 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
29 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
30 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd | |
31 | |
780 | 32 SUPPORTFILES = global.dat mm.lib mm.pnl mm.ttl mod7.lib |
33 | |
34 ALLOBJS = $(CMDS) | |
35 | |
36 all: $(ALLOBJS) | |
37 | |
38 clean: dskclean | |
39 $(RM) $(ALLOBJS) | |
40 | |
2216 | 41 dsk: all $(DSKS) |
2204 | 42 |
43 $(DSK_FLOPPY): | |
44 $(RM) $@ | |
2064 | 45 $(CD) $(LEVEL2)/coco3; make |
2229 | 46 $(OS9FORMAT_DS40) -q $@ -n"Microscopic Mission" |
2204 | 47 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot |
48 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
49 $(OS9GEN) $@ -b=os9boot -t=kernel | |
50 $(RM) os9boot kernel | |
51 $(MAKDIR) $@,CMDS | |
52 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell | |
53 $(OS9ATTR_EXEC) $@,CMDS/shell | |
54 $(CP) $(CMDS) $@,CMDS | |
55 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
56 $(OS9RENAME) $@,CMDS/mm AutoEx | |
57 $(CP) $(SUPPORTFILES) $@,. | |
58 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_EXEC) $@,$(file);) | |
59 | |
60 $(DSK_DW3): | |
61 $(RM) $@ | |
62 $(CD) $(LEVEL2)/coco3; make | |
2229 | 63 $(OS9FORMAT_SS80) -q $@ -n"Microscopic Mission" |
2204 | 64 $(MERGE) $(BOOTFILE_DW3)>os9boot |
65 $(MERGE) $(KERNEL_DW3)>kernel | |
66 $(OS9GEN) $@ -b=os9boot -t=kernel | |
67 $(RM) os9boot kernel | |
68 $(MAKDIR) $@,CMDS | |
69 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell | |
70 $(OS9ATTR_EXEC) $@,CMDS/shell | |
71 $(CP) $(CMDS) $@,CMDS | |
72 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
73 $(OS9RENAME) $@,CMDS/mm AutoEx | |
74 $(CP) $(SUPPORTFILES) $@,. | |
75 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_EXEC) $@,$(file);) | |
780 | 76 |
1121 | 77 dskcopy: dsk |
2216 | 78 $(CP) $(DSKS) $(DSKDIR) |
1121 | 79 |
780 | 80 dskclean: |
2216 | 81 $(RM) $(DSKS) |
82 | |
83 info: | |
84 @$(ECHO) "*** Microscopic Mission ***" | |
85 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |