test-install \
test-watchdog \
test-log \
- test-ipcrm \
+ test-ipcrm
+
+if HAVE_KMOD
+manual_tests += \
test-rtnl-manual
+endif
tests += \
test-job-type \
test_rtnl_manual_SOURCES = \
src/test/test-rtnl-manual.c
+test_rtnl_manual_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(KMOD_CFLAGS)
+
test_rtnl_manual_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la \
- -lkmod
+ $(KMOD_LIBS)
test_ellipsize_SOURCES = \
src/test/test-ellipsize.c
-shared \
-shrext .so.2
+libnss_myhostname_la_LIBADD = \
+ libsystemd-shared.la \
+ libsystemd-internal.la
+
lib_LTLIBRARIES += \
libnss_myhostname.la
endif