summaryrefslogtreecommitdiff
path: root/extras/ata_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-07-30 01:45:23 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-07-30 01:45:23 +0200
commit01618658fd82dbc5e6315b639f00e87c6fee3c54 (patch)
treedf8e628d04a81186d6d431fd3b1fa50a3d34987a /extras/ata_id
parent726687ad48bdececed1e7e44387c50e009e28208 (diff)
use autotools
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, ...)