summaryrefslogtreecommitdiff
path: root/udev
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 /udev
parent4b6769f61206e90850aff8a30e8e93fbfcc18673 (diff)
make: build internal tools against libudev-private.la
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 \