chiark / gitweb /
udev: link-config: add rtnl support
[elogind.git] / Makefile.am
index e61910064d8621ff18c720c05415cc90b3db356d..e5ed3020b1932afd8323eef4c20bdd981c0d6dd3 100644 (file)
@@ -619,6 +619,25 @@ EXTRA_DIST += \
        make-directive-index.py \
        xml_helper.py
 
+# ------------------------------------------------------------------------------
+noinst_LTLIBRARIES += \
+       libsystemd-rtnl.la
+
+libsystemd_rtnl_la_SOURCES = \
+       src/systemd/sd-rtnl.h \
+       src/libsystemd-rtnl/sd-rtnl.c \
+       src/libsystemd-rtnl/rtnl-internal.h \
+       src/libsystemd-rtnl/rtnl-message.c
+
+test_rtnl_SOURCES = \
+       src/libsystemd-rtnl/test-rtnl.c
+
+test_rtnl_LDADD = \
+       libsystemd-shared.la \
+       libsystemd-rtnl.la
+
+tests += test-rtnl
+
 # ------------------------------------------------------------------------------
 noinst_LTLIBRARIES += \
        libsystemd-shared.la
@@ -2325,6 +2344,7 @@ libudev_core_la_LIBADD = \
        libsystemd-label.la \
        libsystemd-daemon-internal.la \
        libsystemd-shared.la \
+       libsystemd-rtnl.la \
        $(BLKID_LIBS) \
        $(KMOD_LIBS)