svn commit: r288966 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Wed Oct 7 18:09:41 UTC 2015


On 10/7/2015 11:02 AM, Simon J. Gerraty wrote:
> Bryan Drewery <bdrewery at FreeBSD.org> 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 about the usage in bsd.dep.mk and more these that
manually set it:

gnu/lib/libreadline/readline/Makefile:DPSRCS+= ${INSTALLED_HEADERS}
lib/libc/tests/rpc/Makefile:DPSRCS+=    h_testbits.h
sbin/ipf/ipf/Makefile:DPSRCS+=  ${GENHDRS}
sbin/ipf/ipftest/Makefile:DPSRCS+=      ${GENHDRS}
sbin/ipf/ipmon/Makefile:DPSRCS+=        ${GENHDRS}
sbin/ipf/ipnat/Makefile:DPSRCS+=        ${GENHDRS}
sbin/ipf/ippool/Makefile:DPSRCS+=       ${GENHDRS}
sys/modules/linux/Makefile:DPSRCS=      linux${SFX}_genassym.c
sys/modules/linux64/Makefile:DPSRCS=    linux_genassym.c
sys/modules/vmm/Makefile:DPSRCS=        vmx_genassym.c svm_genassym.c
usr.bin/kdump/Makefile:DPSRCS=          kdump_subr.h
usr.bin/netstat/Makefile:DPSRCS=        nl_defs.h
usr.bin/svn/svn/Makefile:DPSRCS+=       freebsd-organization.h


I ran into at least one case, I think usr.bin/netstat, where the file in
DPSRCS was missing and Makefile.depend had to learn how to build it
before it would work.

I can test more to see if adding it has any effect.

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20151007/8124ed08/attachment.bin>


More information about the svn-src-all mailing list