[master] resolver doesn't use libb10-xfr.la

Don't LDADD the xfr library for the resolver.
This was probably just a copy and paste mistake.
I brought this up on jabber a few days ago.
[trac2367] add --enable-auth option

and fix some dependencies for ddns and resolver.

TODO: need to use variables for setting new build directories so make
doesn't repeat.
[trac2367] don't do repeat SUBDIRs and various cleanups

Use several make variables so SUBDIRs weren't repeated for
common dependencies.
Identify some more internal dependencies used for tests.
[trac2367] don't build the memmgr parts unless is required

and not just if shared memory is supported.