annotate level1/coco/makefile @ 2740:48afe2b5de06

Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
author drencor-xeen
date Sat, 05 Jan 2013 22:56:05 -0600
parents 4815688cd50f
children e4a0f58a5f9b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2039
fd6a34af179a more changes
boisy
parents: 2034
diff changeset
1 PORT = coco
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
2 include $(NITROS9DIR)/rules.mak
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
3
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
4 CPU = 6809
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
5 LEVEL = 1
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
6
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
7 # Level 1 - Specify which shell should be used
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
8 #WHICHSHELL = shellplus
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
9 WHICHSHELL = shell_21
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
10
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
11 DISTRO = $(CPU)L$(LEVEL)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
12 DISTRONAME = nos9$(CPU)l$(LEVEL)
2039
fd6a34af179a more changes
boisy
parents: 2034
diff changeset
13 DISTROVER = $(DISTRONAME)$(NITROS9VER)$(PORT)
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
14 BOOTFILE_COVDG = bootfiles/bootfile_covdg
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
15 BOOTFILE_COHR = bootfiles/bootfile_cohr
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
16 BOOTFILE_COVDG_DS80 = bootfiles/bootfile_covdg_ds80
2483
a98d02878bdd more makefile fixes for drivewire
boisy
parents: 2475
diff changeset
17 BOOTFILE_HEADLESS_DW3_COCO1 = bootfiles/bootfile_headless_dw3_coco1
a98d02878bdd more makefile fixes for drivewire
boisy
parents: 2475
diff changeset
18 BOOTFILE_HEADLESS_DW3_COCO2 = bootfiles/bootfile_headless_dw3_coco2
2183
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
19 BOOTFILE_COVDG_DW3_COCO1 = bootfiles/bootfile_covdg_dw3_coco1
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
20 BOOTFILE_COVDG_DW3_COCO2 = bootfiles/bootfile_covdg_dw3_coco2
2740
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
21 BOOTFILE_COVDG_BECKER_COCO = bootfiles/bootfile_covdg_becker_coco
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
22 BOOTFILE_COHR_DS80 = bootfiles/bootfile_cohr_ds80
2183
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
23 BOOTFILE_COHR_DW3_COCO1 = bootfiles/bootfile_cohr_dw3_coco1
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
24 BOOTFILE_COHR_DW3_COCO2 = bootfiles/bootfile_cohr_dw3_coco2
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
25 KERNELFILE = bootfiles/kernel_1773
2183
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
26 KERNELFILE_DW3_COCO1 = bootfiles/kernel_dw3_coco1
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
27 KERNELFILE_DW3_COCO2 = bootfiles/kernel_dw3_coco2
2740
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
28 KERNELFILE_BECKER_COCO = bootfiles/kernel_becker_coco
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
29 DIRS = cmds modules defs sys bootfiles
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
30
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
31
2346
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2294
diff changeset
32 CMDS = $(shell $(CD) cmds; make --no-print-directory showobjs)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2294
diff changeset
33 CMDS_D2 = $(shell $(CD) cmds; make --no-print-directory showobjs_d2)
2483
a98d02878bdd more makefile fixes for drivewire
boisy
parents: 2475
diff changeset
34 CMDS_DW = $(shell $(CD) cmds; make --no-print-directory showobjs_dw)
2346
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2294
diff changeset
35 BOOTTRACK = $(shell $(CD) modules; make --no-print-directory showboottrack)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2294
diff changeset
36 KERNEL = $(shell $(CD) modules; make --no-print-directory showkernel)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2294
diff changeset
37 SYSMODS = $(shell $(CD) modules; make --no-print-directory showsysmods)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2294
diff changeset
38 CLOCKS = $(shell $(CD) modules; make --no-print-directory showclocks)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2294
diff changeset
39 RBF = $(shell $(CD) modules; make --no-print-directory showrbf)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2294
diff changeset
40 SCF = $(shell $(CD) modules; make --no-print-directory showscf)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2294
diff changeset
41 PIPE = $(shell $(CD) modules; make --no-print-directory showpipe)
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
42 MODULECMDS = $(WHICHSHELL) del echo format makdir merge os9gen prompt tmode
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
43
2346
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2294
diff changeset
44 SYS = $(shell $(CD) sys; make --no-print-directory showobjs)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2294
diff changeset
45 DEFS = $(shell $(CD) defs; make --no-print-directory showobjs)
2513
70dfe007013e Now DW has its own startup
boisy
parents: 2483
diff changeset
46 STARTUP = startup
70dfe007013e Now DW has its own startup
boisy
parents: 2483
diff changeset
47 STARTUP_DW = startup.dw
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
48
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
49 PACKAGENAME = $(DISTROVER).zip
2183
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
50 DSKDW3COCO1 = $(DISTROVER)1_dw3.dsk
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
51 LDSKDW3COCO1 = $(DISTRONAME)coco1_dw3.dsk
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
52 DSKDW3COCO2 = $(DISTROVER)2_dw3.dsk
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
53 LDSKDW3COCO2 = $(DISTRONAME)coco2_dw3.dsk
2740
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
54 DSKDW3COCOBECK = $(DISTROVER)_becker.dsk
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
55 LDSKDW3COCOBECK = $(DISTRONAME)coco_becker.dsk
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
56 DSK360K_1 = $(DISTROVER)_40d_1.dsk
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
57 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
58 DSK360K_2 = $(DISTROVER)_40d_2.dsk
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
59 LDSK360K_2 = $(DISTRONAME)_40d_2.dsk
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
60 DSK720K = $(DISTROVER)_80d.dsk
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
61 LDSK720K = $(DISTRONAME)_80d.dsk
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
62
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
63
2740
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
64 DSKS = $(DSKDW3COCO1) $(DSKDW3COCO2) $(DSKDW3COCOBECK) $(DSK360K_1) $(DSK360K_2) $(DSK720K)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
65 LDSKS = $(LDSKDW3COCO1) $(LDSKDW3COCO2) $(LDSKDW3COCOBECK) $(LDSK360K_1) $(LDSK360K_2) $(LDSK720K)
2216
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
66
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
67 # Make all components
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
68 all:
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
69 @$(ECHO) "**************************************************"
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
70 @$(ECHO) "* *"
2475
c249cc490a83 Moved dw commands into main tree
boisy
parents: 2346
diff changeset
71 @$(ECHO) "* NitrOS-9/$(CPU) Level 1 CoCo Port *"
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
72 @$(ECHO) "* *"
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
73 @$(ECHO) "**************************************************"
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
74 $(foreach dir, $(DIRS), ($(CD) $(dir); make);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
75
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
76 # Clean all components
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
77 clean: dskclean
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
78 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
79
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
80 dskclean:
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
81 -$(RM) $(PACKAGENAME) $(DSKS) $(LDSKS)
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
82
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
83 dsk: all $(PACKAGENAME)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
84
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
85 dskcopy: dsk
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
86 $(CP) $(DSKS) $(DSKDIR)
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
87
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
88 scp: dsk
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
89 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
90
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
91 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
92 $(ARCHIVE) $@ $^
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
93
2740
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
94 $(DSKDW3COCOBECK):
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
95 $(RM) $@
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
96 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 1"
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
97 $(OS9GEN) $@ -b=$(BOOTFILE_COVDG_BECKER_COCO) -t=$(KERNELFILE_BECKER_COCO)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
98 $(MAKDIR) $@,CMDS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
99 $(MAKDIR) $@,SYS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
100 $(MAKDIR) $@,DEFS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
101 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
102 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
103 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
104 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
105 $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
106 $(CD) sys; $(CPL) $(SYS) ../$@,SYS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
107 $(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
108 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
109 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
110 $(CPL) $(STARTUP_DW) $@,startup
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
111 $(OS9ATTR_TEXT) $@,startup
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
112 $(MAKDIR) $@,NITROS9
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
113 $(MAKDIR) $@,NITROS9/6809L1
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
114 $(MAKDIR) $@,NITROS9/6809L1/CMDS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
115 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
116 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
117 $(OS9RENAME) $@,NITROS9/6809L1/CMDS/$(WHICHSHELL) shell
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
118 $(MAKDIR) $@,NITROS9/6809L1/MODULES
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
119 $(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
120 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
121 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
122 $(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
123 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
124 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
125 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
126 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
127 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
128 $(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
129 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
130 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
131 $(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
132 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
133 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
134 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
135 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
136 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
137 $(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
138 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
139 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
140 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
141 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
142 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
143 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
144 $(RM) $(LDSKDW3COCOBECK)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
145 $(SOFTLINK) $@ $(LDSKDW3COCOBECK)
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
146
48afe2b5de06 Added needed information in level1/coco make files to create a NOS9 L1 boot disk.
drencor-xeen
parents: 2601
diff changeset
147
2183
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
148 $(DSKDW3COCO1):
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
149 $(RM) $@
2475
c249cc490a83 Moved dw commands into main tree
boisy
parents: 2346
diff changeset
150 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 1"
2183
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
151 $(OS9GEN) $@ -b=$(BOOTFILE_COVDG_DW3_COCO1) -t=$(KERNELFILE_DW3_COCO1)
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
152 $(MAKDIR) $@,CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
153 $(MAKDIR) $@,SYS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
154 $(MAKDIR) $@,DEFS
2483
a98d02878bdd more makefile fixes for drivewire
boisy
parents: 2475
diff changeset
155 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS
a98d02878bdd more makefile fixes for drivewire
boisy
parents: 2475
diff changeset
156 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
157 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
158 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
159 $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
160 $(CD) sys; $(CPL) $(SYS) ../$@,SYS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
161 $(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
162 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
163 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2513
70dfe007013e Now DW has its own startup
boisy
parents: 2483
diff changeset
164 $(CPL) $(STARTUP_DW) $@,startup
70dfe007013e Now DW has its own startup
boisy
parents: 2483
diff changeset
165 $(OS9ATTR_TEXT) $@,startup
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
166 $(MAKDIR) $@,NITROS9
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
167 $(MAKDIR) $@,NITROS9/6809L1
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
168 $(MAKDIR) $@,NITROS9/6809L1/CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
169 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
170 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
171 $(OS9RENAME) $@,NITROS9/6809L1/CMDS/$(WHICHSHELL) shell
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
172 $(MAKDIR) $@,NITROS9/6809L1/MODULES
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
173 $(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
174 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
175 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
176 $(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
177 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
178 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
179 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
180 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
181 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
182 $(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
183 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
184 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
185 $(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
186 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
187 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
188 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
189 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
190 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
191 $(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
192 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
193 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
194 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
195 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
196 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
197 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS
2183
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
198 $(RM) $(LDSKDW3COCO1)
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
199 $(SOFTLINK) $@ $(LDSKDW3COCO1)
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
200
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
201 $(DSKDW3COCO2):
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
202 $(RM) $@
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
203 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/6809 Level 1"
2601
4815688cd50f Fixed makefile
boisy
parents: 2513
diff changeset
204 $(OS9GEN) $@ -b=$(BOOTFILE_COVDG_DW3_COCO2) -t=$(KERNELFILE_DW3_COCO2)
2183
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
205 $(MAKDIR) $@,CMDS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
206 $(MAKDIR) $@,SYS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
207 $(MAKDIR) $@,DEFS
2483
a98d02878bdd more makefile fixes for drivewire
boisy
parents: 2475
diff changeset
208 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS
a98d02878bdd more makefile fixes for drivewire
boisy
parents: 2475
diff changeset
209 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2183
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
210 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
211 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
212 $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
213 $(CD) sys; $(CPL) $(SYS) ../$@,SYS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
214 $(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);)
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
215 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
216 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2513
70dfe007013e Now DW has its own startup
boisy
parents: 2483
diff changeset
217 $(CPL) $(STARTUP_DW) $@,startup
70dfe007013e Now DW has its own startup
boisy
parents: 2483
diff changeset
218 $(OS9ATTR_TEXT) $@,startup
2183
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
219 $(MAKDIR) $@,NITROS9
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
220 $(MAKDIR) $@,NITROS9/6809L1
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
221 $(MAKDIR) $@,NITROS9/6809L1/CMDS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
222 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
223 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);)
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
224 $(OS9RENAME) $@,NITROS9/6809L1/CMDS/$(WHICHSHELL) shell
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
225 $(MAKDIR) $@,NITROS9/6809L1/MODULES
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
226 $(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
227 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
228 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);)
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
229 $(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
230 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
231 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);)
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
232 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
233 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
234 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);)
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
235 $(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
236 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
237 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);)
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
238 $(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
239 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
240 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);)
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
241 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
242 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
243 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);)
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
244 $(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
245 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
246 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);)
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
247 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
248 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
249 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
250 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
251 $(RM) $(LDSKDW3COCO2)
d29be35a48bb makefiles updated, opcode for printing updated
boisy
parents: 2180
diff changeset
252 $(SOFTLINK) $@ $(LDSKDW3COCO2)
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2155
diff changeset
253
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
254 $(DSK360K_1):
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
255 $(RM) $@
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
256 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/6809 Level 1 Disk 1"
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
257 $(OS9GEN) $@ -b=$(BOOTFILE_COVDG) -t=$(KERNELFILE)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
258 $(MAKDIR) $@,CMDS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
259 $(MAKDIR) $@,SYS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
260 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
261 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
262 $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
263 $(CD) sys; $(CPL) $(SYS) ../$@,SYS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
264 $(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
265 $(MAKDIR) $@,DEFS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
266 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
267 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2513
70dfe007013e Now DW has its own startup
boisy
parents: 2483
diff changeset
268 $(CPL) $(STARTUP) $@,startup
70dfe007013e Now DW has its own startup
boisy
parents: 2483
diff changeset
269 $(OS9ATTR_TEXT) $@,startup
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
270 $(RM) $(LDSK360K_1)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
271 $(SOFTLINK) $@ $(LDSK360K_1)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
272
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
273 $(DSK360K_2):
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
274 $(RM) $@
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
275 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/6809 Level 1 Disk 2"
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2041
diff changeset
276 $(MAKDIR) $@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2041
diff changeset
277 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2041
diff changeset
278 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
279 $(MAKDIR) $@,NITROS9
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
280 $(MAKDIR) $@,NITROS9/6809L1
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
281 $(MAKDIR) $@,NITROS9/6809L1/CMDS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
282 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
283 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
284 $(OS9RENAME) $@,NITROS9/6809L1/CMDS//$(WHICHSHELL) shell
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
285 $(MAKDIR) $@,NITROS9/6809L1/MODULES
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
286 $(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
287 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
288 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
289 $(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
290 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
291 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
292 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
293 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
294 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
295 $(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
296 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
297 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
298 $(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
299 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
300 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
301 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
302 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
303 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
304 $(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
305 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
306 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
307 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
308 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
309 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
310 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
311 $(RM) $(LDSK360K_2)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
312 $(SOFTLINK) $@ $(LDSK360K_2)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
313
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
314 $(DSK720K):
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
315 $(RM) $@
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
316 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/6809 Level 1"
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
317 $(OS9GEN) $@ -b=$(BOOTFILE_COVDG_DS80) -t=$(KERNELFILE)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
318 $(MAKDIR) $@,CMDS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
319 $(MAKDIR) $@,SYS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
320 $(MAKDIR) $@,DEFS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
321 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
322 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2041
diff changeset
323 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2041
diff changeset
324 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
325 $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
326 $(CD) sys; $(CPL) $(SYS) ../$@,SYS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
327 $(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
328 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
329 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2513
70dfe007013e Now DW has its own startup
boisy
parents: 2483
diff changeset
330 $(CPL) $(STARTUP) $@,startup
70dfe007013e Now DW has its own startup
boisy
parents: 2483
diff changeset
331 $(OS9ATTR_TEXT) $@,startup
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
332 $(MAKDIR) $@,NITROS9
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
333 $(MAKDIR) $@,NITROS9/6809L1
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
334 $(MAKDIR) $@,NITROS9/6809L1/CMDS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
335 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
336 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
337 $(OS9RENAME) $@,NITROS9/6809L1/CMDS/$(WHICHSHELL) shell
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
338 $(MAKDIR) $@,NITROS9/6809L1/MODULES
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
339 $(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
340 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
341 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
342 $(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
343 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
344 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
345 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
346 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
347 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
348 $(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
349 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
350 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
351 $(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
352 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
353 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
354 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
355 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
356 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
357 $(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
358 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
359 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
360 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
361 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
362 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
363 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
364 $(RM) $(LDSK720K)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
365 $(SOFTLINK) $@ $(LDSK720K)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
366
2216
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
367 info:
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
368 @echo "*** NitrOS-9/6809 Level 1 for the Tandy Color Computer ***"
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
369 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)
2216
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
370