svn commit: r314454 - head/usr.sbin/rpc.lockd
Ngie Cooper
ngie at FreeBSD.org
Wed Mar 1 04:12:26 UTC 2017
Author: ngie
Date: Wed Mar 1 04:12:24 2017
New Revision: 314454
URL: https://svnweb.freebsd.org/changeset/base/314454
Log:
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.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Modified:
head/usr.sbin/rpc.lockd/Makefile
Modified: head/usr.sbin/rpc.lockd/Makefile
==============================================================================
--- head/usr.sbin/rpc.lockd/Makefile Wed Mar 1 04:02:36 2017 (r314453)
+++ head/usr.sbin/rpc.lockd/Makefile Wed Mar 1 04:12:24 2017 (r314454)
@@ -17,10 +17,10 @@ RPCSRC= ${DESTDIR}/usr/include/rpcsvc/nl
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
More information about the svn-src-all
mailing list