summaryrefslogtreecommitdiff
path: root/extras/floppy
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-07-25 20:37:45 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-07-25 20:37:45 +0200
commit2a827c959a77eb6df9539235c46c96b78a824cf9 (patch)
treef1cbe4fe58a64b0eaddaaf63ce470b751fae7b64 /extras/floppy
parent4b6769f61206e90850aff8a30e8e93fbfcc18673 (diff)
make: build internal tools against libudev-private.la
Diffstat (limited to 'extras/floppy')
-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