Re: svn commit: r288966 - head/share/mk

2015-11-18 Thread Bryan Drewery
On 11/18/15 7:53 PM, Simon J. Gerraty wrote: > Bryan Drewery wrote: >> > As for the actual change in local.autodep.mk, I don't think it is needed >> > or right since bsd.lib.mk and bsd.prog.mk already do exactly the same >> > thing via ${OBJS}: ${SRCS:M*.h} if .depend is not yet generated. This >>

Re: svn commit: r288966 - head/share/mk

2015-11-18 Thread Simon J. Gerraty
Bryan Drewery wrote: > As for the actual change in local.autodep.mk, I don't think it is needed > or right since bsd.lib.mk and bsd.prog.mk already do exactly the same > thing via ${OBJS}: ${SRCS:M*.h} if .depend is not yet generated. This > does work in meta mode as I ran into a failure due to it

Re: svn commit: r288966 - head/share/mk

2015-11-18 Thread Bryan Drewery
On 10/7/2015 11:09 AM, Bryan Drewery wrote: > On 10/7/2015 11:02 AM, Simon J. Gerraty wrote: >> Bryan Drewery wrote: +.for h in ${SRCS:M*.h} >>> >>> I think we can use DPSRCS as well for this. >> >> Not sure. >> usr.bin/truss/Makefile didn't use that. >> I only see it set in bsd.dep.mk - whic

Re: svn commit: r288966 - head/share/mk

2015-10-07 Thread Bryan Drewery
On 10/7/2015 11:02 AM, Simon J. Gerraty wrote: > Bryan Drewery wrote: >>> +.for h in ${SRCS:M*.h} >> >> I think we can use DPSRCS as well for this. > > Not sure. > usr.bin/truss/Makefile didn't use that. > I only see it set in bsd.dep.mk - which we don't use in meta mode. > I'm less thinking ab

Re: svn commit: r288966 - head/share/mk

2015-10-07 Thread Simon J. Gerraty
Bryan Drewery wrote: > > +.for h in ${SRCS:M*.h} > > I think we can use DPSRCS as well for this. Not sure. usr.bin/truss/Makefile didn't use that. I only see it set in bsd.dep.mk - which we don't use in meta mode. ___ svn-src-head@freebsd.org mailing l

Re: svn commit: r288966 - head/share/mk

2015-10-06 Thread Garrett Cooper
> On Oct 6, 2015, at 17:46, Bryan Drewery wrote: ... > I think we can use DPSRCS as well for this. If it's something that needs to build before depend, yes. Thanks! -NGie ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/lis

Re: svn commit: r288966 - head/share/mk

2015-10-06 Thread Bryan Drewery
On 10/6/2015 5:32 PM, Simon J. Gerraty wrote: > Author: sjg > Date: Wed Oct 7 00:32:33 2015 > New Revision: 288966 > URL: https://svnweb.freebsd.org/changeset/base/288966 > > Log: > To help bootstrap new local depends, > if SRCS contains *.h for which there are targets, > make buildfiles de

svn commit: r288966 - head/share/mk

2015-10-06 Thread Simon J. Gerraty
Author: sjg Date: Wed Oct 7 00:32:33 2015 New Revision: 288966 URL: https://svnweb.freebsd.org/changeset/base/288966 Log: To help bootstrap new local depends, if SRCS contains *.h for which there are targets, make buildfiles depend on them - so they get generated early. Modified: head/sh