diff options
author | ngie <ngie@FreeBSD.org> | 2017-07-20 01:03:50 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-07-20 01:03:50 +0000 |
commit | 31f9429e7bab250878e350d5c50456b6d94ed922 (patch) | |
tree | 47c406db84875124f407dbf812ff514d7e488add /usr.sbin | |
parent | 58b736bd03439e012a8e111eaa1f3baf251d96ef (diff) | |
download | FreeBSD-src-31f9429e7bab250878e350d5c50456b6d94ed922.zip FreeBSD-src-31f9429e7bab250878e350d5c50456b6d94ed922.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 139f4bc..2fb3ffd 100644 --- a/usr.sbin/rpc.lockd/Makefile +++ b/usr.sbin/rpc.lockd/Makefile @@ -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 diff --git a/usr.sbin/rpc.statd/Makefile b/usr.sbin/rpc.statd/Makefile index 6fa2b1e..bbdf1a7 100644 --- a/usr.sbin/rpc.statd/Makefile +++ b/usr.sbin/rpc.statd/Makefile @@ -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 |