Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2017 01:03:50 +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-10@freebsd.org
Subject:   svn commit: r321274 - in stable/10/usr.sbin: rpc.lockd rpc.statd
Message-ID:  <201707200103.v6K13oU0038642@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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