comparison 3rdparty/packages/multivue/makefile @ 2848:94197db917c9 lwtools-port

Makefiles: Call OS9ATTR with multiple files (part 1) Instead of spawning a os9 process for each file, call it once with the whole bunch of files. This can speed up the build process significantly when applied globally. For now, do the special cases having "notdir".
author Tormod Volden <debian.tormod@gmail.com>
date Fri, 12 Jul 2013 00:01:00 +0200
parents c1892376e7a7
children 84d9d5765057
comparison
equal deleted inserted replaced
2847:d9cf60ca6dc3 2848:94197db917c9
129 $(MAKDIR) $@,CMDS 129 $(MAKDIR) $@,CMDS
130 $(MAKDIR) $@,CMDS/ICONS 130 $(MAKDIR) $@,CMDS/ICONS
131 $(MAKDIR) $@,SYS 131 $(MAKDIR) $@,SYS
132 $(MAKDIR) $@,DEMO 132 $(MAKDIR) $@,DEMO
133 $(CD) cmds_6809; $(CP) $(CMDS68) ../$@,CMDS 133 $(CD) cmds_6809; $(CP) $(CMDS68) ../$@,CMDS
134 $(foreach file, $(CMDS68), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) 134 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68)),$@,CMDS/$(file))
135 $(OS9RENAME) $@,CMDS/gshell AutoEx 135 $(OS9RENAME) $@,CMDS/gshell AutoEx
136 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS 136 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS
137 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) 137 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);)
138 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS 138 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
139 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) 139 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
154 $(MAKDIR) $@,CMDS 154 $(MAKDIR) $@,CMDS
155 $(MAKDIR) $@,CMDS/ICONS 155 $(MAKDIR) $@,CMDS/ICONS
156 $(MAKDIR) $@,SYS 156 $(MAKDIR) $@,SYS
157 $(MAKDIR) $@,DEMO 157 $(MAKDIR) $@,DEMO
158 $(CD) cmds_6309; $(CP) $(CMDS63) ../$@,CMDS 158 $(CD) cmds_6309; $(CP) $(CMDS63) ../$@,CMDS
159 $(foreach file, $(CMDS63), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) 159 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63)),$@,CMDS/$(file))
160 $(OS9RENAME) $@,CMDS/gshell AutoEx 160 $(OS9RENAME) $@,CMDS/gshell AutoEx
161 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS 161 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS
162 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) 162 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);)
163 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS 163 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
164 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) 164 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
179 $(MAKDIR) $@,CMDS 179 $(MAKDIR) $@,CMDS
180 $(MAKDIR) $@,CMDS/ICONS 180 $(MAKDIR) $@,CMDS/ICONS
181 $(MAKDIR) $@,SYS 181 $(MAKDIR) $@,SYS
182 $(MAKDIR) $@,DEMO 182 $(MAKDIR) $@,DEMO
183 $(CD) cmds_6809; $(CP) $(CMDS68) ../$@,CMDS 183 $(CD) cmds_6809; $(CP) $(CMDS68) ../$@,CMDS
184 $(foreach file, $(CMDS68), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) 184 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68)),$@,CMDS/$(file))
185 $(OS9RENAME) $@,CMDS/gshell AutoEx 185 $(OS9RENAME) $@,CMDS/gshell AutoEx
186 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS 186 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS
187 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) 187 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);)
188 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS 188 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
189 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) 189 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
204 $(MAKDIR) $@,CMDS 204 $(MAKDIR) $@,CMDS
205 $(MAKDIR) $@,CMDS/ICONS 205 $(MAKDIR) $@,CMDS/ICONS
206 $(MAKDIR) $@,SYS 206 $(MAKDIR) $@,SYS
207 $(MAKDIR) $@,DEMO 207 $(MAKDIR) $@,DEMO
208 $(CD) cmds_6809; $(CP) $(CMDS68) ../$@,CMDS 208 $(CD) cmds_6809; $(CP) $(CMDS68) ../$@,CMDS
209 $(foreach file, $(CMDS68), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) 209 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68)),$@,CMDS/$(file))
210 $(OS9RENAME) $@,CMDS/gshell AutoEx 210 $(OS9RENAME) $@,CMDS/gshell AutoEx
211 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS 211 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS
212 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) 212 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);)
213 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS 213 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
214 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) 214 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
229 $(MAKDIR) $@,CMDS 229 $(MAKDIR) $@,CMDS
230 $(MAKDIR) $@,CMDS/ICONS 230 $(MAKDIR) $@,CMDS/ICONS
231 $(MAKDIR) $@,SYS 231 $(MAKDIR) $@,SYS
232 $(MAKDIR) $@,DEMO 232 $(MAKDIR) $@,DEMO
233 $(CD) cmds_6309; $(CP) $(CMDS63) ../$@,CMDS 233 $(CD) cmds_6309; $(CP) $(CMDS63) ../$@,CMDS
234 $(foreach file, $(CMDS63), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) 234 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63)),$@,CMDS/$(file))
235 $(OS9RENAME) $@,CMDS/gshell AutoEx 235 $(OS9RENAME) $@,CMDS/gshell AutoEx
236 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS 236 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS
237 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) 237 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);)
238 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS 238 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
239 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) 239 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
254 $(MAKDIR) $@,CMDS 254 $(MAKDIR) $@,CMDS
255 $(MAKDIR) $@,CMDS/ICONS 255 $(MAKDIR) $@,CMDS/ICONS
256 $(MAKDIR) $@,SYS 256 $(MAKDIR) $@,SYS
257 $(MAKDIR) $@,DEMO 257 $(MAKDIR) $@,DEMO
258 $(CD) cmds_6309; $(CP) $(CMDS63) ../$@,CMDS 258 $(CD) cmds_6309; $(CP) $(CMDS63) ../$@,CMDS
259 $(foreach file, $(CMDS63), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) 259 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63)),$@,CMDS/$(file))
260 $(OS9RENAME) $@,CMDS/gshell AutoEx 260 $(OS9RENAME) $@,CMDS/gshell AutoEx
261 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS 261 $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS
262 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) 262 $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);)
263 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS 263 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
264 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) 264 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)