From 3d26bc84a31d559704d1c33673bde066a5861fae Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 1 Feb 2010 10:33:28 -0500 Subject: Split off libcollection into a shared library --- collection/Makefile.am | 16 ++++++++++------ collection/README | 2 ++ collection/configure.ac | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 collection/README diff --git a/collection/Makefile.am b/collection/Makefile.am index bd7186b..2734a71 100644 --- a/collection/Makefile.am +++ b/collection/Makefile.am @@ -16,12 +16,16 @@ ACLOCAL_AMFLAGS = -I m4 # Set up the pkg-config file pkgconfigdir = $(libdir)/pkgconfig -dist_noinst_DATA = \ - collection.pc \ - m4 +dist_pkgconfig_DATA = collection.pc + +dist_include_HEADERS = \ + collection.h \ + collection_tools.h + +dist_noinst_DATA = m4 # Build library -noinst_LTLIBRARIES = libcollection.la +lib_LTLIBRARIES = libcollection.la libcollection_la_SOURCES = \ collection.c \ collection_tools.c \ @@ -30,12 +34,12 @@ libcollection_la_SOURCES = \ collection_stack.c \ collection_cmp.c \ collection_iter.c \ - collection.h \ - collection_tools.h \ collection_priv.h \ collection_queue.h \ collection_stack.h \ ../trace/trace.h +libcollection_la_LDFLAGS = \ + -version-info 1:0:0 # Build unit test check_PROGRAMS = collection_ut collection_stack_ut collection_queue_ut diff --git a/collection/README b/collection/README new file mode 100644 index 0000000..83a7b92 --- /dev/null +++ b/collection/README @@ -0,0 +1,2 @@ +Documentation for libcollection can be found in collection.h and +collection_tools.h diff --git a/collection/configure.ac b/collection/configure.ac index 3ba1eb7..2ec6c01 100644 --- a/collection/configure.ac +++ b/collection/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([collection],[0.3.3],[sssd-devel@lists.fedorahosted.org]) +AC_INIT([collection],[0.4.0],[sssd-devel@lists.fedorahosted.org]) AC_CONFIG_SRCDIR([collection.c]) AC_CONFIG_AUX_DIR([build]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) -- cgit