diff options
Diffstat (limited to 'src/test/Makefile.am')
-rw-r--r-- | src/test/Makefile.am | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/src/test/Makefile.am b/src/test/Makefile.am index 3c6095ee88..ff45517cdf 100644 --- a/src/test/Makefile.am +++ b/src/test/Makefile.am @@ -1,5 +1,11 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} +AM_CPPFLAGS = \ + -DVERSION \ + -DCLONE_NEWNS \ + -I $(top_srcdir)/src/libudev \ + -I $(top_srcdir)/src/udev + noinst_PROGRAMS = \ test-libudev \ test-udev @@ -8,17 +14,21 @@ test_libudev_SOURCES = \ test-libudev.c test_libudev_LDADD = \ - $(top_srcdir)/src/libudev/libudev.la + $(top_builddir)/src/libudev/libudev-private.la \ + $(top_builddir)/src/udev/libudev-core.la test_libudev_CPPFLAGS = \ - -I $(top_srcdir)/src/libudev + -I $(top_srcdir)/src/libudev \ + $(AM_CPPFLAGS) test_udev_SOURCES = \ test-udev.c -test_udev_CPPFLAGS = \ - -I $(top_srcdir)/src/udev - test_udev_LDADD = \ - $(top_srcdir)/src/udev/libudev-core.la \ + $(top_builddir)/src/libudev/libudev-private.la \ + $(top_builddir)/src/udev/libudev-core.la \ $(SELINUX_LIBS) + +test_udev_CPPFLAGS = \ + -I $(top_srcdir)/src/udev \ + $(AM_CPPFLAGS) |