chiark / gitweb /
Also merge into the top-level Makefile.am the simpler extras.
[elogind.git] / Makefile.am.inc
index f61706a2c90bebdec7fd3681bdfdc54374d2ccbd..59d21aa22e380aed3360916b87a6ade0c9ce47f6 100644 (file)
@@ -1,9 +1,14 @@
 AM_CPPFLAGS = \
        -include $(top_builddir)/config.h \
+       -I$(top_srcdir)/libudev \
        -DSYSCONFDIR=\""$(sysconfdir)"\" \
-       -DUDEV_PREFIX=\""$(udev_prefix)"\" \
-       -D_LIBUDEV_COMPILATION
+       -DLIBEXECDIR=\""$(libexecdir)"\"
 
 AM_CFLAGS =
 
-AM_LDFLAGS =
+AM_LDFLAGS = \
+       -Wl,--as-needed
+
+udevrulesdir = \
+       $(libexecdir)/rules.d
+