annotate level1/coco/makefile @ 2758:e4a0f58a5f9b

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