noinst_LTLIBRARIES = libnetconf.la
- libnetconf_la_SOURCES = netconf_log.cc netconf_log.h
- libnetconf_la_SOURCES += parser_context.cc parser_context.h
- libnetconf_la_SOURCES += parser_context_decl.h netconf_lexer.ll
+ libnetconf_la_SOURCES = netconf_cfg_mgr.cc netconf_cfg_mgr.h
-libnetconf_la_SOURCES += netconf_controller.h netconf_controller.cc
++libnetconf_la_SOURCES += netconf_controller.cc netconf_controller.h
+ libnetconf_la_SOURCES += netconf_log.cc netconf_log.h
+libnetconf_la_SOURCES += netconf_parser.cc netconf_parser.h
+ libnetconf_la_SOURCES += netconf_process.cc netconf_process.h
++libnetconf_la_SOURCES += parser_context.cc parser_context.h
++libnetconf_la_SOURCES += parser_context_decl.h
+ libnetconf_la_SOURCES += simple_parser.cc simple_parser.h
+libnetconf_la_SOURCES += location.hh position.hh stack.hh
++libnetconf_la_SOURCES += netconf_lexer.ll netconf_parser.yy
nodist_libnetconf_la_SOURCES = netconf_messages.h netconf_messages.cc
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += -I$(top_srcdir)/src -I$(top_builddir)/src
AM_CPPFLAGS += -I$(top_srcdir)/src/bin -I$(top_builddir)/src/bin
+ AM_CPPFLAGS += -DTEST_DATA_BUILDDIR=\"$(abs_top_builddir)/src/bin/netconf/tests\"
AM_CPPFLAGS += $(BOOST_INCLUDES)
+AM_CPPFLAGS += -DCFG_EXAMPLES=\"$(abs_top_srcdir)/doc/examples/netconf\"
CLEANFILES = *.json *.log
--DISTCLEANFILES = netconf_tests.sh
++DISTCLEANFILES = netconf_tests.sh test_libraries.h
AM_CXXFLAGS = $(KEA_CXXFLAGS)
TESTS =
if HAVE_GTEST
+ noinst_LTLIBRARIES = libbasic.la
+
TESTS += netconf_unittests
- netconf_unittests_SOURCES = run_unittests.cc
+ netconf_unittests_SOURCES = netconf_cfg_mgr_unittests.cc
+ netconf_unittests_SOURCES += netconf_controller_unittests.cc
-netconf_unittests_SOURCES += netconf_env_unittest.cc
+ netconf_unittests_SOURCES += netconf_process_unittests.cc
+netconf_unittests_SOURCES += parser_unittests.cc
+ netconf_unittests_SOURCES += run_unittests.cc
netconf_unittests_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
netconf_unittests_LDFLAGS = $(AM_LDFLAGS) $(CRYPTO_LDFLAGS)