annotate 3rdparty/packages/sierra/kingsquest3/makefile @ 1817:31de87f6580a

Added deskmate3 to makefile target
author boisy
date Thu, 21 Apr 2005 17:38:52 +0000
parents 1b23a41c674d
children af946652495d
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
816
boisy
parents:
diff changeset
2
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1318
diff changeset
3 DEPENDS = ./makefile
816
boisy
parents:
diff changeset
4
boisy
parents:
diff changeset
5 DISK_1 = kq3_d1.dsk
boisy
parents:
diff changeset
6 DISK_2 = kq3_d2.dsk
boisy
parents:
diff changeset
7 DISK_3 = kq3_d3.dsk
boisy
parents:
diff changeset
8 CMDS = sierra mnln scrn shdw tocgen
1371
1ed7c47503e8 More changes
boisy
parents: 1363
diff changeset
9 MD = $(6809L2)/modules
816
boisy
parents:
diff changeset
10
boisy
parents:
diff changeset
11 # We make our own bootfile and kernel track
1638
1b23a41c674d Updated makefiles
boisy
parents: 1371
diff changeset
12 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
1b23a41c674d Updated makefiles
boisy
parents: 1371
diff changeset
13 OS9BOOT = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
816
boisy
parents:
diff changeset
14 $(MD)/rbf.mn \
1638
1b23a41c674d Updated makefiles
boisy
parents: 1371
diff changeset
15 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
816
boisy
parents:
diff changeset
16 $(MD)/scf.mn $(MD)/cc3io.dr \
1311
e7cac8de00e9 Updated Makefiles to build bootfiles from new module filenames
boisy
parents: 1169
diff changeset
17 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
816
boisy
parents:
diff changeset
18 $(MD)/vdgint_small.io $(MD)/term_vdg.dt \
boisy
parents:
diff changeset
19 $(MD)/vrn.dr $(MD)/vi.dd \
1318
a543ba9d856b Makefiles now reference sysgo instead of cc3go
boisy
parents: 1311
diff changeset
20 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
816
boisy
parents:
diff changeset
21
1371
1ed7c47503e8 More changes
boisy
parents: 1363
diff changeset
22 BOOTCMDS = $(6809L2)/cmds/shell_21 $(6809L2)/cmds/date \
1ed7c47503e8 More changes
boisy
parents: 1363
diff changeset
23 $(6809L2)/cmds/echo $(6809L2)/cmds/link \
1ed7c47503e8 More changes
boisy
parents: 1363
diff changeset
24 $(6809L2)/cmds/setime
818
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
25
897
16d7698f8929 os9copy does eol translation now
boisy
parents: 876
diff changeset
26 TEXTFILES_D1 = Startup tOC.txt
16d7698f8929 os9copy does eol translation now
boisy
parents: 876
diff changeset
27
16d7698f8929 os9copy does eol translation now
boisy
parents: 876
diff changeset
28 SUPPORTFILES_D1 = logDir object picDir sndDir tOC viewDir vol.0 \
16d7698f8929 os9copy does eol translation now
boisy
parents: 876
diff changeset
29 vol.1 vol.2 vol.3 vol.4 vol.12 vol.14 words.tok
816
boisy
parents:
diff changeset
30
boisy
parents:
diff changeset
31 SUPPORTFILES_D2 = logDir object picDir sndDir tOC viewDir vol.0 \
boisy
parents:
diff changeset
32 vol.5 vol.6 vol.7 vol.8 vol.11 vol.12 vol.14 words.tok
boisy
parents:
diff changeset
33
boisy
parents:
diff changeset
34 SUPPORTFILES_D3 = logDir object picDir sndDir tOC viewDir vol.0 \
boisy
parents:
diff changeset
35 vol.5 vol.6 vol.7 vol.9 vol.11 vol.12 vol.14 words.tok
boisy
parents:
diff changeset
36
boisy
parents:
diff changeset
37 ALLOBJS = $(CMDS)
818
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
38 TEXTFILES = tOC.txt Startup
816
boisy
parents:
diff changeset
39
boisy
parents:
diff changeset
40 all: $(ALLOBJS)
boisy
parents:
diff changeset
41
boisy
parents:
diff changeset
42 clean: dskclean
boisy
parents:
diff changeset
43 $(RM) $(ALLOBJS)
boisy
parents:
diff changeset
44
boisy
parents:
diff changeset
45 dsk: all
boisy
parents:
diff changeset
46 $(RM) $(DISK_1) $(DISK_2) $(DISK_3)
1371
1ed7c47503e8 More changes
boisy
parents: 1363
diff changeset
47 $(CD) $(6809L2); make
1817
31de87f6580a Added deskmate3 to makefile target
boisy
parents: 1638
diff changeset
48 $(OS9FORMAT_DS40) -q $(DISK_1) -n"King's Quest III Disk 1"
816
boisy
parents:
diff changeset
49 $(MERGE) $(OS9BOOT)>os9boot
boisy
parents:
diff changeset
50 $(MERGE) $(KERNEL)>kernel_1773
1036
f174634f2306 added new options for os9gen
boisy
parents: 979
diff changeset
51 $(OS9GEN) $(DISK_1) -b=os9boot -t=kernel_1773
816
boisy
parents:
diff changeset
52 $(RM) os9boot kernel_1773
boisy
parents:
diff changeset
53 $(MAKDIR) $(DISK_1),CMDS
boisy
parents:
diff changeset
54 $(CP) $(CMDS) $(DISK_1),CMDS
1169
2ebdea356297 Added OS9ATTR
boisy
parents: 1129
diff changeset
55 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1),CMDS/$(file);)
818
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
56 $(MERGE) $(BOOTCMDS)>shell
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
57 $(CP) shell $(DISK_1),CMDS
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
58 $(RM) shell
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
59 $(OS9ATTR) $(DISK_1),CMDS/shell -e -pe -pr -e -w -r
816
boisy
parents:
diff changeset
60 $(OS9RENAME) $(DISK_1),CMDS/sierra AutoEx
897
16d7698f8929 os9copy does eol translation now
boisy
parents: 876
diff changeset
61 $(CPL) $(TEXTFILES_D1) $(DISK_1),.
816
boisy
parents:
diff changeset
62 $(CP) $(SUPPORTFILES_D1) $(DISK_1),.
1817
31de87f6580a Added deskmate3 to makefile target
boisy
parents: 1638
diff changeset
63 $(OS9FORMAT_DS40) -q $(DISK_2) -n"King's Quest III Disk 2"
816
boisy
parents:
diff changeset
64 $(CP) $(SUPPORTFILES_D2) $(DISK_2),.
1817
31de87f6580a Added deskmate3 to makefile target
boisy
parents: 1638
diff changeset
65 $(OS9FORMAT_DS40) -q $(DISK_3) -n"King's Quest III Disk 3"
816
boisy
parents:
diff changeset
66 $(CP) $(SUPPORTFILES_D3) $(DISK_3),.
boisy
parents:
diff changeset
67
1121
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
68 dskcopy: dsk
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
69 $(CP) $(DISK_1) $(DISK_2) $(DISK_3) $(DSKDIR)
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
70
816
boisy
parents:
diff changeset
71 dskclean:
876
c6f3d53b987e Added additional disks to dskclean target
boisy
parents: 818
diff changeset
72 $(RM) $(DISK_1) $(DISK_2) $(DISK_3)