comparison 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
comparison
equal deleted inserted replaced
2967:1c81c87c77d4 2968:13885d9433d5
1 include ../../../rules.mak 1 include ../../../rules.mak
2 2
3 DISK68 = uucpbb21_6809.dsk 3 DISK68 = uucpbb21_6809.dsk
4 DISK63 = uucpbb21_6309.dsk 4 DISK63 = uucpbb21_6309.dsk
5 CMDS68 = $(shell $(CD) cmds_6809; make --no-print-directory showobjs) 5 CMDS68 = $(shell $(MAKE) -C cmds_6809 --no-print-directory showobjs)
6 CMDS68TCAP = $(shell $(CD) cmds_6809; make --no-print-directory showtcapobjs) $(CMDS68) 6 CMDS68TCAP = $(shell $(MAKE) -C cmds_6809 --no-print-directory showtcapobjs) $(CMDS68)
7 CMDS68WIN = $(shell $(CD) cmds_6809; make --no-print-directory showwinobjs) $(CMDS68) 7 CMDS68WIN = $(shell $(MAKE) -C cmds_6809 --no-print-directory showwinobjs) $(CMDS68)
8 CMDS63 = $(shell $(CD) cmds_6309; make --no-print-directory showobjs) 8 CMDS63 = $(shell $(MAKE) -C cmds_6309 --no-print-directory showobjs)
9 CMDS63TCAP = $(shell $(CD) cmds_6309; make --no-print-directory showtcapobjs) $(CMDS63) 9 CMDS63TCAP = $(shell $(MAKE) -C cmds_6309 --no-print-directory showtcapobjs) $(CMDS63)
10 CMDS63WIN = $(shell $(CD) cmds_6309; make --no-print-directory showwinobjs) $(CMDS63) 10 CMDS63WIN = $(shell $(MAKE) -C cmds_6309 --no-print-directory showwinobjs) $(CMDS63)
11 CONFIG = Devices FileServ.help Systems bin.list Dialers Parameters active distributions 11 CONFIG = Devices FileServ.help Systems bin.list Dialers Parameters active distributions
12 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 12 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
13 13
14 DSKS = $(DISK68) $(DISK63) 14 DSKS = $(DISK68) $(DISK63)
15 15
18 @$(ECHO) "**************************************************" 18 @$(ECHO) "**************************************************"
19 @$(ECHO) "* *" 19 @$(ECHO) "* *"
20 @$(ECHO) "* UUCPbb v2.1 *" 20 @$(ECHO) "* UUCPbb v2.1 *"
21 @$(ECHO) "* *" 21 @$(ECHO) "* *"
22 @$(ECHO) "**************************************************" 22 @$(ECHO) "**************************************************"
23 $(CD) cmds_6809; make 23 $(MAKE) -C cmds_6809
24 $(CD) cmds_6309; make 24 $(MAKE) -C cmds_6309
25 25
26 # Clean all components 26 # Clean all components
27 clean: dskclean 27 clean: dskclean
28 $(CD) cmds_6809; make clean 28 $(MAKE) -C cmds_6809 clean
29 $(CD) cmds_6309; make clean 29 $(MAKE) -C cmds_6309 clean
30 30
31 dsk: all 31 dsk: $(DSKS)
32 $(RM) $(DISK68)
33 $(OS9FORMAT) -l10000 $(DISK68) -q -n"UUCPbb v2.1 6809"
34 $(MAKDIR) $(DISK68),LOG
35 $(MAKDIR) $(DISK68),UUCP
36 $(MAKDIR) $(DISK68),UUCP/CMDS_WIN
37 $(MAKDIR) $(DISK68),UUCP/CMDS_TCAP
38 $(MAKDIR) $(DISK68),UUCP/DOC
39 $(MAKDIR) $(DISK68),UUCP/SPOOL
40 $(MAKDIR) $(DISK68),UUCP/SPOOL/MAIL
41 $(MAKDIR) $(DISK68),UUCP/SPOOL/NEWS
42 $(MAKDIR) $(DISK68),UUCP/SPOOL/UUCP
43 $(MAKDIR) $(DISK68),UUCP/SPOOL/UUCP/REDHAT
44 $(MAKDIR) $(DISK68),UUCP/SPOOL/UUCPPUBLIC
45 $(MAKDIR) $(DISK68),UUCP/SPOOL/REDHAT
46 $(MAKDIR) $(DISK68),SYS
47 $(MAKDIR) $(DISK68),SYS/UUCP
48 $(CD) sample_config; $(CPL) $(CONFIG) ../$(DISK68),SYS/UUCP
49 $(CPL) profile $(DISK68),SYS
50 $(CD) cmds_6809; $(OS9COPY) $(CMDS68TCAP) ../$(DISK68),UUCP/CMDS_TCAP
51 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68TCAP)),$(DISK68),UUCP/CMDS_TCAP/$(file))
52 $(CD) cmds_6809; $(OS9COPY) $(CMDS68WIN) ../$(DISK68),UUCP/CMDS_WIN
53 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68WIN)),$(DISK68),UUCP/CMDS_WIN/$(file))
54 $(CD) doc; $(CPL) $(DOCS) ../$(DISK68),UUCP/DOC
55 $(CPL) copying readme.first $(DISK68),UUCP
56 32
57 $(RM) $(DISK63) 33 $(DISK68): all
58 $(OS9FORMAT) -l10000 $(DISK63) -q -n"UUCPbb v2.1 6309" 34 $(RM) $@
59 $(MAKDIR) $(DISK63),LOG 35 $(OS9FORMAT) -l10000 $@ -q -n"UUCPbb v2.1 6809"
60 $(MAKDIR) $(DISK63),UUCP 36 $(MAKDIR) $@,LOG
61 $(MAKDIR) $(DISK63),UUCP/DOC 37 $(MAKDIR) $@,UUCP
62 $(MAKDIR) $(DISK63),UUCP/CMDS_WIN 38 $(MAKDIR) $@,UUCP/CMDS_WIN
63 $(MAKDIR) $(DISK63),UUCP/CMDS_TCAP 39 $(MAKDIR) $@,UUCP/CMDS_TCAP
64 $(MAKDIR) $(DISK63),UUCP/SPOOL 40 $(MAKDIR) $@,UUCP/DOC
65 $(MAKDIR) $(DISK63),UUCP/SPOOL/MAIL 41 $(MAKDIR) $@,UUCP/SPOOL
66 $(MAKDIR) $(DISK63),UUCP/SPOOL/NEWS 42 $(MAKDIR) $@,UUCP/SPOOL/MAIL
67 $(MAKDIR) $(DISK63),UUCP/SPOOL/UUCP 43 $(MAKDIR) $@,UUCP/SPOOL/NEWS
68 $(MAKDIR) $(DISK63),UUCP/SPOOL/UUCP/REDHAT 44 $(MAKDIR) $@,UUCP/SPOOL/UUCP
69 $(MAKDIR) $(DISK63),UUCP/SPOOL/UUCPPUBLIC 45 $(MAKDIR) $@,UUCP/SPOOL/UUCP/REDHAT
70 $(MAKDIR) $(DISK63),UUCP/SPOOL/REDHAT 46 $(MAKDIR) $@,UUCP/SPOOL/UUCPPUBLIC
71 $(MAKDIR) $(DISK63),SYS 47 $(MAKDIR) $@,UUCP/SPOOL/REDHAT
72 $(MAKDIR) $(DISK63),SYS/UUCP 48 $(MAKDIR) $@,SYS
73 $(CD) sample_config; $(CPL) $(CONFIG) ../$(DISK63),SYS/UUCP 49 $(MAKDIR) $@,SYS/UUCP
74 $(CPL) profile $(DISK63),SYS 50 $(CD) sample_config; $(CPL) $(CONFIG) ../$@,SYS/UUCP
75 $(CD) cmds_6309; $(OS9COPY) $(CMDS63TCAP) ../$(DISK63),UUCP/CMDS_TCAP 51 $(CPL) profile $@,SYS
76 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63TCAP)),$(DISK63),UUCP/CMDS_TCAP/$(file)) 52 $(CD) cmds_6809; $(OS9COPY) $(CMDS68TCAP) ../$@,UUCP/CMDS_TCAP
77 $(CD) cmds_6309; $(OS9COPY) $(CMDS63WIN) ../$(DISK63),UUCP/CMDS_WIN 53 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68TCAP)),$@,UUCP/CMDS_TCAP/$(file))
78 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63WIN)),$(DISK63),UUCP/CMDS_WIN/$(file)) 54 $(CD) cmds_6809; $(OS9COPY) $(CMDS68WIN) ../$@,UUCP/CMDS_WIN
79 $(CD) doc; $(CPL) $(DOCS) ../$(DISK63),UUCP/DOC 55 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS68WIN)),$@,UUCP/CMDS_WIN/$(file))
80 $(CPL) copying readme.first $(DISK63),UUCP 56 $(CD) doc; $(CPL) $(DOCS) ../$@,UUCP/DOC
57 $(CPL) copying readme.first $@,UUCP
58
59 $(DISK63): all
60 $(RM) $@
61 $(OS9FORMAT) -l10000 $@ -q -n"UUCPbb v2.1 6309"
62 $(MAKDIR) $@,LOG
63 $(MAKDIR) $@,UUCP
64 $(MAKDIR) $@,UUCP/DOC
65 $(MAKDIR) $@,UUCP/CMDS_WIN
66 $(MAKDIR) $@,UUCP/CMDS_TCAP
67 $(MAKDIR) $@,UUCP/SPOOL
68 $(MAKDIR) $@,UUCP/SPOOL/MAIL
69 $(MAKDIR) $@,UUCP/SPOOL/NEWS
70 $(MAKDIR) $@,UUCP/SPOOL/UUCP
71 $(MAKDIR) $@,UUCP/SPOOL/UUCP/REDHAT
72 $(MAKDIR) $@,UUCP/SPOOL/UUCPPUBLIC
73 $(MAKDIR) $@,UUCP/SPOOL/REDHAT
74 $(MAKDIR) $@,SYS
75 $(MAKDIR) $@,SYS/UUCP
76 $(CD) sample_config; $(CPL) $(CONFIG) ../$@,SYS/UUCP
77 $(CPL) profile $@,SYS
78 $(CD) cmds_6309; $(OS9COPY) $(CMDS63TCAP) ../$@,UUCP/CMDS_TCAP
79 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63TCAP)),$@,UUCP/CMDS_TCAP/$(file))
80 $(CD) cmds_6309; $(OS9COPY) $(CMDS63WIN) ../$@,UUCP/CMDS_WIN
81 $(OS9ATTR_EXEC) $(foreach file,$(notdir $(CMDS63WIN)),$@,UUCP/CMDS_WIN/$(file))
82 $(CD) doc; $(CPL) $(DOCS) ../$@,UUCP/DOC
83 $(CPL) copying readme.first $@,UUCP
81 84
82 dskcopy: dsk 85 dskcopy: dsk
83 $(CP) $(DSKS) $(DSKDIR) 86 $(CP) $(DSKS) $(DSKDIR)
84 87
85 dskclean: 88 dskclean: