Mercurial > hg > Members > kono > nitros9-code
view 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 |
line wrap: on
line source
include ../../../rules.mak DISK68 = uucpbb21_6809.dsk DISK63 = uucpbb21_6309.dsk CMDS68 = $(shell $(CD) cmds_6809; make --no-print-directory showobjs) CMDS68TCAP = $(shell $(CD) cmds_6809; make --no-print-directory showtcapobjs) $(CMDS68) CMDS68WIN = $(shell $(CD) cmds_6809; make --no-print-directory showwinobjs) $(CMDS68) CMDS63 = $(shell $(CD) cmds_6309; make --no-print-directory showobjs) CMDS63TCAP = $(shell $(CD) cmds_6309; make --no-print-directory showtcapobjs) $(CMDS63) CMDS63WIN = $(shell $(CD) cmds_6309; make --no-print-directory showwinobjs) $(CMDS63) CONFIG = Devices FileServ.help Systems bin.list Dialers Parameters active distributions DOCS = adduser.man aliases.doc chown.man cnvrtmail.man fileserv.man fixtext.man login.man mailrc.doc mailx.man parameters.doc postnews.man profile.doc readnews.man rmail.man rnews.man signature.doc subscribe.man uucico.man uuclean.man uucp.man uucpbb.doc uulog.man uuxqt.man whoami.man DSKS = $(DISK68) $(DISK63) # Make all components all: @$(ECHO) "**************************************************" @$(ECHO) "* *" @$(ECHO) "* UUCPbb v2.1 *" @$(ECHO) "* *" @$(ECHO) "**************************************************" $(CD) cmds_6809; make $(CD) cmds_6309; make # Clean all components clean: dskclean $(CD) cmds_6809; make clean $(CD) cmds_6309; make clean dsk: all $(RM) $(DISK68) $(OS9FORMAT) -l10000 $(DISK68) -q -n"UUCPbb v2.1 6809" $(MAKDIR) $(DISK68),LOG $(MAKDIR) $(DISK68),UUCP $(MAKDIR) $(DISK68),UUCP/CMDS_WIN $(MAKDIR) $(DISK68),UUCP/CMDS_TCAP $(MAKDIR) $(DISK68),UUCP/DOC $(MAKDIR) $(DISK68),UUCP/SPOOL $(MAKDIR) $(DISK68),UUCP/SPOOL/MAIL $(MAKDIR) $(DISK68),UUCP/SPOOL/NEWS $(MAKDIR) $(DISK68),UUCP/SPOOL/UUCP $(MAKDIR) $(DISK68),UUCP/SPOOL/UUCP/REDHAT $(MAKDIR) $(DISK68),UUCP/SPOOL/UUCPPUBLIC $(MAKDIR) $(DISK68),UUCP/SPOOL/REDHAT $(MAKDIR) $(DISK68),SYS $(MAKDIR) $(DISK68),SYS/UUCP $(CD) sample_config; $(CPL) $(CONFIG) ../$(DISK68),SYS/UUCP $(CPL) profile $(DISK68),SYS $(CD) cmds_6809; $(CP) $(CMDS68TCAP) ../$(DISK68),UUCP/CMDS_TCAP $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68TCAP)),$(DISK68),UUCP/CMDS_TCAP/$(file)) $(CD) cmds_6809; $(CP) $(CMDS68WIN) ../$(DISK68),UUCP/CMDS_WIN $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68WIN)),$(DISK68),UUCP/CMDS_WIN/$(file)) $(CD) doc; $(CPL) $(DOCS) ../$(DISK68),UUCP/DOC $(CPL) copying readme.first $(DISK68),UUCP $(RM) $(DISK63) $(OS9FORMAT) -l10000 $(DISK63) -q -n"UUCPbb v2.1 6309" $(MAKDIR) $(DISK63),LOG $(MAKDIR) $(DISK63),UUCP $(MAKDIR) $(DISK63),UUCP/DOC $(MAKDIR) $(DISK63),UUCP/CMDS_WIN $(MAKDIR) $(DISK63),UUCP/CMDS_TCAP $(MAKDIR) $(DISK63),UUCP/SPOOL $(MAKDIR) $(DISK63),UUCP/SPOOL/MAIL $(MAKDIR) $(DISK63),UUCP/SPOOL/NEWS $(MAKDIR) $(DISK63),UUCP/SPOOL/UUCP $(MAKDIR) $(DISK63),UUCP/SPOOL/UUCP/REDHAT $(MAKDIR) $(DISK63),UUCP/SPOOL/UUCPPUBLIC $(MAKDIR) $(DISK63),UUCP/SPOOL/REDHAT $(MAKDIR) $(DISK63),SYS $(MAKDIR) $(DISK63),SYS/UUCP $(CD) sample_config; $(CPL) $(CONFIG) ../$(DISK63),SYS/UUCP $(CPL) profile $(DISK63),SYS $(CD) cmds_6309; $(CP) $(CMDS63TCAP) ../$(DISK63),UUCP/CMDS_TCAP $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63TCAP)),$(DISK63),UUCP/CMDS_TCAP/$(file)) $(CD) cmds_6309; $(CP) $(CMDS63WIN) ../$(DISK63),UUCP/CMDS_WIN $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63WIN)),$(DISK63),UUCP/CMDS_WIN/$(file)) $(CD) doc; $(CPL) $(DOCS) ../$(DISK63),UUCP/DOC $(CPL) copying readme.first $(DISK63),UUCP dskcopy: dsk $(CP) $(DSKS) $(DSKDIR) dskclean: $(RM) $(DSKS) info: @$(ECHO) "*** UUCPbb 2.1 ***" @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)