comparison 3rdparty/packages/fsim2/makefile @ 2748:1ff9d261b398

Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
author drencor-xeen
date Wed, 09 Jan 2013 18:20:39 -0600
parents 918c7c68ea4d
children 0e69fb47e053
comparison
equal deleted inserted replaced
2747:7aa39bea428b 2748:1ff9d261b398
2 2
3 DEPENDS = ./makefile 3 DEPENDS = ./makefile
4 4
5 DSK_FLOPPY = fsim2.dsk 5 DSK_FLOPPY = fsim2.dsk
6 DSK_DW3 = fsim2_dw3.dsk 6 DSK_DW3 = fsim2_dw3.dsk
7 DSK_DW3_BECKER = fsim2_dw3_becker.dsk
8
7 CMDS = fs f2 f3 f4 9 CMDS = fs f2 f3 f4
8 MD = $(LEVEL2)/coco3/modules 10 MD = $(LEVEL2)/coco3/modules
9 11
10 DSKS = $(DSK_FLOPPY) $(DSK_DW3) 12 DSKS = $(DSK_FLOPPY) $(DSK_DW3) $(DSK_DW3_BECKER)
11 13
12 # We make our own bootfile and kernel track 14 # We make our own bootfile and kernel track
13 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn 15 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
14 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn 16 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn
17 KERNEL_DW3_BECKER = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn
15 18
16 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 19 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
17 $(MD)/rbf.mn \ 20 $(MD)/rbf.mn \
18 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ 21 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
19 $(MD)/scf.mn $(MD)/vtio.dr \ 22 $(MD)/scf.mn $(MD)/vtio.dr \
31 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ 34 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
32 $(MD)/vrn.dr $(MD)/ftdd.dd \ 35 $(MD)/vrn.dr $(MD)/ftdd.dd \
33 $(MD)/clock_60hz $(MD)/clock2_dw3 \ 36 $(MD)/clock_60hz $(MD)/clock2_dw3 \
34 $(MD)/sysgo_dd 37 $(MD)/sysgo_dd
35 38
39 BOOTFILE_DW3_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
40 $(MD)/rbf.mn \
41 $(MD)/rbdw3.dr $(MD)/dw3_becker.sb $(MD)/ddx0.dd \
42 $(MD)/scf.mn $(MD)/vtio.dr \
43 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
44 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
45 $(MD)/vrn.dr $(MD)/ftdd.dd \
46 $(MD)/clock_60hz $(MD)/clock2_dw3 \
47 $(MD)/sysgo_dd
48
36 SUPPORTFILES = fa fd fp sf.standard 49 SUPPORTFILES = fa fd fp sf.standard
37 50
38 ALLOBJS = $(CMDS) 51 ALLOBJS = $(CMDS)
39 52
40 all: $(ALLOBJS) 53 all: $(ALLOBJS)
41 54
42 clean: dskclean 55 clean: dskclean
43 $(RM) $(ALLOBJS) 56 $(RM) $(ALLOBJS)
44 57
45 dsk: $(DSKS) 58 dsk: all $(DSKS)
46 59
47 $(DSK_DW3): 60 $(DSK_DW3):
48 $(RM) $@ 61 $(RM) $@
49 $(CD) $(LEVEL2)/coco3; make 62 $(CD) $(LEVEL2)/coco3; make
50 $(OS9FORMAT_SS35) -q $@ -n"Flight Simulator 2" 63 $(OS9FORMAT_SS35) -q $@ -n"Flight Simulator 2"
51 $(MERGE) $(BOOTFILE_DW3)>os9boot 64 $(MERGE) $(BOOTFILE_DW3)>os9boot
52 $(MERGE) $(KERNEL_DW3)>kernel_1773 65 $(MERGE) $(KERNEL_DW3)>kernel
53 $(OS9GEN) $@ -b=os9boot -t=kernel_1773 66 $(OS9GEN) $@ -b=os9boot -t=kernel
54 $(RM) os9boot kernel_1773 67 $(RM) os9boot kernel
68 $(MAKDIR) $@,CMDS
69 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell
70 $(OS9ATTR_EXEC) $@,CMDS/shell
71 $(CP) $(CMDS) $@,CMDS
72 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
73 $(OS9RENAME) $@,CMDS/fs AutoEx
74 $(CP) $(SUPPORTFILES) $@,.
75 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);)
76
77 $(DSK_DW3_BECKER):
78 $(RM) $@
79 $(CD) $(LEVEL2)/coco3; make
80 $(OS9FORMAT_SS35) -q $@ -n"Flight Simulator 2"
81 $(MERGE) $(BOOTFILE_DW3_BECKER)>os9boot
82 $(MERGE) $(KERNEL_DW3_BECKER)>kernel
83 $(OS9GEN) $@ -b=os9boot -t=kernel
84 $(RM) os9boot kernel
55 $(MAKDIR) $@,CMDS 85 $(MAKDIR) $@,CMDS
56 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell 86 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell
57 $(OS9ATTR_EXEC) $@,CMDS/shell 87 $(OS9ATTR_EXEC) $@,CMDS/shell
58 $(CP) $(CMDS) $@,CMDS 88 $(CP) $(CMDS) $@,CMDS
59 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 89 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
64 $(DSK_FLOPPY): 94 $(DSK_FLOPPY):
65 $(RM) $@ 95 $(RM) $@
66 $(CD) $(LEVEL2)/coco3; make 96 $(CD) $(LEVEL2)/coco3; make
67 $(OS9FORMAT_SS35) -q $@ -n"Flight Simulator 2" 97 $(OS9FORMAT_SS35) -q $@ -n"Flight Simulator 2"
68 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot 98 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot
69 $(MERGE) $(KERNEL_FLOPPY)>kernel_1773 99 $(MERGE) $(KERNEL_FLOPPY)>kernel
70 $(OS9GEN) $@ -b=os9boot -t=kernel_1773 100 $(OS9GEN) $@ -b=os9boot -t=kernel
71 $(RM) os9boot kernel_1773 101 $(RM) os9boot kernel
72 $(MAKDIR) $@,CMDS 102 $(MAKDIR) $@,CMDS
73 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell 103 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell
74 $(OS9ATTR_EXEC) $@,CMDS/shell 104 $(OS9ATTR_EXEC) $@,CMDS/shell
75 $(CP) $(CMDS) $@,CMDS 105 $(CP) $(CMDS) $@,CMDS
76 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 106 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)