12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- SUBDIRS = . tests
- AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
- AM_CPPFLAGS += $(BOOST_INCLUDES)
- AM_CPPFLAGS += -I$(top_srcdir)/src/lib/dns -I$(top_builddir)/src/lib/dns
- AM_CXXFLAGS = $(KEA_CXXFLAGS)
- if USE_GXX
- # ASIO header files used in session.cc will trigger the "unused-parameter"
- # warning. Unfortunately there doesn't seem to be an easy way to selectively
- # avoid the error. As a short term workaround we suppress this warning
- # for the entire this module. See also src/bin/auth/Makefile.am.
- AM_CXXFLAGS += -Wno-unused-parameter
- AM_CXXFLAGS += -fno-strict-aliasing
- endif
- lib_LTLIBRARIES = libkea-cc.la
- libkea_cc_la_SOURCES = data.cc data.h session.cc session.h
- libkea_cc_la_SOURCES += logger.cc logger.h
- nodist_libkea_cc_la_SOURCES = cc_messages.cc cc_messages.h
- libkea_cc_la_SOURCES += proto_defs.cc proto_defs.h
- libkea_cc_la_LIBADD = $(top_builddir)/src/lib/log/libkea-log.la
- CLEANFILES = *.gcno *.gcda session_config.h cc_messages.cc cc_messages.h \
- s-messages
- session_config.h: session_config.h.pre
- $(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" session_config.h.pre >$@
- cc_messages.cc cc_messages.h: s-messages
- s-messages: cc_messages.mes
- $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/cc/cc_messages.mes
- touch $@
- BUILT_SOURCES = session_config.h cc_messages.cc cc_messages.h proto_defs.h
- # This rule is here, but we added proto_defs.h to the git repo,
- # so the script is no longer needed.
- #proto_defs.h: $(top_srcdir)/src/lib/util/python/const2hdr.py proto_defs.cc
- # $(PYTHON) $(top_srcdir)/src/lib/util/python/const2hdr.py $(srcdir)/proto_defs.cc $@
- EXTRA_DIST = cc_messages.mes
|