On Sun, Feb 13, 2011 at 08:38:06AM +0100, Alistair Crooks wrote: > > Modified Files: > > src/share/mk: bsd.prog.mk > > > > Log Message: > > add saslc > > [...] > > I've been left wondering about POLA, and why we're adding LIB* > definitions to bsd.prog.mk - it doesn't seem the right *.mk file for a > start, and it also puts knowledge of libraries into a file that should > be generic.
It looks like it's a list of libraries that exist and that this is how programs get linked against those libraries. It's not clear to me (given a casual inspection) why bsd.lib.mk doesn't need the same logic for libraries that are linked to other libraries, but it apparently doesn't. > Is there a better way that we can accomplish this? Probably. It looks like someone needs to take a machete to the make library :-/ -- David A. Holland dholl...@netbsd.org