summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
Diffstat (limited to 'udev')
-rw-r--r--udev/Makefile.am24
1 files changed, 4 insertions, 20 deletions
diff --git a/udev/Makefile.am b/udev/Makefile.am
index 6c0b94e2cf..f1d4d2d437 100644
--- a/udev/Makefile.am
+++ b/udev/Makefile.am
@@ -7,31 +7,16 @@ sbin_PROGRAMS = \
noinst_PROGRAMS = \
test-udev
-common_ldadd =
-
-common_files = \
+common_files =\
udev.h \
udev-event.c \
udev-watch.c \
udev-node.c \
- udev-rules.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-device-private.c \
- ../libudev/libudev-monitor.c \
- ../libudev/libudev-enumerate.c \
- ../libudev/libudev-queue.c \
- ../libudev/libudev-queue-private.c \
- ../libudev/libudev-ctrl.c
+ udev-rules.c
+common_ldadd = \
+ $(top_builddir)/libudev/libudev-private.la
if WITH_SELINUX
-common_files += \
- ../libudev/libudev-selinux-private.c
common_ldadd += \
$(SELINUX_LIBS)
endif
@@ -43,7 +28,6 @@ udevd_SOURCES = \
udevd_LDADD = \
$(common_ldadd)
-
udevadm_SOURCES = \
$(common_files) \
udevadm.c \