]> git.ipfire.org Git - thirdparty/coreutils.git/commit
build: don't use foo_LDADD if there's no foo program
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 30 Aug 2012 16:19:54 +0000 (18:19 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 31 Aug 2012 10:22:09 +0000 (12:22 +0200)
commitc1269eee5ceabe4ab2ff73db04aa522295ba96b4
treed4713dadcde5e725c3ff8ed921453d26d0329d98
parenta159d594facba612e60d58539eeba80e2a0d3413
build: don't use foo_LDADD if there's no foo program

For example, instead of factoring out the extra linker flags needed
by 'cp', 'mv' ind 'install' into a '$(copy_LDADD)' variable, factor
them out in a '$(copy_ldadd)' variable.

Partly a minor cleanup, partly a preparation for future changes.

* src/Makefile.am (copy_LDADD): Rename ...
(copy_ldadd): ... like this.
(remove_LDADD): Rename ...
(remove_ldadd): ... like this.
All uses adjusted.  Some comments updated.
src/Makefile.am