Mercurial > hg > Members > kono > nitros9-code
comparison 3rdparty/packages/sierra/spacequest0/makefile @ 2869:cfa6222348f7
makefiles: Separate OS9COPY and CP macros
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 24 Nov 2013 11:18:28 +0100 |
parents | cfa46960b6bd |
children | 46c80d4b0de1 |
comparison
equal
deleted
inserted
replaced
2868:cfa46960b6bd | 2869:cfa6222348f7 |
---|---|
103 $(MERGE) $(OS9BOOT_40D)>os9boot | 103 $(MERGE) $(OS9BOOT_40D)>os9boot |
104 $(MERGE) $(KERNEL)>kernel | 104 $(MERGE) $(KERNEL)>kernel |
105 $(OS9GEN) $@ -b=os9boot -t=kernel | 105 $(OS9GEN) $@ -b=os9boot -t=kernel |
106 $(RM) os9boot kernel | 106 $(RM) os9boot kernel |
107 $(MAKDIR) $@,CMDS | 107 $(MAKDIR) $@,CMDS |
108 $(CP) $(CMDS) $@,CMDS | 108 $(OS9COPY) $(CMDS) $@,CMDS |
109 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | 109 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
110 $(MERGE) $(BOOTCMDS)>shell | 110 $(MERGE) $(BOOTCMDS)>shell |
111 $(CP) shell $@,CMDS | 111 $(OS9COPY) shell $@,CMDS |
112 $(RM) shell | 112 $(RM) shell |
113 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | 113 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
114 $(OS9RENAME) $@,CMDS/sierra AutoEx | 114 $(OS9RENAME) $@,CMDS/sierra AutoEx |
115 $(CPL) $(TEXTFILES_D1) $@,. | 115 $(CPL) $(TEXTFILES_D1) $@,. |
116 $(OS9RENAME) $@,tOC_40d.txt tOC.txt | 116 $(OS9RENAME) $@,tOC_40d.txt tOC.txt |
117 $(MOVE) tocgen toctmp | 117 $(MOVE) tocgen toctmp |
118 tocgen $@,tOC.txt $@,tOC | 118 tocgen $@,tOC.txt $@,tOC |
119 $(MOVE) toctmp tocgen | 119 $(MOVE) toctmp tocgen |
120 $(CP) $(SUPPORTFILES_D1) $@,. | 120 $(OS9COPY) $(SUPPORTFILES_D1) $@,. |
121 | 121 |
122 $(DISK_2_40D): | 122 $(DISK_2_40D): |
123 $(RM) $@ | 123 $(RM) $@ |
124 $(OS9FORMAT_DS40) -q $@ -n$(DISK_2_40D_NAME) | 124 $(OS9FORMAT_DS40) -q $@ -n$(DISK_2_40D_NAME) |
125 $(CP) $(SUPPORTFILES_D2) $@,. | 125 $(OS9COPY) $(SUPPORTFILES_D2) $@,. |
126 | 126 |
127 $(DISK_3_40D): | 127 $(DISK_3_40D): |
128 $(RM) $@ | 128 $(RM) $@ |
129 $(OS9FORMAT_DS40) -q $@ -n$(DISK_3_40D_NAME) | 129 $(OS9FORMAT_DS40) -q $@ -n$(DISK_3_40D_NAME) |
130 $(CP) $(SUPPORTFILES_D3) $@,. | 130 $(OS9COPY) $(SUPPORTFILES_D3) $@,. |
131 | 131 |
132 $(DISK_1_80D): | 132 $(DISK_1_80D): |
133 $(RM) $@ | 133 $(RM) $@ |
134 $(CD) $(LEVEL2)/coco3; make | 134 $(CD) $(LEVEL2)/coco3; make |
135 $(OS9FORMAT_DS80) -q $@ -n$(DISK_1_80D_NAME) | 135 $(OS9FORMAT_DS80) -q $@ -n$(DISK_1_80D_NAME) |
136 $(MERGE) $(OS9BOOT_80D)>os9boot | 136 $(MERGE) $(OS9BOOT_80D)>os9boot |
137 $(MERGE) $(KERNEL)>kernel | 137 $(MERGE) $(KERNEL)>kernel |
138 $(OS9GEN) $@ -b=os9boot -t=kernel | 138 $(OS9GEN) $@ -b=os9boot -t=kernel |
139 $(RM) os9boot kernel | 139 $(RM) os9boot kernel |
140 $(MAKDIR) $@,CMDS | 140 $(MAKDIR) $@,CMDS |
141 $(CP) $(CMDS) $@,CMDS | 141 $(OS9COPY) $(CMDS) $@,CMDS |
142 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | 142 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
143 $(MERGE) $(BOOTCMDS)>shell | 143 $(MERGE) $(BOOTCMDS)>shell |
144 $(CP) shell $@,CMDS | 144 $(OS9COPY) shell $@,CMDS |
145 $(RM) shell | 145 $(RM) shell |
146 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | 146 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
147 $(OS9RENAME) $@,CMDS/sierra AutoEx | 147 $(OS9RENAME) $@,CMDS/sierra AutoEx |
148 $(CPL) $(TEXTFILES) $@,. | 148 $(CPL) $(TEXTFILES) $@,. |
149 $(OS9RENAME) $@,tOC_80d.txt tOC.txt | 149 $(OS9RENAME) $@,tOC_80d.txt tOC.txt |
150 $(MOVE) tocgen toctmp | 150 $(MOVE) tocgen toctmp |
151 tocgen $@,tOC.txt $@,tOC | 151 tocgen $@,tOC.txt $@,tOC |
152 $(MOVE) toctmp tocgen | 152 $(MOVE) toctmp tocgen |
153 $(CP) $(SUPPORTFILES) $@,. | 153 $(OS9COPY) $(SUPPORTFILES) $@,. |
154 | 154 |
155 $(DISK_2_80D): | 155 $(DISK_2_80D): |
156 $(RM) $@ | 156 $(RM) $@ |
157 $(OS9FORMAT_DS80) -q $@ -n$(DISK_2_80D_NAME) | 157 $(OS9FORMAT_DS80) -q $@ -n$(DISK_2_80D_NAME) |
158 $(CP) $(SUPPORTFILES_D3) $@,. | 158 $(OS9COPY) $(SUPPORTFILES_D3) $@,. |
159 | 159 |
160 $(DISK_DW): | 160 $(DISK_DW): |
161 $(RM) $@ | 161 $(RM) $@ |
162 $(CD) $(LEVEL2)/coco3; make | 162 $(CD) $(LEVEL2)/coco3; make |
163 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME) | 163 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME) |
164 $(MERGE) $(OS9BOOT_DW)>os9boot | 164 $(MERGE) $(OS9BOOT_DW)>os9boot |
165 $(MERGE) $(KERNEL_DW)>kernel | 165 $(MERGE) $(KERNEL_DW)>kernel |
166 $(OS9GEN) $@ -b=os9boot -t=kernel | 166 $(OS9GEN) $@ -b=os9boot -t=kernel |
167 $(RM) os9boot kernel | 167 $(RM) os9boot kernel |
168 $(MAKDIR) $@,CMDS | 168 $(MAKDIR) $@,CMDS |
169 $(CP) $(CMDS) $@,CMDS | 169 $(OS9COPY) $(CMDS) $@,CMDS |
170 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | 170 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
171 $(MERGE) $(BOOTCMDS)>shell | 171 $(MERGE) $(BOOTCMDS)>shell |
172 $(CP) shell $@,CMDS | 172 $(OS9COPY) shell $@,CMDS |
173 $(RM) shell | 173 $(RM) shell |
174 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | 174 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
175 $(OS9RENAME) $@,CMDS/sierra AutoEx | 175 $(OS9RENAME) $@,CMDS/sierra AutoEx |
176 $(CPL) $(TEXTFILES_DW) $@,. | 176 $(CPL) $(TEXTFILES_DW) $@,. |
177 $(OS9RENAME) $@,tOC_dw.txt tOC.txt | 177 $(OS9RENAME) $@,tOC_dw.txt tOC.txt |
178 $(MOVE) tocgen toctmp | 178 $(MOVE) tocgen toctmp |
179 tocgen $@,tOC.txt $@,tOC | 179 tocgen $@,tOC.txt $@,tOC |
180 $(MOVE) toctmp tocgen | 180 $(MOVE) toctmp tocgen |
181 $(CP) $(SUPPORTFILES) $@,. | 181 $(OS9COPY) $(SUPPORTFILES) $@,. |
182 | 182 |
183 $(DISK_DW_BECKER): | 183 $(DISK_DW_BECKER): |
184 $(RM) $@ | 184 $(RM) $@ |
185 $(CD) $(LEVEL2)/coco3; make | 185 $(CD) $(LEVEL2)/coco3; make |
186 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME) | 186 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME) |
187 $(MERGE) $(OS9BOOT_DW_BECKER)>os9boot | 187 $(MERGE) $(OS9BOOT_DW_BECKER)>os9boot |
188 $(MERGE) $(KERNEL_DW_BECKER)>kernel | 188 $(MERGE) $(KERNEL_DW_BECKER)>kernel |
189 $(OS9GEN) $@ -b=os9boot -t=kernel | 189 $(OS9GEN) $@ -b=os9boot -t=kernel |
190 $(RM) os9boot kernel | 190 $(RM) os9boot kernel |
191 $(MAKDIR) $@,CMDS | 191 $(MAKDIR) $@,CMDS |
192 $(CP) $(CMDS) $@,CMDS | 192 $(OS9COPY) $(CMDS) $@,CMDS |
193 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | 193 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
194 $(MERGE) $(BOOTCMDS)>shell | 194 $(MERGE) $(BOOTCMDS)>shell |
195 $(CP) shell $@,CMDS | 195 $(OS9COPY) shell $@,CMDS |
196 $(RM) shell | 196 $(RM) shell |
197 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | 197 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
198 $(OS9RENAME) $@,CMDS/sierra AutoEx | 198 $(OS9RENAME) $@,CMDS/sierra AutoEx |
199 $(CPL) $(TEXTFILES_DW) $@,. | 199 $(CPL) $(TEXTFILES_DW) $@,. |
200 $(OS9RENAME) $@,tOC_dw.txt tOC.txt | 200 $(OS9RENAME) $@,tOC_dw.txt tOC.txt |
201 $(MOVE) tocgen toctmp | 201 $(MOVE) tocgen toctmp |
202 tocgen $@,tOC.txt $@,tOC | 202 tocgen $@,tOC.txt $@,tOC |
203 $(MOVE) toctmp tocgen | 203 $(MOVE) toctmp tocgen |
204 $(CP) $(SUPPORTFILES) $@,. | 204 $(OS9COPY) $(SUPPORTFILES) $@,. |
205 | 205 |
206 dsk: all $(DSKS) | 206 dsk: all $(DSKS) |
207 | 207 |
208 dskcopy: dsk | 208 dskcopy: dsk |
209 $(CP) $(DSKS) $(DSKDIR) | 209 $(CP) $(DSKS) $(DSKDIR) |