svn commit: r321274 - in stable/10/usr.sbin: rpc.lockd rpc.statd
Ngie Cooper
ngie at FreeBSD.org
Thu Jul 20 01:03:51 UTC 2017
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
More information about the svn-src-all
mailing list