summaryrefslogtreecommitdiffstats
path: root/src/lib/log/compiler/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/log/compiler/Makefile.am')
-rw-r--r--src/lib/log/compiler/Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/lib/log/compiler/Makefile.am b/src/lib/log/compiler/Makefile.am
new file mode 100644
index 0000000..ff414b8
--- /dev/null
+++ b/src/lib/log/compiler/Makefile.am
@@ -0,0 +1,24 @@
+SUBDIRS = .
+
+AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
+AM_CPPFLAGS += $(BOOST_INCLUDES)
+
+AM_CXXFLAGS = $(KEA_CXXFLAGS)
+
+if USE_STATIC_LINK
+AM_LDFLAGS = -static
+endif
+
+CLEANFILES = *.gcno *.gcda
+
+if GENERATE_MESSAGES
+
+bin_PROGRAMS = kea-msg-compiler
+
+kea_msg_compiler_SOURCES = message.cc
+kea_msg_compiler_LDADD = $(top_builddir)/src/lib/log/libkea-log.la
+kea_msg_compiler_LDADD += $(top_builddir)/src/lib/util/libkea-util.la
+kea_msg_compiler_LDADD += $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
+kea_msg_compiler_LDADD += $(LOG4CPLUS_LIBS)
+
+endif