chiark / gitweb /
libudev: add selinux
[elogind.git] / extras / volume_id / Makefile.am
1 SUBDIRS = \
2         lib
3
4 udevhomedir = $(udev_prefix)/lib/udev
5 udevhome_PROGRAMS = \
6         vol_id
7
8 AM_CPPFLAGS = \
9         -DSYSCONFDIR=\""$(sysconfdir)"\" \
10         -DUDEV_PREFIX=\""$(udev_prefix)"\" \
11         -D_LIBUDEV_COMPILATION
12
13 vol_id_SOURCES = \
14         vol_id.c \
15         ../../udev/lib/libudev.h \
16         ../../udev/lib/libudev.c \
17         ../../udev/udev_sysfs.c \
18         ../../udev/udev_sysdeps.c \
19         ../../udev/udev_utils.c \
20         ../../udev/udev_utils_string.c
21
22 vol_id_LDADD = \
23         lib/libvolume_id.la
24
25 if USE_SELINUX
26 vol_id_LDADD += \
27         $(SELINUX_LIBS)
28 endif
29
30 dist_man_MANS = \
31         vol_id.8
32
33 EXTRA_DIST = \
34         vol_id.xml
35
36 %.7 %.8 : %.xml
37         $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
38
39 distclean-local:
40         rm -f Makefile.in
41         rm -f $(dist_man_MANS)
42