chiark / gitweb /
fix NAME="" logic
[elogind.git] / extras / fstab_import / Makefile.am
index 7b99471..c63dc7c 100644 (file)
@@ -1,3 +1,5 @@
+include $(top_srcdir)/Makefile.am.inc
+
 udevhomedir = $(udev_prefix)/lib/udev
 udevhome_PROGRAMS = \
        fstab_import
@@ -6,25 +8,10 @@ udevrulesdir = $(udev_prefix)/lib/udev/rules.d
 dist_udevrules_DATA = \
        79-fstab_import.rules
 
-AM_CPPFLAGS = \
-       -DSYSCONFDIR=\""$(sysconfdir)"\" \
-       -DUDEV_PREFIX=\""$(udev_prefix)"\" \
-       -D_LIBUDEV_COMPILATION
-
 fstab_import_SOURCES = \
        fstab_import.c \
        ../../udev/lib/libudev.h \
        ../../udev/lib/libudev.c \
-       ../../udev/lib/libudev-util.c \
-       ../../udev/udev_sysdeps.c \
-       ../../udev/udev_utils.c \
-       ../../udev/udev_utils_string.c
-
-if USE_SELINUX
-fstab_import_LDADD = \
-       $(SELINUX_LIBS)
-endif
-
-distclean-local:
-       rm -f Makefile.in
+       ../../udev/lib/libudev-list.c \
+       ../../udev/lib/libudev-util.c