Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2017 01:03:43 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r321273 - in stable/11/usr.sbin: rpc.lockd rpc.statd
Message-ID:  <201707200103.v6K13hmk038591@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Thu Jul 20 01:03:43 2017
New Revision: 321273
URL: https://svnweb.freebsd.org/changeset/base/321273

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/11/usr.sbin/rpc.lockd/Makefile
  stable/11/usr.sbin/rpc.statd/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/rpc.lockd/Makefile
==============================================================================
--- stable/11/usr.sbin/rpc.lockd/Makefile	Thu Jul 20 01:02:37 2017	(r321272)
+++ stable/11/usr.sbin/rpc.lockd/Makefile	Thu Jul 20 01:03:43 2017	(r321273)
@@ -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

Modified: stable/11/usr.sbin/rpc.statd/Makefile
==============================================================================
--- stable/11/usr.sbin/rpc.statd/Makefile	Thu Jul 20 01:02:37 2017	(r321272)
+++ stable/11/usr.sbin/rpc.statd/Makefile	Thu Jul 20 01:03:43 2017	(r321273)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707200103.v6K13hmk038591>