On 01/17/2012 05:24 PM, Eduardo Lima (Etrunko) wrote:
From: "Eduardo Lima (Etrunko)" <eblima(a)br.ibm.com>
Signed-off-by: Eduardo Lima (Etrunko) <eblima(a)br.ibm.com>
---
libxkutil/Makefile.am | 48 +++++++---
libxkutil/list_util.c | 231 +++++++++++++++++++++++++++++++++++++++++++++++++
libxkutil/list_util.h | 76 ++++++++++++++++
3 files changed, 341 insertions(+), 14 deletions(-)
create mode 100644 libxkutil/list_util.c
create mode 100644 libxkutil/list_util.h
diff --git a/libxkutil/Makefile.am b/libxkutil/Makefile.am
index f1adc03..fe1d6de 100644
--- a/libxkutil/Makefile.am
+++ b/libxkutil/Makefile.am
@@ -1,21 +1,41 @@
# Copyright IBM Corp. 2007
+AM_CFLAGS = \
+ $(CFLAGS_STRICT) \
+ -DLIBVIRTCIM_CONF=\"@sysconfdir@/@PACKAGE@.conf\"
-AM_CFLAGS = $(CFLAGS_STRICT) \
- -DLIBVIRTCIM_CONF=\"@sysconfdir@/@PACKAGE@.conf\"
+noinst_HEADERS = \
+ cs_util.h \
+ misc_util.h \
+ device_parsing.h \
+ xmlgen.h \
+ infostore.h \
+ pool_parsing.h \
+ acl_parsing.h \
+ list_util.h
-noinst_HEADERS = cs_util.h misc_util.h device_parsing.h xmlgen.h infostore.h \
- pool_parsing.h acl_parsing.h
+lib_LTLIBRARIES = \
+ libxkutil.la
-lib_LTLIBRARIES = libxkutil.la
+libxkutil_la_SOURCES = \
+ cs_util_instance.c \
+ misc_util.c \
+ device_parsing.c \
+ xmlgen.c \
+ infostore.c \
+ pool_parsing.c \
+ acl_parsing.c \
+ list_util.c
-libxkutil_la_SOURCES = cs_util_instance.c misc_util.c device_parsing.c \
- xmlgen.c infostore.c pool_parsing.c acl_parsing.c
-libxkutil_la_LDFLAGS = -version-info @VERSION_INFO@
-libxkutil_la_LIBADD = @LIBVIRT_LIBS@ \
- @LIBUUID_LIBS@
+libxkutil_la_LIBADD = \
+ @LIBVIRT_LIBS@ \
+ @LIBUUID_LIBS@
Oooops, I screwed it with LDFLAGS here. Sending a new version right now.
--
Eduardo de Barros Lima
Software Engineer, Open Virtualization
Linux Technology Center - IBM/Brazil
eblima(a)br.ibm.com