chiark / gitweb /
use libudev code, unify logging, pass udev context around everywhere
[elogind.git] / extras / scsi_id / Makefile.am
index 7f890b0..fc5c477 100644 (file)
@@ -4,7 +4,8 @@ udevhome_PROGRAMS = \
 
 AM_CPPFLAGS = \
        -DSYSCONFDIR=\""$(sysconfdir)"\" \
-       -DUDEV_PREFIX=\""$(udev_prefix)"\"
+       -DUDEV_PREFIX=\""$(udev_prefix)"\" \
+       -D_LIBUDEV_COMPILATION
 
 scsi_id_SOURCES = \
        scsi_id.c \
@@ -12,6 +13,9 @@ scsi_id_SOURCES = \
        scsi.h \
        scsi_id.h \
        bsg.h \
+       ../../udev/lib/libudev.h \
+       ../../udev/lib/libudev.c \
+       ../../udev/udev_sysfs.c \
        ../../udev/udev_sysdeps.c \
        ../../udev/udev_utils.c \
        ../../udev/udev_utils_string.c