Fix AutoMake warnings about our use of A[CM]_INIT.

See
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
as mentioned in the warning.  Also added the subdirs-objects option
that many other warnings have long been demanding.