X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile.am;h=451e53ace343d69ccaf320224d21695eae93b23a;hb=6fc518838cd717f2f8258f8a0cca37797c187a06;hp=5d846052d80088bee77a0d97900aab4e4ab4fd43;hpb=dec51b29f9c7bd63b3c0555b486d163fb94981c9;p=elogind.git diff --git a/Makefile.am b/Makefile.am index 5d846052d..451e53ace 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1176,8 +1176,12 @@ manual_tests += \ test-install \ test-watchdog \ test-log \ - test-ipcrm \ + test-ipcrm + +if HAVE_KMOD +manual_tests += \ test-rtnl-manual +endif tests += \ test-job-type \ @@ -1402,10 +1406,14 @@ test_ipcrm_LDADD = \ 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 @@ -2587,8 +2595,7 @@ noinst_LTLIBRARIES += \ 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) \ @@ -5169,6 +5176,9 @@ test_libsystemd_sym_LDADD = \ test_libudev_sym_SOURCES = \ test-libudev-sym.c +test_libudev_sym_CFLAGS = \ + $(AM_CFLAGS) \ + -Wno-deprecated-declarations test_libudev_sym_LDADD = \ libudev.la