summaryrefslogtreecommitdiffstats
path: root/src/lib/yang/Makefile.am
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2022-10-05 16:16:03 +0200
committerAndrei Pavel <andrei@isc.org>2022-10-21 16:45:24 +0200
commitf37159f34c666369322b61c1eb05bc42f52fd573 (patch)
treeb1592b7270b5e8e05eb2ba1074c12afefdd02149 /src/lib/yang/Makefile.am
parent[#2311] ax_find_library: search for .pc file in lib64 as well (diff)
downloadkea-f37159f34c666369322b61c1eb05bc42f52fd573.tar.xz
kea-f37159f34c666369322b61c1eb05bc42f52fd573.zip
[#2311] migrate autoconf to libyang2 and sysrepo2
Diffstat (limited to 'src/lib/yang/Makefile.am')
-rw-r--r--src/lib/yang/Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/yang/Makefile.am b/src/lib/yang/Makefile.am
index f7c82f87c5..f0230100f2 100644
--- a/src/lib/yang/Makefile.am
+++ b/src/lib/yang/Makefile.am
@@ -2,8 +2,14 @@ SUBDIRS = . testutils pretests tests
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += $(BOOST_INCLUDES)
+AM_CPPFLAGS += $(LIBYANG_CPPFLAGS)
+AM_CPPFLAGS += $(LIBYANG_INCLUDEDIR)
+AM_CPPFLAGS += $(LIBYANGCPP_CPPFLAGS)
+AM_CPPFLAGS += $(LIBYANGCPP_INCLUDEDIR)
AM_CPPFLAGS += $(SYSREPO_CPPFLAGS)
AM_CPPFLAGS += $(SYSREPO_INCLUDEDIR)
+AM_CPPFLAGS += $(SYSREPOCPP_CPPFLAGS)
+AM_CPPFLAGS += $(SYSREPOCPP_INCLUDEDIR)
AM_CXXFLAGS = $(KEA_CXXFLAGS)
lib_LTLIBRARIES = libkea-yang.la
@@ -38,7 +44,11 @@ libkea_yang_la_LIBADD += $(top_builddir)/src/lib/cc/libkea-cc.la
libkea_yang_la_LIBADD += $(top_builddir)/src/lib/log/libkea-log.la
libkea_yang_la_LIBADD += $(top_builddir)/src/lib/util/libkea-util.la
libkea_yang_la_LIBADD += $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
-libkea_yang_la_LIBADD += $(LOG4CPLUS_LIBS) $(BOOST_LIBS) $(SYSREPO_LIBS)
+libkea_yang_la_LIBADD += $(LOG4CPLUS_LIBS) $(BOOST_LIBS)
+libkea_yang_la_LIBADD += $(LIBYANG_LIBS)
+libkea_yang_la_LIBADD += $(LIBYANGCPP_LIBS)
+libkea_yang_la_LIBADD += $(SYSREPO_LIBS)
+libkea_yang_la_LIBADD += $(SYSREPOCPP_LIBS)
libkea_yang_la_LDFLAGS = -no-undefined -version-info 39:0:0