From 01c94127cf0fd72b6db828f1830fff1e5ed55bd1 Mon Sep 17 00:00:00 2001 From: Dmitri Pal Date: Wed, 21 Apr 2010 21:16:18 -0400 Subject: Introducing a comment object Comment object will store the comments found in the INI file. It is based on the ref_array interface. Fixing review comments for comment obj. --- common/ini/Makefile.am | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'common/ini/Makefile.am') diff --git a/common/ini/Makefile.am b/common/ini/Makefile.am index 1dc55d9d4..ee6c6dee0 100644 --- a/common/ini/Makefile.am +++ b/common/ini/Makefile.am @@ -13,7 +13,8 @@ if HAVE_GCC -Wcast-align -Wwrite-strings endif -AM_CPPFLAGS = -I$(topdir) -I$(topdir)/trace -I$(topdir)/collection -I$(topdir)/path_utils $(TRACE_LEVEL) +AM_CPPFLAGS = -I$(topdir) -I$(topdir)/trace -I$(topdir)/collection \ + -I$(topdir)/path_utils -I$(topdir)/refarray $(TRACE_LEVEL) ACLOCAL_AMFLAGS = -I m4 @@ -43,21 +44,27 @@ libini_config_la_SOURCES = \ ini_parse.h \ ini_metadata.c \ ini_metadata.h \ - ini_defines.h + ini_defines.h \ + ini_comment.c \ + ini_comment.h libini_config_la_LIBADD = \ -L$(topbuilddir)/collection \ -L$(topbuilddir)/path_utils \ + -L$(topbuilddir)/refarray \ -lcollection \ + -lref_array \ -lpath_utils libini_config_la_LDFLAGS = \ -version-info 2:0:0 # Build unit test -check_PROGRAMS = ini_config_ut +check_PROGRAMS = ini_config_ut ini_comment_ut ini_config_ut_SOURCES = ini_config_ut.c ini_config_ut_LDADD = libini_config.la -L$(topbuilddir)/collection -lcollection +ini_comment_ut_SOURCES = ini_comment_ut.c +ini_comment_ut_LDADD = libini_config.la if HAVE_DOXYGEN docs: @@ -71,7 +78,7 @@ docs: @exit 1 endif -TESTS = ini_config_ut +TESTS = ini_config_ut ini_comment_ut tests: all $(check_PROGRAMS) -- cgit