chiark / gitweb /
udevadm: test - remove --force option
[elogind.git] / udev / Makefile.am
1 include $(top_srcdir)/Makefile.am.inc
2
3 SUBDIRS = \
4         lib
5
6 sbin_PROGRAMS = \
7         udevd \
8         udevadm
9
10 noinst_PROGRAMS = \
11         test-udev
12
13 common_ldadd =
14
15 common_files = \
16         udev.h \
17         udev-sysdeps.h \
18         udev-event.c \
19         udev-node.c \
20         udev-rules.c \
21         udev-util.c \
22         lib/libudev.h \
23         lib/libudev-private.h \
24         lib/libudev.c \
25         lib/libudev-list.c \
26         lib/libudev-util.c \
27         lib/libudev-device.c \
28         lib/libudev-device-db-write.c \
29         lib/libudev-monitor.c \
30         lib/libudev-enumerate.c \
31         lib/libudev-queue.c \
32         lib/libudev-ctrl.c
33
34 if USE_SELINUX
35 common_files += \
36         udev-selinux.c
37 common_ldadd += \
38         $(SELINUX_LIBS)
39 endif
40
41 udevd_SOURCES = \
42         $(common_files) \
43         udevd.c
44
45 udevd_LDADD = \
46         $(common_ldadd)
47
48
49 udevadm_SOURCES = \
50         $(common_files) \
51         udevadm.c \
52         udevadm-info.c \
53         udevadm-control.c \
54         udevadm-test.c \
55         udevadm-monitor.c \
56         udevadm-settle.c \
57         udevadm-trigger.c
58
59 udevadm_LDADD = \
60         $(common_ldadd)
61
62
63 test_udev_SOURCES = \
64         $(common_files) \
65         test-udev.c
66
67 test_udev_LDADD = \
68         $(common_ldadd)
69
70
71 dist_man_MANS = \
72         udev.7 \
73         udevadm.8 \
74         udevd.8
75
76 EXTRA_DIST = \
77         udev.xml \
78         udevadm.xml \
79         udevd.xml
80
81 %.7 %.8 : %.xml
82         $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
83
84 MAINTAINERCLEANFILES = \
85         $(dist_man_MANS)
86
87 git-clean:
88         rm -f Makefile.in