Browse Source

[3516] added/updated Makefiles

Francis Dupont 10 years ago
parent
commit
ec064f6330
4 changed files with 19 additions and 2 deletions
  1. 1 1
      Makefile.am
  2. 1 0
      configure.ac
  3. 1 1
      doc/guide/Makefile.am
  4. 16 0
      tools/Makefile.am

+ 1 - 1
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@

+ 1 - 0
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

+ 1 - 1
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.

+ 16 - 0
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