chiark / gitweb /
move syslog wrapper to libudev
[elogind.git] / extras / edd_id / Makefile.am
index 575de85..7c562d3 100644 (file)
@@ -1,3 +1,5 @@
+include $(top_srcdir)/Makefile.am.inc
+
 udevhomedir = $(udev_prefix)/lib/udev
 udevhome_PROGRAMS = \
        edd_id
@@ -6,26 +8,12 @@ udevrulesdir = $(udev_prefix)/lib/udev/rules.d
 dist_udevrules_DATA = \
        61-persistent-storage-edd.rules
 
-AM_CPPFLAGS = \
-       -DSYSCONFDIR=\""$(sysconfdir)"\" \
-       -DUDEV_PREFIX=\""$(udev_prefix)"\" \
-       -D_LIBUDEV_COMPILATION
-
 edd_id_SOURCES = \
        edd_id.c \
-       ../../udev/lib/libudev.h \
-       ../../udev/lib/libudev.c \
-       ../../udev/udev_sysdeps.c \
-       ../../udev/udev_utils.c \
-       ../../udev/udev_utils_string.c
-
-if USE_SELINUX
-edd_id_LDADD = \
-       $(SELINUX_LIBS)
-endif
+       ../../libudev/libudev.h \
+       ../../libudev/libudev.c \
+       ../../libudev/libudev-list.c \
+       ../../libudev/libudev-util.c
 
 dist_man_MANS = \
        edd_id.8
-
-distclean-local:
-       rm -f Makefile.in