diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-05-21 09:03:01 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-05-26 09:10:45 -0400 |
commit | 419d4579bcb84a3b10d8b5048df2087a3f55544f (patch) | |
tree | e36310049957f423bc9afa0d9ec7a1f056ac3274 /common/dhash | |
parent | 23cb08ee2f1e3b597742281e475350039247d9d8 (diff) | |
download | sssd-419d4579bcb84a3b10d8b5048df2087a3f55544f.tar.gz sssd-419d4579bcb84a3b10d8b5048df2087a3f55544f.tar.bz2 sssd-419d4579bcb84a3b10d8b5048df2087a3f55544f.zip |
Clean up automake build to work on older versions of libtool
LT_INIT is supported only on Libtool >= 2.0, so I reverted it to
using AC_PROG_LIBTOOL.
Also reorganized how the common libraries were being built. Now
they are treated as libtool convenience libraries instead of
installable libraries (the --with-singlelib configure flag can
still be used to generate a combined, installable DSO)
I cleaned up the set of files being installed by automake, so the
list of things we need to remove before packaging the RPM is now
only the .la files associated with our own plugins.
Diffstat (limited to 'common/dhash')
-rw-r--r-- | common/dhash/Makefile.am | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/common/dhash/Makefile.am b/common/dhash/Makefile.am index 67e69b66..9037bf97 100644 --- a/common/dhash/Makefile.am +++ b/common/dhash/Makefile.am @@ -2,15 +2,16 @@ AM_CPPFLAGS = -Wall ACLOCAL_AMFLAGS = -I m4 pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = dhash.pc +dist_noinst_DATA = dhash.pc -lib_LTLIBRARIES = libdhash.la -libdhash_la_SOURCES = dhash.c -include_HEADERS = dhash.h +noinst_LTLIBRARIES = libdhash.la +libdhash_la_SOURCES = \ + dhash.c \ + dhash.h check_PROGRAMS = dhash_test dhash_example dhash_test_LDADD = dhash.o dhash_example_LDADD = dhash.o examplesdir = $(docdir)/examples -dist_examples_DATA = dhash_test.c dhash_example.c +dist_noinst_DATA += dhash_test.c dhash_example.c |