From: Francis Dupont Date: Sat, 28 Feb 2015 00:37:39 +0000 (+0100) Subject: [3516] added/updated Makefiles X-Git-Tag: trac3874_base~8^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec064f63308e6186e36db429c12567212b7cb04e;p=thirdparty%2Fkea.git [3516] added/updated Makefiles --- diff --git a/Makefile.am b/Makefile.am index f580336779..12bf76b326 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS} # ^^^^^^^^ This has to be the first line and cannot come later in this # Makefile.am due to some bork in some versions of autotools. -SUBDIRS = compatcheck doc . ext src tests m4macros +SUBDIRS = compatcheck tools doc . ext src tests m4macros USE_LCOV=@USE_LCOV@ LCOV=@LCOV@ GENHTML=@GENHTML@ diff --git a/configure.ac b/configure.ac index e9161b341f..0eda398d2e 100644 --- a/configure.ac +++ b/configure.ac @@ -1473,6 +1473,7 @@ AC_CONFIG_FILES([compatcheck/Makefile src/lib/util/threads/Makefile src/lib/util/threads/tests/Makefile src/lib/util/unittests/Makefile + tools/Makefile tools/path_replacer.sh tests/Makefile tests/tools/Makefile diff --git a/doc/guide/Makefile.am b/doc/guide/Makefile.am index 20e5bdfdd8..6be5af0017 100644 --- a/doc/guide/Makefile.am +++ b/doc/guide/Makefile.am @@ -13,7 +13,7 @@ EXTRA_DIST = $(DOCBOOK) DISTCLEANFILES = $(HTMLDOCS) $(DOCS) kea-messages.xml kea-messages.xml: - $(PYTHON) $(top_srcdir)/tools/system_messages.py -o $@ \ + $(top_srcdir)/tools/system_messages -o $@ \ `find $(top_srcdir) -name "*.mes" -print` # This is not a "man" manual, but reuse this for now for docbook. diff --git a/tools/Makefile.am b/tools/Makefile.am new file mode 100644 index 0000000000..d82fb786ad --- /dev/null +++ b/tools/Makefile.am @@ -0,0 +1,16 @@ +AM_CPPFLAGS = $(BOOST_INCLUDES) + +AM_CXXFLAGS = $(KEA_CXXFLAGS) + +if USE_STATIC_LINK +AM_LDFLAGS = -static +endif + +CLEANFILES = *.gcno *.gcda + +if GENERATE_DOCS + +noinst_PROGRAMS = system_messages +system_messages_SOURCES = system_messages.cc + +endif \ No newline at end of file