chiark / gitweb /
libsystemd-rtnl: add a rtnetlink library
[elogind.git] / Makefile.am
index e61910064d8621ff18c720c05415cc90b3db356d..6ce4b7fffa4e52dfb35a4a47891a4b998e247ee0 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