Bryan Drewery <[email protected]> writes:
> Log:
>   Replace unneeded manual dependency on header by adding it to SRCS.
>   
>   bsd.lib.mk and bsd.prog.mk already depend all objs on headers in SRCS if
>   there is not yet a depend file.  The headers in SRCS are never built or
>   installed.  After 'make depend' the header was already added as a proper
>   dependency on the objects where needed.

This doesn't work.  Try the following:

$ cd /usr/src/secure/lib/libssh
$ make depend && make
$ touch /usr/src/crypto/openssh/ssh_namespace.h
$ make

The second "make" should rebuild everything, but it doesn't.  Also,

$ grep -c ssh_namespace $(make -V.OBJDIR)/.depend
0

DES
-- 
Dag-Erling Smørgrav - [email protected]
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to