Reduce repetition in _PROGRAMS related _LDADD generation.
Merge pull request #87 from pmienk/master

Reduce repetition in _PROGRAMS related _LDADD generation.