summaryrefslogtreecommitdiff
path: root/extras/floppy/Makefile.am
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/floppy/Makefile.am
parent726687ad48bdececed1e7e44387c50e009e28208 (diff)
use autotools
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
+