Author: ngie
Date: Thu Jul 20 01:03:50 2017
New Revision: 321274
URL: https://svnweb.freebsd.org/changeset/base/321274
Log:
MFC r314454,r314455:
r314454:
Use .ALLSRC instead of RPCSRC
This is a trivial simplification in the Makefile, meant to serve as
a good example for what to do with rules like this.
r314455:
Use .ALLSRC instead of RPCSRC
This is a trivial simplification in the Makefile, meant to serve as
a good example for what to do with rules like this.
Modified:
stable/10/usr.sbin/rpc.lockd/Makefile
stable/10/usr.sbin/rpc.statd/Makefile
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/usr.sbin/rpc.lockd/Makefile
==============================================================================
--- stable/10/usr.sbin/rpc.lockd/Makefile Thu Jul 20 01:03:43 2017
(r321273)
+++ stable/10/usr.sbin/rpc.lockd/Makefile Thu Jul 20 01:03:50 2017
(r321274)
@@ -18,10 +18,10 @@ RPCSRC= ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C
nlm_prot_svc.c: ${RPCSRC}
- ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
+ ${RPCGEN} -m -o ${.TARGET} ${.ALLSRC}
nlm_prot.h: ${RPCSRC}
- ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
+ ${RPCGEN} -h -o ${.TARGET} ${.ALLSRC}
test: ${.CURDIR}/test.c
cc -o test ${.CURDIR}/test.c -lrpcsvc
Modified: stable/10/usr.sbin/rpc.statd/Makefile
==============================================================================
--- stable/10/usr.sbin/rpc.statd/Makefile Thu Jul 20 01:03:43 2017
(r321273)
+++ stable/10/usr.sbin/rpc.statd/Makefile Thu Jul 20 01:03:50 2017
(r321274)
@@ -16,10 +16,10 @@ RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C
sm_inter_svc.c: ${RPCSRC}
- ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
+ ${RPCGEN} -m -o ${.TARGET} ${.ALLSRC}
sm_inter.h: ${RPCSRC}
- ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
+ ${RPCGEN} -h -o ${.TARGET} ${.ALLSRC}
test: test.c
cc -o test test.c -lrpcsvc
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"