diff options
Diffstat (limited to 'common/ini/Makefile.am')
-rw-r--r-- | common/ini/Makefile.am | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/common/ini/Makefile.am b/common/ini/Makefile.am deleted file mode 100644 index ee6c6dee..00000000 --- a/common/ini/Makefile.am +++ /dev/null @@ -1,86 +0,0 @@ -#DEBUG_FLAGS=@DEBUG_VAR@ -TRACE_LEVEL=@TRACE_VAR@ - -builddir ?= . - -topdir=$(srcdir)/.. -topbuilddir=$(builddir)/.. - -AM_CFLAGS = -if HAVE_GCC - AM_CFLAGS += \ - -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ - -Wcast-align -Wwrite-strings -endif - -AM_CPPFLAGS = -I$(topdir) -I$(topdir)/trace -I$(topdir)/collection \ - -I$(topdir)/path_utils -I$(topdir)/refarray $(TRACE_LEVEL) - -ACLOCAL_AMFLAGS = -I m4 - -# Set up the pkg-config file -pkgconfigdir = $(libdir)/pkgconfig -dist_pkgconfig_DATA = ini_config.pc - -dist_noinst_DATA = \ - ini.conf \ - ini.d/real.conf \ - ini.d/test.conf \ - m4 - -dist_include_HEADERS = \ - ini_config.h - -# Build library -lib_LTLIBRARIES = libini_config.la -libini_config_la_SOURCES = \ - ini_config.c \ - ini_config.h \ - ini_get_value.c \ - ini_get_array.c \ - ini_list.c \ - ini_print.c \ - ini_parse.c \ - ini_parse.h \ - ini_metadata.c \ - ini_metadata.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 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: -# A temp way of building docs until we hook into the package build - rm -fR doc - mkdir -p doc - $(DOXYGEN) ini_config.cfg.doxy -else -docs: - @echo "Doxygen not installed, cannot generate documentation" - @exit 1 -endif - -TESTS = ini_config_ut ini_comment_ut - -tests: all $(check_PROGRAMS) - -clean-local: - rm -Rf doc |