2008-09-20 10:03:49 +04:00
i n c l u d e $( top_srcdir ) / M a k e f i l e . a m . i n c
2008-07-30 03:45:23 +04:00
sbin_PROGRAMS = \
udevd \
udevadm
noinst_PROGRAMS = \
test-udev
2009-07-25 22:37:45 +04:00
common_files = \
2008-07-30 03:45:23 +04:00
udev.h \
2008-10-16 20:13:48 +04:00
udev-event.c \
2009-02-11 20:38:56 +03:00
udev-watch.c \
2008-10-16 20:13:48 +04:00
udev-node.c \
2009-07-25 22:37:45 +04:00
udev-rules.c
2008-08-13 02:01:44 +04:00
2009-07-25 22:37:45 +04:00
common_ldadd = \
$( top_builddir) /libudev/libudev-private.la
2009-06-14 19:53:15 +04:00
i f W I T H _ S E L I N U X
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.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-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
2009-06-19 21:17:18 +04:00
pkgconfigdir = $( datadir) /pkgconfig
pkgconfig_DATA = udev.pc
2008-07-30 03:45:23 +04:00
EXTRA_DIST = \
2009-06-19 21:17:18 +04:00
udev.pc.in \
2008-07-30 03:45:23 +04:00
udev.xml \
udevadm.xml \
udevd.xml
%.7 %.8 : %.xml
$( XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
2008-12-06 06:03:08 +03:00
MAINTAINERCLEANFILES = \
$( dist_man_MANS)
git-clean :
2008-07-30 03:45:23 +04:00
rm -f Makefile.in