summaryrefslogtreecommitdiff
path: root/src/udev/Makefile.am
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-17 00:12:08 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-17 00:12:08 -0500
commit8b9605d16a070dcfb4fdf2c88d2f361c9db48d18 (patch)
tree33a649fafe87342594f41631c5fbef650c0c64e1 /src/udev/Makefile.am
parentdbc4814264667d2ebf2f7300a4028461fdf532bd (diff)
src/udev: continue restoring needed deps
Diffstat (limited to 'src/udev/Makefile.am')
-rw-r--r--src/udev/Makefile.am67
1 files changed, 41 insertions, 26 deletions
diff --git a/src/udev/Makefile.am b/src/udev/Makefile.am
index a1e5e3e51a..16fbd42c03 100644
--- a/src/udev/Makefile.am
+++ b/src/udev/Makefile.am
@@ -17,20 +17,7 @@ sbin_PROGRAMS = \
udevadm
udevd_SOURCES = \
- udevd.c \
- conf-files.c \
- cgroup-util.c \
- dev-setup.c \
- exit-status.c \
- hashmap.c \
- label.c \
- log.c \
- mkdir.c \
- path-util.c \
- set.c \
- strbuf.c \
- strv.c \
- util.c
+ udevd.c
udevd_LDADD = \
libudev-core.la
@@ -68,12 +55,24 @@ libudev_core_la_SOURCES = \
udev-builtin-kmod.c \
udev-builtin-net_id.c \
udev-builtin-path_id.c \
- udev-builtin-usb_id.c
-
-if HAVE_ACL
-libudev_core_la_SOURCES += \
- udev-builtin-uaccess.c
-endif
+ udev-builtin-usb_id.c \
+ acl-util.c \
+ conf-files.c \
+ cgroup-util.c \
+ dev-setup.c \
+ exit-status.c \
+ hashmap.c \
+ label.c \
+ log.c \
+ logind-acl.c \
+ mkdir.c \
+ path-util.c \
+ sd-daemon.c \
+ sd-login.c \
+ set.c \
+ strbuf.c \
+ strv.c \
+ util.c
libudev_core_la_CFLAGS = \
$(AM_CFLAGS) \
@@ -85,6 +84,15 @@ libudev_core_la_LIBADD = \
$(BLKID_LIBS) \
$(KMOD_LIBS)
+if HAVE_ACL
+libudev_core_la_SOURCES += \
+ udev-builtin-uaccess.c
+
+libudev_core_la_LIBADD += \
+ $(ACL_LIBS)
+endif
+
+
libudev_core_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DFIRMWARE_PATH="$(FIRMWARE_PATH)"
@@ -123,7 +131,8 @@ ata_id_ata_id_SOURCES = \
ata_id/ata_id.c
ata_id_ata_id_LDADD = \
- libudev-private.la
+ $(top_srcdir)/src/libudev/libudev-private.la \
+ libudev-core.la
# ------------------------------------------------------------------------------
@@ -134,7 +143,8 @@ cdrom_id_cdrom_id_SOURCES = \
cdrom_id/cdrom_id.c
cdrom_id_cdrom_id_LDADD = \
- libudev.la
+ $(top_srcdir)/src/libudev/libudev-private.la \
+ libudev-core.la
# ------------------------------------------------------------------------------
@@ -145,7 +155,8 @@ collect_collect_SOURCES = \
collect/collect.c
collect_collect_LDADD = \
- libudev-private.la
+ $(top_srcdir)/src/libudev/libudev-private.la \
+ libudev-core.la
# ------------------------------------------------------------------------------
@@ -159,7 +170,8 @@ scsi_id_scsi_id_SOURCES =\
scsi_id/scsi_id.h
scsi_id_scsi_id_LDADD = \
- libudev-private.la
+ $(top_srcdir)/src/libudev/libudev-private.la \
+ libudev-core.la
EXTRA_DIST += \
scsi_id/README
@@ -173,7 +185,8 @@ v4l_id_v4l_id_SOURCES = \
v4l_id/v4l_id.c
v4l_id_v4l_id_LDADD = \
- libudev.la
+ $(top_srcdir)/src/libudev/libudev-private.la \
+ libudev-core.la
# ------------------------------------------------------------------------------
@@ -184,7 +197,9 @@ accelerometer_accelerometer_SOURCES = \
accelerometer/accelerometer.c
accelerometer_accelerometer_LDADD = \
- libudev.la -lm
+ $(top_srcdir)/src/libudev/libudev-private.la \
+ libudev-core.la \
+ -lm
# ------------------------------------------------------------------------------