automake / libtool support for programs in the examples/ subdirectory.

Addresses part of Issue #152.
(cherry picked from commit ad319fac6f465276453a80c836107119909dd4fd)

Signed-off-by: Bruce A. Mah <bmah@es.net>
Regen.