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
libudev_internal_la_SOURCES =\
$(libudev_la_SOURCES) \
- src/libudev/libudev-device-private.c \
- src/libudev/libudev-queue-private.c
+ src/libudev/libudev-device-private.c
libudev_internal_la_CFLAGS = \
$(AM_CFLAGS) \
-shared \
-shrext .so.2
+libnss_myhostname_la_LIBADD = \
+ libsystemd-shared.la \
+ libsystemd-internal.la
+
lib_LTLIBRARIES += \
libnss_myhostname.la
endif
test_libudev_sym_SOURCES = \
test-libudev-sym.c
+test_libudev_sym_CFLAGS = \
+ $(AM_CFLAGS) \
+ -Wno-deprecated-declarations
test_libudev_sym_LDADD = \
libudev.la