mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
e598c5738c
"Hello world!" linked against libselinux parses /proc/mounts and whatever else on startup, even when the lib is not needed at all. Not funny! Get rid of that thing where it's not absolutely needed.
92 lines
1.3 KiB
Makefile
92 lines
1.3 KiB
Makefile
include $(top_srcdir)/Makefile.am.inc
|
|
|
|
SUBDIRS = \
|
|
lib
|
|
|
|
sbin_PROGRAMS = \
|
|
udevd \
|
|
udevadm
|
|
|
|
noinst_PROGRAMS = \
|
|
test-udev
|
|
|
|
common_ldadd =
|
|
|
|
common_files = \
|
|
udev.h \
|
|
udev_rules.h \
|
|
udev_sysdeps.h \
|
|
udev_db.c \
|
|
udev_device.c \
|
|
udev_device_event.c \
|
|
udev_node.c \
|
|
udev_rules.c \
|
|
udev_rules_parse.c \
|
|
udev_sysfs.c \
|
|
udev_utils.c \
|
|
udev_utils_file.c \
|
|
udev_selinux.c \
|
|
list.h \
|
|
lib/libudev.h \
|
|
lib/libudev-private.h \
|
|
lib/libudev.c \
|
|
lib/libudev-list.c \
|
|
lib/libudev-util.c \
|
|
lib/libudev-device.c \
|
|
lib/libudev-monitor.c \
|
|
lib/libudev-enumerate.c \
|
|
lib/libudev-queue.c \
|
|
lib/libudev-ctrl.c
|
|
|
|
if USE_SELINUX
|
|
common_ldadd += \
|
|
$(SELINUX_LIBS)
|
|
endif
|
|
|
|
udevd_SOURCES = \
|
|
$(common_files) \
|
|
udevd.c
|
|
|
|
udevd_LDADD = \
|
|
$(common_ldadd)
|
|
|
|
|
|
udevadm_SOURCES = \
|
|
$(common_files) \
|
|
udevadm.c \
|
|
udevadm-info.c \
|
|
udevadm-control.c \
|
|
udevadm-test.c \
|
|
udevadm-monitor.c \
|
|
udevadm-settle.c \
|
|
udevadm-trigger.c
|
|
|
|
udevadm_LDADD = \
|
|
$(common_ldadd)
|
|
|
|
|
|
test_udev_SOURCES = \
|
|
$(common_files) \
|
|
test-udev.c
|
|
|
|
test_udev_LDADD = \
|
|
$(common_ldadd)
|
|
|
|
|
|
dist_man_MANS = \
|
|
udev.7 \
|
|
udevadm.8 \
|
|
udevd.8
|
|
|
|
EXTRA_DIST = \
|
|
udev.xml \
|
|
udevadm.xml \
|
|
udevd.xml
|
|
|
|
%.7 %.8 : %.xml
|
|
$(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
|
|
|
distclean-local:
|
|
rm -f Makefile.in
|
|
rm -f $(dist_man_MANS)
|