Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/sierra/christmas86/makefile @ 2494:98e7cb7b3dda
Prevents RS-232 bit at $FF20 from being toggled. RG
author | robertgault |
---|---|
date | Sun, 04 Apr 2010 02:17:24 +0000 |
parents | d096a278e068 |
children | 0fe5a04e9d0c |
rev | line source |
---|---|
2494
98e7cb7b3dda
Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents:
2216
diff
changeset
|
1 ifndef NITROS9DIR |
98e7cb7b3dda
Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents:
2216
diff
changeset
|
2 NITROS9DIR = $(HOME)/nitros9 |
98e7cb7b3dda
Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents:
2216
diff
changeset
|
3 endif |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
4 include $(NITROS9DIR)/rules.mak |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
5 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
6 vpath %.asm ../objs_lsl |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
7 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
8 DEPENDS = ./makefile |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
9 |
2208 | 10 DSK_FLOPPY = christmas86.dsk |
11 DSK_DW3 = christmas86_dw3.dsk | |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
12 |
2216 | 13 DSKS = $(DSK_FLOPPY) $(DSK_DW3) |
14 | |
2208 | 15 DSK_NAME = "Christmas 1986" |
2192
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 CMDS = sierra mnln scrn shdw tocgen |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
18 MD = $(LEVEL2)/coco3/modules |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
19 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
20 # We make our own bootfile and kernel track |
2208 | 21 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
22 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
|
23 |
2208 | 24 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
|
25 $(MD)/rbf.mn \ |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
26 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
27 $(MD)/scf.mn $(MD)/vtio.dr \ |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
28 $(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
|
29 $(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
|
30 $(MD)/vrn.dr $(MD)/vi.dd \ |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
31 $(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
|
32 |
2208 | 33 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
34 $(MD)/rbf.mn \ | |
35 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ | |
36 $(MD)/scf.mn $(MD)/vtio.dr \ | |
37 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
38 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
39 $(MD)/vrn.dr $(MD)/vi.dd \ | |
40 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd | |
41 | |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
42 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
|
43 $(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
|
44 $(LEVEL2)/coco3/cmds/setime |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
45 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
46 TEXTFILES = startup tOC.txt |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
47 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
48 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
|
49 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
50 ALLOBJS = $(CMDS) |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
51 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
52 all: $(ALLOBJS) |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
53 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
54 clean: dskclean |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
55 $(RM) $(ALLOBJS) |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
56 |
2216 | 57 dsk: $(DSKS) |
2208 | 58 |
59 $(DSK_FLOPPY): all | |
60 $(RM) $@ | |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
61 $(CD) $(LEVEL2)/coco3; make |
2208 | 62 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME) |
63 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot | |
64 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
65 $(OS9GEN) $@ -b=os9boot -t=kernel | |
66 $(RM) os9boot kernel | |
67 $(MAKDIR) $@,CMDS | |
68 $(CP) $(CMDS) $@,CMDS | |
69 $(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
|
70 $(MERGE) $(BOOTCMDS)>shell |
2208 | 71 $(CP) shell $@,CMDS |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
72 $(RM) shell |
2208 | 73 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
74 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
75 $(CPL) $(TEXTFILES) $@,. | |
2494
98e7cb7b3dda
Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents:
2216
diff
changeset
|
76 $(MOVE) tocgen toctmp |
2208 | 77 tocgen $@,tOC.txt $@,tOC |
2494
98e7cb7b3dda
Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents:
2216
diff
changeset
|
78 $(MOVE) toctmp tocgen |
2208 | 79 $(CP) $(SUPPORTFILES) $@,. |
80 | |
81 $(DSK_DW3): all | |
82 $(RM) $@ | |
83 $(CD) $(LEVEL2)/coco3; make | |
84 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME) | |
85 $(MERGE) $(BOOTFILE_DW3)>os9boot | |
86 $(MERGE) $(KERNEL_DW3)>kernel | |
87 $(OS9GEN) $@ -b=os9boot -t=kernel | |
88 $(RM) os9boot kernel | |
89 $(MAKDIR) $@,CMDS | |
90 $(CP) $(CMDS) $@,CMDS | |
91 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
92 $(MERGE) $(BOOTCMDS)>shell | |
93 $(CP) shell $@,CMDS | |
94 $(RM) shell | |
95 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | |
96 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
97 $(CPL) $(TEXTFILES) $@,. | |
2494
98e7cb7b3dda
Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents:
2216
diff
changeset
|
98 $(RM) tocgen |
2208 | 99 tocgen $@,tOC.txt $@,tOC |
100 $(CP) $(SUPPORTFILES) $@,. | |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
101 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
102 dskcopy: dsk |
2216 | 103 $(CP) $(DSKS) $(DSKDIR) |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
104 |
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff
changeset
|
105 dskclean: |
2216 | 106 $(RM) $(DSKS) |
107 | |
108 info: | |
109 @$(ECHO) "*** Christmas 1986 ***" | |
110 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |