changeset 2850:95923f065070 lwtools-port

arcadepak/makefile: Call "os9 copy" with multiple files Instead of calling "os9 copy" for every single file, copy all files with one call. Speeds up disk image build time.
author Tormod Volden <debian.tormod@gmail.com>
date Fri, 12 Jul 2013 22:26:05 +0200
parents 84d9d5765057
children 7e3422f5e25d
files 3rdparty/packages/arcadepak/makefile
diffstat 1 files changed, 40 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/packages/arcadepak/makefile	Fri Jul 12 01:01:17 2013 +0200
+++ b/3rdparty/packages/arcadepak/makefile	Fri Jul 12 22:26:05 2013 +0200
@@ -95,22 +95,22 @@
 	$(MAKDIR) $@,CMDS
 	$(CP) shell $@,CMDS
 	$(OS9ATTR_EXEC) $@,CMDS/shell
-	$(foreach file, $(CMDS), $(CP) $(6809L2)/cmds/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(CMDS),$(6809L2)/cmds/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
-	$(foreach file, $(SMASHCMDS), $(CP) smash/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(SMASHCMDS),smash/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(SMASHCMDS),$@,CMDS/$(file))
-	$(foreach file, $(THEXCMDS), $(CP) thexder/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(THEXCMDS),thexder/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(THEXCMDS),$@,CMDS/$(file))
-	$(foreach file, $(SHANGCMDS), $(CP) shanghai/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(SHANGCMDS),shanghai/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(SHANGCMDS),$@,CMDS/$(file))
 	$(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
 	$(MAKDIR) $@,SYS
-	$(foreach file, $(SMASHSYS), $(CP) smash/$(file) $@,SYS/$(file);)
-	$(foreach file, $(THEXSYS), $(CP) thexder/$(file) $@,SYS/$(file);)
-	$(foreach file, $(SHANGSYS), $(CP) shanghai/$(file) $@,SYS/$(file);)
-	$(foreach file, $(SMASHROOT), $(CP) smash/$(file) $@,$(file);)
-	$(foreach file, $(THEXROOT), $(CP) thexder/$(file) $@,$(file);)
-	$(foreach file, $(SHANGROOT), $(CP) shanghai/$(file) $@,$(file);)
+	$(CP) $(foreach file,$(SMASHSYS),smash/$(file)) $@,SYS
+	$(CP) $(foreach file,$(THEXSYS),thexder/$(file)) $@,SYS
+	$(CP) $(foreach file,$(SHANGSYS),shanghai/$(file)) $@,SYS
+	$(CP) $(foreach file,$(SMASHROOT),smash/$(file)) $@,
+	$(CP) $(foreach file,$(THEXROOT),thexder/$(file)) $@,
+	$(CP) $(foreach file,$(SHANGROOT),shanghai/$(file)) $@,
 	$(CPL) startup $@,
 
 $(DISK_80D): all
@@ -124,22 +124,22 @@
 	$(MAKDIR) $@,CMDS
 	$(CP) shell $@,CMDS/shell
 	$(OS9ATTR_EXEC) $@,CMDS/shell
-	$(foreach file, $(CMDS), $(CP) $(6809L2)/cmds/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(CMDS),$(6809L2)/cmds/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
-	$(foreach file, $(SMASHCMDS), $(CP) smash/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(SMASHCMDS),smash/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(SMASHCMDS),$@,CMDS/$(file))
-	$(foreach file, $(THEXCMDS), $(CP) thexder/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(THEXCMDS),thexder/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(THEXCMDS),$@,CMDS/$(file))
-	$(foreach file, $(SHANGCMDS), $(CP) shanghai/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(SHANGCMDS),shanghai/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(SHANGCMDS),$@,CMDS/$(file))
 	$(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
 	$(MAKDIR) $@,SYS
-	$(foreach file, $(SMASHSYS), $(CP) smash/$(file) $@,SYS/$(file);)
-	$(foreach file, $(THEXSYS), $(CP) thexder/$(file) $@,SYS/$(file);)
-	$(foreach file, $(SHANGSYS), $(CP) shanghai/$(file) $@,SYS/$(file);)
-	$(foreach file, $(SMASHROOT), $(CP) smash/$(file) $@,$(file);)
-	$(foreach file, $(THEXROOT), $(CP) thexder/$(file) $@,$(file);)
-	$(foreach file, $(SHANGROOT), $(CP) shanghai/$(file) $@,$(file);)
+	$(CP) $(foreach file,$(SMASHSYS),smash/$(file)) $@,SYS
+	$(CP) $(foreach file,$(THEXSYS),thexder/$(file)) $@,SYS
+	$(CP) $(foreach file,$(SHANGSYS),shanghai/$(file)) $@,SYS
+	$(CP) $(foreach file,$(SMASHROOT),smash/$(file)) $@,
+	$(CP) $(foreach file,$(THEXROOT),thexder/$(file)) $@,
+	$(CP) $(foreach file,$(SHANGROOT),shanghai/$(file)) $@,
 	$(CPL) startup $@,
 
 $(DISK_DW): all
@@ -153,22 +153,22 @@
 	$(MAKDIR) $@,CMDS
 	$(CP) shell $@,CMDS/shell
 	$(OS9ATTR_EXEC) $@,CMDS/shell
-	$(foreach file, $(CMDS), $(CP) $(6809L2)/cmds/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(CMDS),$(6809L2)/cmds/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
-	$(foreach file, $(SMASHCMDS), $(CP) smash/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(SMASHCMDS),smash/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(SMASHCMDS),$@,CMDS/$(file))
-	$(foreach file, $(THEXCMDS), $(CP) thexder/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(THEXCMDS),thexder/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(THEXCMDS),$@,CMDS/$(file))
-	$(foreach file, $(SHANGCMDS), $(CP) shanghai/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(SHANGCMDS),shanghai/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(SHANGCMDS),$@,CMDS/$(file))
 	$(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
 	$(MAKDIR) $@,SYS
-	$(foreach file, $(SMASHSYS), $(CP) smash/$(file) $@,SYS/$(file);)
-	$(foreach file, $(THEXSYS), $(CP) thexder/$(file) $@,SYS/$(file);)
-	$(foreach file, $(SHANGSYS), $(CP) shanghai/$(file) $@,SYS/$(file);)
-	$(foreach file, $(SMASHROOT), $(CP) smash/$(file) $@,$(file);)
-	$(foreach file, $(THEXROOT), $(CP) thexder/$(file) $@,$(file);)
-	$(foreach file, $(SHANGROOT), $(CP) shanghai/$(file) $@,$(file);)
+	$(CP) $(foreach file,$(SMASHSYS),smash/$(file)) $@,SYS
+	$(CP) $(foreach file,$(THEXSYS),thexder/$(file)) $@,SYS
+	$(CP) $(foreach file,$(SHANGSYS),shanghai/$(file)) $@,SYS
+	$(CP) $(foreach file,$(SMASHROOT),smash/$(file)) $@,
+	$(CP) $(foreach file,$(THEXROOT),thexder/$(file)) $@,
+	$(CP) $(foreach file,$(SHANGROOT),shanghai/$(file)) $@,
 	$(CPL) startup $@,
 
 $(DISK_BECKER): all
@@ -182,22 +182,22 @@
 	$(MAKDIR) $@,CMDS
 	$(CP) shell $@,CMDS/shell
 	$(OS9ATTR_EXEC) $@,CMDS/shell
-	$(foreach file, $(CMDS), $(CP) $(6809L2)/cmds/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(CMDS),$(6809L2)/cmds/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
-	$(foreach file, $(SMASHCMDS), $(CP) smash/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(SMASHCMDS),smash/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(SMASHCMDS),$@,CMDS/$(file))
-	$(foreach file, $(THEXCMDS), $(CP) thexder/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(THEXCMDS),thexder/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(THEXCMDS),$@,CMDS/$(file))
-	$(foreach file, $(SHANGCMDS), $(CP) shanghai/$(file) $@,CMDS/$(file);)
+	$(CP) $(foreach file,$(SHANGCMDS),shanghai/$(file)) $@,CMDS
 	$(OS9ATTR_EXEC) $(foreach file,$(SHANGCMDS),$@,CMDS/$(file))
 	$(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
 	$(MAKDIR) $@,SYS
-	$(foreach file, $(SMASHSYS), $(CP) smash/$(file) $@,SYS/$(file);)
-	$(foreach file, $(THEXSYS), $(CP) thexder/$(file) $@,SYS/$(file);)
-	$(foreach file, $(SHANGSYS), $(CP) shanghai/$(file) $@,SYS/$(file);)
-	$(foreach file, $(SMASHROOT), $(CP) smash/$(file) $@,$(file);)
-	$(foreach file, $(THEXROOT), $(CP) thexder/$(file) $@,$(file);)
-	$(foreach file, $(SHANGROOT), $(CP) shanghai/$(file) $@,$(file);)
+	$(CP) $(foreach file,$(SMASHSYS),smash/$(file)) $@,SYS
+	$(CP) $(foreach file,$(THEXSYS),thexder/$(file)) $@,SYS
+	$(CP) $(foreach file,$(SHANGSYS),shanghai/$(file)) $@,SYS
+	$(CP) $(foreach file,$(SMASHROOT),smash/$(file)) $@,
+	$(CP) $(foreach file,$(THEXROOT),thexder/$(file)) $@,
+	$(CP) $(foreach file,$(SHANGROOT),shanghai/$(file)) $@,
 	$(CPL) startup $@,
 
 clean:	dskclean