From 50c10e1f61a1bef93a7f768ad6edb28989f1761b Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 12 May 2009 11:56:27 -0400 Subject: Enable building a single libsssd_utils.so from common --- common/Makefile.am | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'common/Makefile.am') diff --git a/common/Makefile.am b/common/Makefile.am index 276bbb2a1..47d7c4a99 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -1,2 +1,19 @@ -SUBDIRS = collection ini trace dhash ACLOCAL_AMFLAGS = -I m4 + +if SINGLELIB +# Build all components as a single shared library +lib_LTLIBRARIES = libsssd_util.la +libsssd_util_la_SOURCES = \ + collection/collection.c \ + collection/collection_tools.c \ + ini/ini_config.c \ + dhash/dhash.c +libsssd_util_la_CFLAGS = $(AM_CFLAGS) \ + -I ./collection \ + -I ./ini \ + -I ./dhash \ + -I ./trace +else +SUBDIRS = collection ini trace dhash +endif + -- cgit