summaryrefslogtreecommitdiff
path: root/extras/fstab_import
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/fstab_import
parent726687ad48bdececed1e7e44387c50e009e28208 (diff)
use autotools
Diffstat (limited to 'extras/fstab_import')
-rw-r--r--extras/fstab_import/Makefile.am21
-rw-r--r--extras/fstab_import/fstab_import.c2
2 files changed, 22 insertions, 1 deletions
diff --git a/extras/fstab_import/Makefile.am b/extras/fstab_import/Makefile.am
new file mode 100644
index 0000000000..0ee7efb9ce
--- /dev/null
+++ b/extras/fstab_import/Makefile.am
@@ -0,0 +1,21 @@
+udevhomedir = $(udev_prefix)/lib/udev
+udevhome_PROGRAMS = \
+ fstab_import
+
+udevrulesdir = $(udev_prefix)/lib/udev/rules.d
+dist_udevrules_DATA = \
+ 79-fstab_import.rules
+
+AM_CPPFLAGS = \
+ -DSYSCONFDIR=\""$(sysconfdir)"\" \
+ -DUDEV_PREFIX=\""$(udev_prefix)"\"
+
+fstab_import_SOURCES = \
+ fstab_import.c \
+ ../../udev/udev_sysdeps.c \
+ ../../udev/udev_utils.c \
+ ../../udev/udev_utils_string.c
+
+distclean-local:
+ rm -f Makefile.in
+
diff --git a/extras/fstab_import/fstab_import.c b/extras/fstab_import/fstab_import.c
index a8de067b38..2d24cfb38a 100644
--- a/extras/fstab_import/fstab_import.c
+++ b/extras/fstab_import/fstab_import.c
@@ -24,7 +24,7 @@
#include <mntent.h>
#include <sys/stat.h>
-#include "../../udev.h"
+#include "../../udev/udev.h"
static int debug;
static char root[PATH_SIZE] = "/dev";