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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1318
diff changeset
1 include ../../../rules.mak
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
2
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1318
diff changeset
3 DEPENDS = ./makefile
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
4
2204
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
5 DSK_FLOPPY = mm.dsk
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
6 DSK_DW3 = mm_dw3.dsk
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
7 CMDS = mm mod1.dat mod2.dat mod3.dat mod4.dat mod5.dat \
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
8 mod6.sbr mod7.sbr mod8.sbr
2064
c8bb06c82d68 Changes for new NitrOS-9 directory structure
boisy
parents: 1934
diff changeset
9 MD = $(LEVEL2)/coco3/modules
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
10
2216
d096a278e068 Added info targets
boisy
parents: 2204
diff changeset
11 DSKS = $(DSK_FLOPPY) $(DSK_DW3)
d096a278e068 Added info targets
boisy
parents: 2204
diff changeset
12
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
13 # We make our own bootfile and kernel track
2204
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
14 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
15 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
16 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
17 $(MD)/rbf.mn \
1638
1b23a41c674d Updated makefiles
boisy
parents: 1371
diff changeset
18 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
1934
af946652495d Makefiles reflect new module names
boisy
parents: 1638
diff changeset
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
af946652495d Makefiles reflect new module names
boisy
parents: 1638
diff changeset
21 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
1318
a543ba9d856b Makefiles now reference sysgo instead of cc3go
boisy
parents: 1311
diff changeset
22 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
23
2204
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
24 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
25 $(MD)/rbf.mn \
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
26 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
27 $(MD)/scf.mn $(MD)/vtio.dr \
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
28 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
29 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
30 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
31
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
32 SUPPORTFILES = global.dat mm.lib mm.pnl mm.ttl mod7.lib
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
33
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
34 ALLOBJS = $(CMDS)
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
35
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
36 all: $(ALLOBJS)
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
37
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
38 clean: dskclean
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
39 $(RM) $(ALLOBJS)
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
40
2216
d096a278e068 Added info targets
boisy
parents: 2204
diff changeset
41 dsk: all $(DSKS)
2204
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
42
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
43 $(DSK_FLOPPY):
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
44 $(RM) $@
2064
c8bb06c82d68 Changes for new NitrOS-9 directory structure
boisy
parents: 1934
diff changeset
45 $(CD) $(LEVEL2)/coco3; make
2229
918c7c68ea4d Made formats quiet
boisy
parents: 2216
diff changeset
46 $(OS9FORMAT_DS40) -q $@ -n"Microscopic Mission"
2204
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
47 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
48 $(MERGE) $(KERNEL_FLOPPY)>kernel
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
49 $(OS9GEN) $@ -b=os9boot -t=kernel
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
50 $(RM) os9boot kernel
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
51 $(MAKDIR) $@,CMDS
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
52 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
53 $(OS9ATTR_EXEC) $@,CMDS/shell
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
54 $(CP) $(CMDS) $@,CMDS
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
55 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
56 $(OS9RENAME) $@,CMDS/mm AutoEx
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
57 $(CP) $(SUPPORTFILES) $@,.
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
58 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_EXEC) $@,$(file);)
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
59
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
60 $(DSK_DW3):
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
61 $(RM) $@
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
62 $(CD) $(LEVEL2)/coco3; make
2229
918c7c68ea4d Made formats quiet
boisy
parents: 2216
diff changeset
63 $(OS9FORMAT_SS80) -q $@ -n"Microscopic Mission"
2204
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
64 $(MERGE) $(BOOTFILE_DW3)>os9boot
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
65 $(MERGE) $(KERNEL_DW3)>kernel
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
66 $(OS9GEN) $@ -b=os9boot -t=kernel
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
67 $(RM) os9boot kernel
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
68 $(MAKDIR) $@,CMDS
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
69 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
70 $(OS9ATTR_EXEC) $@,CMDS/shell
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
71 $(CP) $(CMDS) $@,CMDS
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
72 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
73 $(OS9RENAME) $@,CMDS/mm AutoEx
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
74 $(CP) $(SUPPORTFILES) $@,.
2252a95c5725 added dw3 disk images
boisy
parents: 2064
diff changeset
75 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_EXEC) $@,$(file);)
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
76
1121
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
77 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2204
diff changeset
78 $(CP) $(DSKS) $(DSKDIR)
1121
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
79
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
80 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2204
diff changeset
81 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2204
diff changeset
82
d096a278e068 Added info targets
boisy
parents: 2204
diff changeset
83 info:
d096a278e068 Added info targets
boisy
parents: 2204
diff changeset
84 @$(ECHO) "*** Microscopic Mission ***"
d096a278e068 Added info targets
boisy
parents: 2204
diff changeset
85 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)