2008-08-27 19:11:58 +04:00
SUBDIRS = \
lib
2008-07-30 03:45:23 +04:00
sbin_PROGRAMS = \
udevd \
udevadm
noinst_PROGRAMS = \
test-udev
AM_CPPFLAGS = \
-DSYSCONFDIR= \" " $( sysconfdir) " \" \
2008-09-06 17:45:31 +04:00
-DUDEV_PREFIX= \" " $( udev_prefix) " \" \
-D_LIBUDEV_COMPILATION
2008-07-30 03:45:23 +04:00
2008-08-13 02:01:44 +04:00
common_ldadd =
common_files = \
2008-07-30 03:45:23 +04:00
list.h \
logging.h \
udev.h \
udev_rules.h \
udev_selinux.h \
udev_sysdeps.h \
udev_db.c \
udev_device.c \
2008-08-29 22:32:05 +04:00
udev_device_event.c \
2008-07-30 03:45:23 +04:00
udev_node.c \
udev_rules.c \
udev_rules_parse.c \
udev_sysdeps.c \
udev_sysfs.c \
udev_utils.c \
udev_utils_file.c \
2008-09-06 17:45:31 +04:00
udev_utils_string.c \
lib/libudev.h \
lib/libudev-private.h \
lib/libudev.c \
lib/libudev-utils.c
2008-08-13 02:01:44 +04:00
2008-07-30 03:45:23 +04:00
i f U S E _ S E L I N U X
2008-08-13 02:01:44 +04:00
common_files += \
2008-07-30 03:45:23 +04:00
udev_selinux.c
2008-08-13 02:01:44 +04:00
common_ldadd += \
2008-07-30 03:45:23 +04:00
$( SELINUX_LIBS)
e n d i f
2008-08-13 02:01:44 +04:00
udevd_SOURCES = \
$( common_files) \
udevd.h \
udevd.c
udevd_LDADD = \
$( common_ldadd)
2008-07-30 03:45:23 +04:00
udevadm_SOURCES = \
2008-08-13 02:01:44 +04:00
$( common_files) \
2008-09-04 01:48:44 +04:00
udev-control.c \
2008-07-30 03:45:23 +04:00
udevadm.c \
2008-09-04 01:33:06 +04:00
udevadm-info.c \
udevadm-control.c \
udevadm-test.c \
udevadm-monitor.c \
udevadm-settle.c \
udevadm-trigger.c
2008-07-30 03:45:23 +04:00
udevadm_LDADD = \
2008-08-13 02:01:44 +04:00
$( common_ldadd)
2008-07-30 03:45:23 +04:00
test_udev_SOURCES = \
2008-08-13 02:01:44 +04:00
$( common_files) \
test-udev.c
2008-07-30 03:45:23 +04:00
test_udev_LDADD = \
2008-08-13 02:01:44 +04:00
$( common_ldadd)
2008-07-30 03:45:23 +04:00
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)