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.am17
1 files changed, 5 insertions, 12 deletions
diff --git a/extras/floppy/Makefile.am b/extras/floppy/Makefile.am
index 3160ce5e76..05f7a0f167 100644
--- a/extras/floppy/Makefile.am
+++ b/extras/floppy/Makefile.am
@@ -4,19 +4,12 @@ libexec_PROGRAMS = \
create_floppy_devices
create_floppy_devices_SOURCES = \
- create_floppy_devices.c \
- ../../libudev/libudev.h \
- ../../libudev/libudev-private.h \
- ../../libudev/libudev.c \
- ../../libudev/libudev-list.c \
- ../../libudev/libudev-util.c \
- ../../libudev/libudev-util-private.c \
- ../../libudev/libudev-device.c \
- ../../libudev/libudev-enumerate.c
+ create_floppy_devices.c
-if WITH_SELINUX
-create_floppy_devices_SOURCES += \
- ../../libudev/libudev-selinux-private.c
create_floppy_devices_LDADD = \
+ $(top_builddir)/libudev/libudev-private.la
+
+if WITH_SELINUX
+create_floppy_devices_LDADD += \
$(SELINUX_LIBS)
endif