On 10/7/2015 11:02 AM, Simon J. Gerraty wrote:
> Bryan Drewery <bdrew...@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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to