comparison 3rdparty/packages/uucpbb/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 84d284e812cd
comparison
equal deleted inserted replaced
2847:d9cf60ca6dc3 2848:94197db917c9
46 $(MAKDIR) $(DISK68),SYS 46 $(MAKDIR) $(DISK68),SYS
47 $(MAKDIR) $(DISK68),SYS/UUCP 47 $(MAKDIR) $(DISK68),SYS/UUCP
48 $(CD) sample_config; $(CPL) $(CONFIG) ../$(DISK68),SYS/UUCP 48 $(CD) sample_config; $(CPL) $(CONFIG) ../$(DISK68),SYS/UUCP
49 $(CPL) profile $(DISK68),SYS 49 $(CPL) profile $(DISK68),SYS
50 $(CD) cmds_6809; $(CP) $(CMDS68TCAP) ../$(DISK68),UUCP/CMDS_TCAP 50 $(CD) cmds_6809; $(CP) $(CMDS68TCAP) ../$(DISK68),UUCP/CMDS_TCAP
51 $(foreach file, $(CMDS68TCAP), $(OS9ATTR_EXEC) $(DISK68),UUCP/CMDS_TCAP/$(notdir $(file));) 51 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68TCAP)),$(DISK68),UUCP/CMDS_TCAP/$(file))
52 $(CD) cmds_6809; $(CP) $(CMDS68WIN) ../$(DISK68),UUCP/CMDS_WIN 52 $(CD) cmds_6809; $(CP) $(CMDS68WIN) ../$(DISK68),UUCP/CMDS_WIN
53 $(foreach file, $(CMDS68WIN), $(OS9ATTR_EXEC) $(DISK68),UUCP/CMDS_WIN/$(notdir $(file));) 53 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68WIN)),$(DISK68),UUCP/CMDS_WIN/$(file))
54 $(CD) doc; $(CPL) $(DOCS) ../$(DISK68),UUCP/DOC 54 $(CD) doc; $(CPL) $(DOCS) ../$(DISK68),UUCP/DOC
55 $(CPL) copying readme.first $(DISK68),UUCP 55 $(CPL) copying readme.first $(DISK68),UUCP
56 56
57 $(RM) $(DISK63) 57 $(RM) $(DISK63)
58 $(OS9FORMAT) -l10000 $(DISK63) -q -n"UUCPbb v2.1 6309" 58 $(OS9FORMAT) -l10000 $(DISK63) -q -n"UUCPbb v2.1 6309"
71 $(MAKDIR) $(DISK63),SYS 71 $(MAKDIR) $(DISK63),SYS
72 $(MAKDIR) $(DISK63),SYS/UUCP 72 $(MAKDIR) $(DISK63),SYS/UUCP
73 $(CD) sample_config; $(CPL) $(CONFIG) ../$(DISK63),SYS/UUCP 73 $(CD) sample_config; $(CPL) $(CONFIG) ../$(DISK63),SYS/UUCP
74 $(CPL) profile $(DISK63),SYS 74 $(CPL) profile $(DISK63),SYS
75 $(CD) cmds_6309; $(CP) $(CMDS63TCAP) ../$(DISK63),UUCP/CMDS_TCAP 75 $(CD) cmds_6309; $(CP) $(CMDS63TCAP) ../$(DISK63),UUCP/CMDS_TCAP
76 $(foreach file, $(CMDS63TCAP), $(OS9ATTR_EXEC) $(DISK63),UUCP/CMDS_TCAP/$(notdir $(file));) 76 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63TCAP)),$(DISK63),UUCP/CMDS_TCAP/$(file))
77 $(CD) cmds_6309; $(CP) $(CMDS63WIN) ../$(DISK63),UUCP/CMDS_WIN 77 $(CD) cmds_6309; $(CP) $(CMDS63WIN) ../$(DISK63),UUCP/CMDS_WIN
78 $(foreach file, $(CMDS63WIN), $(OS9ATTR_EXEC) $(DISK63),UUCP/CMDS_WIN/$(notdir $(file));) 78 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63WIN)),$(DISK63),UUCP/CMDS_WIN/$(file))
79 $(CD) doc; $(CPL) $(DOCS) ../$(DISK63),UUCP/DOC 79 $(CD) doc; $(CPL) $(DOCS) ../$(DISK63),UUCP/DOC
80 $(CPL) copying readme.first $(DISK63),UUCP 80 $(CPL) copying readme.first $(DISK63),UUCP
81 81
82 dskcopy: dsk 82 dskcopy: dsk
83 $(CP) $(DSKS) $(DSKDIR) 83 $(CP) $(DSKS) $(DSKDIR)