annotate 3rdparty/packages/sierra/christmas86/makefile @ 2216:d096a278e068

Added info targets
author boisy
date Tue, 17 Mar 2009 02:52:57 +0000
parents 9aa4880f49e7
children 98e7cb7b3dda
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
1 include $(NITROS9DIR)/rules.mak
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
2
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
3 vpath %.asm ../objs_lsl
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
4
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
5 DEPENDS = ./makefile
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
6
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
7 DSK_FLOPPY = christmas86.dsk
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
8 DSK_DW3 = christmas86_dw3.dsk
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
9
2216
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
10 DSKS = $(DSK_FLOPPY) $(DSK_DW3)
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
11
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
12 DSK_NAME = "Christmas 1986"
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
13
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
14 CMDS = sierra mnln scrn shdw tocgen
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
15 MD = $(LEVEL2)/coco3/modules
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
16
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
17 # We make our own bootfile and kernel track
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
18 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
19 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
20
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
21 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
22 $(MD)/rbf.mn \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
23 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
24 $(MD)/scf.mn $(MD)/vtio.dr \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
25 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
26 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
27 $(MD)/vrn.dr $(MD)/vi.dd \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
28 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
29
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
30 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
31 $(MD)/rbf.mn \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
32 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
33 $(MD)/scf.mn $(MD)/vtio.dr \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
34 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
35 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
36 $(MD)/vrn.dr $(MD)/vi.dd \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
37 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
38
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
39 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
40 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
41 $(LEVEL2)/coco3/cmds/setime
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
42
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
43 TEXTFILES = startup tOC.txt
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
44
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
45 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 words.tok
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
46
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
47 ALLOBJS = $(CMDS)
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
48
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
49 all: $(ALLOBJS)
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
50
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
51 clean: dskclean
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
52 $(RM) $(ALLOBJS)
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
53
2216
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
54 dsk: $(DSKS)
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
55
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
56 $(DSK_FLOPPY): all
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
57 $(RM) $@
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
58 $(CD) $(LEVEL2)/coco3; make
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
59 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME)
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
60 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
61 $(MERGE) $(KERNEL_FLOPPY)>kernel
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
62 $(OS9GEN) $@ -b=os9boot -t=kernel
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
63 $(RM) os9boot kernel
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
64 $(MAKDIR) $@,CMDS
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
65 $(CP) $(CMDS) $@,CMDS
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
66 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
67 $(MERGE) $(BOOTCMDS)>shell
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
68 $(CP) shell $@,CMDS
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
69 $(RM) shell
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
70 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
71 $(OS9RENAME) $@,CMDS/sierra AutoEx
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
72 $(CPL) $(TEXTFILES) $@,.
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
73 tocgen $@,tOC.txt $@,tOC
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
74 $(CP) $(SUPPORTFILES) $@,.
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
75
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
76 $(DSK_DW3): all
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
77 $(RM) $@
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
78 $(CD) $(LEVEL2)/coco3; make
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
79 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME)
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
80 $(MERGE) $(BOOTFILE_DW3)>os9boot
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
81 $(MERGE) $(KERNEL_DW3)>kernel
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
82 $(OS9GEN) $@ -b=os9boot -t=kernel
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
83 $(RM) os9boot kernel
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
84 $(MAKDIR) $@,CMDS
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
85 $(CP) $(CMDS) $@,CMDS
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
86 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
87 $(MERGE) $(BOOTCMDS)>shell
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
88 $(CP) shell $@,CMDS
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
89 $(RM) shell
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
90 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
91 $(OS9RENAME) $@,CMDS/sierra AutoEx
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
92 $(CPL) $(TEXTFILES) $@,.
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
93 tocgen $@,tOC.txt $@,tOC
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
94 $(CP) $(SUPPORTFILES) $@,.
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
95
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
96 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
97 $(CP) $(DSKS) $(DSKDIR)
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
98
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
99 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
100 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
101
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
102 info:
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
103 @$(ECHO) "*** Christmas 1986 ***"
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
104 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)