Mercurial > hg > Members > kono > nitros9-code
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 |
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 | 7 DSK_FLOPPY = christmas86.dsk |
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 | 10 DSKS = $(DSK_FLOPPY) $(DSK_DW3) |
11 | |
2208 | 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 | 18 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
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 | 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 | 30 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
31 $(MD)/rbf.mn \ | |
32 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ | |
33 $(MD)/scf.mn $(MD)/vtio.dr \ | |
34 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
35 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
36 $(MD)/vrn.dr $(MD)/vi.dd \ | |
37 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd | |
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 | 54 dsk: $(DSKS) |
2208 | 55 |
56 $(DSK_FLOPPY): all | |
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 | 59 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME) |
60 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot | |
61 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
62 $(OS9GEN) $@ -b=os9boot -t=kernel | |
63 $(RM) os9boot kernel | |
64 $(MAKDIR) $@,CMDS | |
65 $(CP) $(CMDS) $@,CMDS | |
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 | 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 | 70 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
71 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
72 $(CPL) $(TEXTFILES) $@,. | |
73 tocgen $@,tOC.txt $@,tOC | |
74 $(CP) $(SUPPORTFILES) $@,. | |
75 | |
76 $(DSK_DW3): all | |
77 $(RM) $@ | |
78 $(CD) $(LEVEL2)/coco3; make | |
79 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME) | |
80 $(MERGE) $(BOOTFILE_DW3)>os9boot | |
81 $(MERGE) $(KERNEL_DW3)>kernel | |
82 $(OS9GEN) $@ -b=os9boot -t=kernel | |
83 $(RM) os9boot kernel | |
84 $(MAKDIR) $@,CMDS | |
85 $(CP) $(CMDS) $@,CMDS | |
86 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
87 $(MERGE) $(BOOTCMDS)>shell | |
88 $(CP) shell $@,CMDS | |
89 $(RM) shell | |
90 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | |
91 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
92 $(CPL) $(TEXTFILES) $@,. | |
93 tocgen $@,tOC.txt $@,tOC | |
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 | 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 | 100 $(RM) $(DSKS) |
101 | |
102 info: | |
103 @$(ECHO) "*** Christmas 1986 ***" | |
104 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |