Mercurial > hg > Members > kono > nitros9-code
diff 3rdparty/packages/uucpbb/makefile @ 2968:13885d9433d5
3rdparty: Further harmonize makefiles
More consistency love.
And use CP instead of OS9COPY when copying plain files.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Fri, 04 Apr 2014 21:34:02 +0200 |
parents | 28ed72477814 |
children |
line wrap: on
line diff
--- a/3rdparty/packages/uucpbb/makefile Fri Apr 04 21:33:01 2014 +0200 +++ b/3rdparty/packages/uucpbb/makefile Fri Apr 04 21:34:02 2014 +0200 @@ -2,12 +2,12 @@ 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) +CMDS68 = $(shell $(MAKE) -C cmds_6809 --no-print-directory showobjs) +CMDS68TCAP = $(shell $(MAKE) -C cmds_6809 --no-print-directory showtcapobjs) $(CMDS68) +CMDS68WIN = $(shell $(MAKE) -C cmds_6809 --no-print-directory showwinobjs) $(CMDS68) +CMDS63 = $(shell $(MAKE) -C cmds_6309 --no-print-directory showobjs) +CMDS63TCAP = $(shell $(MAKE) -C cmds_6309 --no-print-directory showtcapobjs) $(CMDS63) +CMDS63WIN = $(shell $(MAKE) -C cmds_6309 --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 @@ -20,64 +20,67 @@ @$(ECHO) "* UUCPbb v2.1 *" @$(ECHO) "* *" @$(ECHO) "**************************************************" - $(CD) cmds_6809; make - $(CD) cmds_6309; make + $(MAKE) -C cmds_6809 + $(MAKE) -C cmds_6309 # Clean all components clean: dskclean - $(CD) cmds_6809; make clean - $(CD) cmds_6309; make clean + $(MAKE) -C cmds_6809 clean + $(MAKE) -C cmds_6309 clean + +dsk: $(DSKS) -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; $(OS9COPY) $(CMDS68TCAP) ../$(DISK68),UUCP/CMDS_TCAP - $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68TCAP)),$(DISK68),UUCP/CMDS_TCAP/$(file)) - $(CD) cmds_6809; $(OS9COPY) $(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 +$(DISK68): all + $(RM) $@ + $(OS9FORMAT) -l10000 $@ -q -n"UUCPbb v2.1 6809" + $(MAKDIR) $@,LOG + $(MAKDIR) $@,UUCP + $(MAKDIR) $@,UUCP/CMDS_WIN + $(MAKDIR) $@,UUCP/CMDS_TCAP + $(MAKDIR) $@,UUCP/DOC + $(MAKDIR) $@,UUCP/SPOOL + $(MAKDIR) $@,UUCP/SPOOL/MAIL + $(MAKDIR) $@,UUCP/SPOOL/NEWS + $(MAKDIR) $@,UUCP/SPOOL/UUCP + $(MAKDIR) $@,UUCP/SPOOL/UUCP/REDHAT + $(MAKDIR) $@,UUCP/SPOOL/UUCPPUBLIC + $(MAKDIR) $@,UUCP/SPOOL/REDHAT + $(MAKDIR) $@,SYS + $(MAKDIR) $@,SYS/UUCP + $(CD) sample_config; $(CPL) $(CONFIG) ../$@,SYS/UUCP + $(CPL) profile $@,SYS + $(CD) cmds_6809; $(OS9COPY) $(CMDS68TCAP) ../$@,UUCP/CMDS_TCAP + $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68TCAP)),$@,UUCP/CMDS_TCAP/$(file)) + $(CD) cmds_6809; $(OS9COPY) $(CMDS68WIN) ../$@,UUCP/CMDS_WIN + $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68WIN)),$@,UUCP/CMDS_WIN/$(file)) + $(CD) doc; $(CPL) $(DOCS) ../$@,UUCP/DOC + $(CPL) copying readme.first $@,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; $(OS9COPY) $(CMDS63TCAP) ../$(DISK63),UUCP/CMDS_TCAP - $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63TCAP)),$(DISK63),UUCP/CMDS_TCAP/$(file)) - $(CD) cmds_6309; $(OS9COPY) $(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 +$(DISK63): all + $(RM) $@ + $(OS9FORMAT) -l10000 $@ -q -n"UUCPbb v2.1 6309" + $(MAKDIR) $@,LOG + $(MAKDIR) $@,UUCP + $(MAKDIR) $@,UUCP/DOC + $(MAKDIR) $@,UUCP/CMDS_WIN + $(MAKDIR) $@,UUCP/CMDS_TCAP + $(MAKDIR) $@,UUCP/SPOOL + $(MAKDIR) $@,UUCP/SPOOL/MAIL + $(MAKDIR) $@,UUCP/SPOOL/NEWS + $(MAKDIR) $@,UUCP/SPOOL/UUCP + $(MAKDIR) $@,UUCP/SPOOL/UUCP/REDHAT + $(MAKDIR) $@,UUCP/SPOOL/UUCPPUBLIC + $(MAKDIR) $@,UUCP/SPOOL/REDHAT + $(MAKDIR) $@,SYS + $(MAKDIR) $@,SYS/UUCP + $(CD) sample_config; $(CPL) $(CONFIG) ../$@,SYS/UUCP + $(CPL) profile $@,SYS + $(CD) cmds_6309; $(OS9COPY) $(CMDS63TCAP) ../$@,UUCP/CMDS_TCAP + $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63TCAP)),$@,UUCP/CMDS_TCAP/$(file)) + $(CD) cmds_6309; $(OS9COPY) $(CMDS63WIN) ../$@,UUCP/CMDS_WIN + $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63WIN)),$@,UUCP/CMDS_WIN/$(file)) + $(CD) doc; $(CPL) $(DOCS) ../$@,UUCP/DOC + $(CPL) copying readme.first $@,UUCP dskcopy: dsk $(CP) $(DSKS) $(DSKDIR)