]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[gitlab1] Makefiles updated
authorTomek Mrugalski <tomasz@isc.org>
Tue, 14 Aug 2018 15:29:11 +0000 (17:29 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 21 Aug 2018 10:18:56 +0000 (12:18 +0200)
configure.ac
src/bin/netconf/Makefile.am
src/bin/netconf/tests/Makefile.am

index bcee1b4bbee5bcf924ccb917ac1571131eb41048..0747a0db85344683e82845c08c101c8d4d039a11 100644 (file)
@@ -1500,6 +1500,7 @@ AC_CONFIG_FILES([Makefile
                  src/bin/lfc/tests/Makefile
                  src/bin/netconf/Makefile
                  src/bin/netconf/tests/Makefile
+                 src/bin/netconf/tests/netconf_tests.sh
                  src/bin/perfdhcp/Makefile
                  src/bin/perfdhcp/tests/Makefile
                  src/bin/perfdhcp/tests/testdata/Makefile
index e45829389e7e3f8a37a0e985e8bba1a8a97af020..1c2ce7ff7bba0e8704fe280964518654dd1e0d81 100644 (file)
@@ -57,21 +57,8 @@ sbin_PROGRAMS = kea-netconf
 kea_netconf_SOURCES  = main.cc
 
 kea_netconf_LDADD  = libnetconf.la
-#kea_netconf_LDADD += $(top_builddir)/src/lib/cfgrpt/libcfgrpt.la
 kea_netconf_LDADD += $(top_builddir)/src/lib/dhcpsrv/libkea-dhcpsrv.la
-#kea_netconf_LDADD += $(top_builddir)/src/lib/eval/libkea-eval.la
-#kea_netconf_LDADD += $(top_builddir)/src/lib/dhcp_ddns/libkea-dhcp_ddns.la
-#kea_netconf_LDADD += $(top_builddir)/src/lib/stats/libkea-stats.la
-#kea_netconf_LDADD += $(top_builddir)/src/lib/config/libkea-cfgclient.la
-#kea_netconf_LDADD += $(top_builddir)/src/lib/dhcp/libkea-dhcp++.la
-#kea_netconf_LDADD += $(top_builddir)/src/lib/asiolink/libkea-asiolink.la
-#kea_netconf_LDADD += $(top_builddir)/src/lib/cc/libkea-cc.la
-#kea_netconf_LDADD += $(top_builddir)/src/lib/dns/libkea-dns++.la
-#kea_netconf_LDADD += $(top_builddir)/src/lib/cryptolink/libkea-cryptolink.la
-#kea_netconf_LDADD += $(top_builddir)/src/lib/hooks/libkea-hooks.la
 kea_netconf_LDADD += $(top_builddir)/src/lib/log/libkea-log.la
-#kea_netconf_LDADD += $(top_builddir)/src/lib/util/threads/libkea-threads.la
-#kea_netconf_LDADD += $(top_builddir)/src/lib/util/libkea-util.la
 kea_netconf_LDADD += $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
 kea_netconf_LDADD += $(LOG4CPLUS_LIBS) $(CRYPTO_LIBS) $(BOOST_LIBS) $(SYSREPO_LIBS)
 
@@ -92,11 +79,11 @@ if GENERATE_PARSER
 # Call flex with -s to check that the default rule can be suppressed
 # Call bison with -W to get warnings like unmarked empty rules
 # Note C++11 deprecated register still used by flex < 2.6.0
-location.hh position.hh stack.hh netconf_parser.cc netconf_parser.h: netconf_parser.yy
-       $(YACC) --defines=netconf_parser.h --report=all --report-file=netconf_parser.report -o netconf_parser.cc netconf_parser.yy
+#location.hh position.hh stack.hh netconf_parser.cc netconf_parser.h: netconf_parser.yy
+#      $(YACC) --defines=netconf_parser.h --report=all --report-file=netconf_parser.report -o netconf_parser.cc netconf_parser.yy
 
-netconf_lexer.cc: netconf_lexer.ll
-       $(LEX) --prefix netconf_ -o netconf_lexer.cc netconf_lexer.ll
+#netconf_lexer.cc: netconf_lexer.ll
+#      $(LEX) --prefix netconf_ -o netconf_lexer.cc netconf_lexer.ll
 
 else
 
index 5e3384a9ab4be544737121486f9b742cc3838b1a..cb326e8443fbf4628bd48cc5d2a8fda300c29f9c 100644 (file)
@@ -1,5 +1,11 @@
 SHTESTS =
 
+SHTESTS += netconf_tests.sh
+
+noinst_SCRIPTS = netconf_tests.sh
+
+EXTRA_DIST = netconf_tests.sh.in
+
 # test using command-line arguments, so use check-local target instead of TESTS
 check-local:
        for shtest in $(SHTESTS) ; do \
@@ -16,6 +22,8 @@ AM_CPPFLAGS += $(BOOST_INCLUDES)
 
 CLEANFILES = *.json *.log
 
+DISTCLEANFILES = netconf_tests.sh
+
 AM_CXXFLAGS = $(KEA_CXXFLAGS)
 
 if USE_STATIC_LINK