[Swan-dev] libreswan's dependency building is incomplete

D. Hugh Redelmeier hugh at mimosa.com
Sun Mar 30 20:11:27 EEST 2014


| From: Tuomo Soini <tis at foobar.fi>

| Use of objdir is still partial and make clean doesn't wipe objdir - it
| really should clean whole objdir directory structure. Problem is in
| make clean.

I don't understand this explanation.  Make is supposed to work without
cleaning -- that's the whole point.  So getting the dependencies right
without cleaning is important.

The old system, which you replaced, would have done the compile that
was needed but not done.  But it had the problem that dependencies
were built into makefiles and only rebuilt when someone went to the
trouble do so (an error-prone requirement).

It is surely ALSO a problem if make clean doesn't do the whole job.

Oh, and there is another problem that causes rogue output of lex and
yacc to go into the source tree, not the object tree.  This results in
obscure failures.


More information about the Swan-dev mailing list