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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to