summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-01 10:33:28 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-02-03 10:35:17 -0500
commit6e9b349b2738064f6d03b2b127ad47af399aaa10 (patch)
tree6ac7f4f4ea6e3e5447df08f0b287d2381b721e5a /common
parentee08a65d418413515645278734de1ae984a60456 (diff)
downloadsssd-6e9b349b2738064f6d03b2b127ad47af399aaa10.tar.gz
sssd-6e9b349b2738064f6d03b2b127ad47af399aaa10.tar.bz2
sssd-6e9b349b2738064f6d03b2b127ad47af399aaa10.zip
Split off libcollection into a shared library
Diffstat (limited to 'common')
-rw-r--r--common/collection/Makefile.am16
-rw-r--r--common/collection/README2
-rw-r--r--common/collection/configure.ac2
3 files changed, 13 insertions, 7 deletions
diff --git a/common/collection/Makefile.am b/common/collection/Makefile.am
index bd7186bd..2734a71e 100644
--- a/common/collection/Makefile.am
+++ b/common/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/common/collection/README b/common/collection/README
new file mode 100644
index 00000000..83a7b923
--- /dev/null
+++ b/common/collection/README
@@ -0,0 +1,2 @@
+Documentation for libcollection can be found in collection.h and
+collection_tools.h
diff --git a/common/collection/configure.ac b/common/collection/configure.ac
index 3ba1eb71..2ec6c019 100644
--- a/common/collection/configure.ac
+++ b/common/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])