summaryrefslogtreecommitdiff
path: root/extras/floppy/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'extras/floppy/Makefile.am')
-rw-r--r--extras/floppy/Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/extras/floppy/Makefile.am b/extras/floppy/Makefile.am
new file mode 100644
index 0000000000..4854d5245b
--- /dev/null
+++ b/extras/floppy/Makefile.am
@@ -0,0 +1,29 @@
+udevhomedir = $(udev_prefix)/lib/udev
+udevhome_PROGRAMS = \
+ create_floppy_devices
+
+AM_CPPFLAGS = \
+ -DSYSCONFDIR=\""$(sysconfdir)"\" \
+ -DUDEV_PREFIX=\""$(udev_prefix)"\"
+
+create_floppy_devices_SOURCES = \
+ create_floppy_devices.c \
+ ../../udev/udev_config.c \
+ ../../udev/udev_sysdeps.c \
+ ../../udev/udev_utils.c \
+ ../../udev/udev_utils_string.c \
+ ../../udev/udev_utils_file.c
+if USE_SELINUX
+create_floppy_devices_SOURCES += \
+ ../../udev/udev_selinux.c
+
+create_floppy_devices_LDADD = \
+ $(SELINUX_LIBS)
+endif
+
+dist_man_MANS = \
+ create_floppy_devices.8
+
+distclean-local:
+ rm -f Makefile.in
+