automake, the return

Using automake has several advantages:

* The "install" target is automatically derived
* Same for the "dist" target
* The "distcheck" target now works (see http://www.gnu.org/software/automake/manual/automake.html#Checking-the-Distribution)

For now I see no reason why this wouldn't work on (recent) BSD systems, alas I have no such machine handy at the moment

Laurie, could you please test and tell me what gets wrong ? -thanks