Makefile depencies broken?

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Oct 3 09:43:44 MDT 2009


Hi, Björn!

d7795f2afa3 brought me an annoyance: Every time I type in
"make", everything is re-linked. This happens because for
example smbd now depends on "libtalloc". The problem is that
there is no file called "libtalloc" created by the
libtalloc: target. "make" thus can not determine that this
target is already fulfilled and re-links smbd.

I tried the attached patch, but this scheme breaks down for
libaddns, because there is a directory with that name which
we can not "touch" so that "make" will detect it's older
than bin/net.

Björn, can you think of a proper fix? Re-linking always is
pretty annoying. If not, can we revert those changes?

Thanks,

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-build-system-Avoid-re-linking-everything-on-ever.patch
Type: text/x-diff
Size: 2130 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091003/680d160d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091003/680d160d/attachment.pgp>


More information about the samba-technical mailing list