diff options
author | ngie <ngie@FreeBSD.org> | 2017-07-20 01:03:43 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-07-20 01:03:43 +0000 |
commit | fc2d49ed2d4157f57ae240443be12e6bdffc226d (patch) | |
tree | 89bc7a9a0316a24bbfb47f933ffaf88e4c7b3a02 /usr.sbin | |
parent | 8705f457b0890b8c845d136570cdf8549c20f1d7 (diff) | |
download | FreeBSD-src-fc2d49ed2d4157f57ae240443be12e6bdffc226d.zip FreeBSD-src-fc2d49ed2d4157f57ae240443be12e6bdffc226d.tar.gz |
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.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rpc.lockd/Makefile | 4 | ||||
-rw-r--r-- | usr.sbin/rpc.statd/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/rpc.lockd/Makefile b/usr.sbin/rpc.lockd/Makefile index 73c69ef..63ac2f0 100644 --- a/usr.sbin/rpc.lockd/Makefile +++ b/usr.sbin/rpc.lockd/Makefile @@ -17,10 +17,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 diff --git a/usr.sbin/rpc.statd/Makefile b/usr.sbin/rpc.statd/Makefile index 43504e4..a5411e8 100644 --- a/usr.sbin/rpc.statd/Makefile +++ b/usr.sbin/rpc.statd/Makefile @@ -15,10 +15,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 |