summaryrefslogtreecommitdiff
path: root/extras/ata_id
diff options
context:
space:
mode:
Diffstat (limited to 'extras/ata_id')
-rw-r--r--extras/ata_id/Makefile.am20
-rw-r--r--extras/ata_id/ata_id.c2
2 files changed, 21 insertions, 1 deletions
diff --git a/extras/ata_id/Makefile.am b/extras/ata_id/Makefile.am
new file mode 100644
index 0000000000..81332dd3f6
--- /dev/null
+++ b/extras/ata_id/Makefile.am
@@ -0,0 +1,20 @@
+udevhomedir = $(udev_prefix)/lib/udev
+udevhome_PROGRAMS = \
+ ata_id
+
+AM_CPPFLAGS = \
+ -DSYSCONFDIR=\""$(sysconfdir)"\" \
+ -DUDEV_PREFIX=\""$(udev_prefix)"\"
+
+ata_id_SOURCES = \
+ ata_id.c \
+ ../../udev/udev_sysdeps.c \
+ ../../udev/udev_utils.c \
+ ../../udev/udev_utils_string.c
+
+dist_man_MANS = \
+ ata_id.8
+
+distclean-local:
+ rm -f Makefile.in
+
diff --git a/extras/ata_id/ata_id.c b/extras/ata_id/ata_id.c
index 6d3c2330b4..125c3f3dd7 100644
--- a/extras/ata_id/ata_id.c
+++ b/extras/ata_id/ata_id.c
@@ -26,7 +26,7 @@
#include <linux/types.h>
#include <linux/hdreg.h>
-#include "../../udev.h"
+#include "../../udev/udev.h"
#ifdef USE_LOG
void log_message(int priority, const char *format, ...)