summaryrefslogtreecommitdiff
path: root/extras/volume_id/Makefile.am
blob: 3e11d5c348f40b9a2e781e5c89f06bc8c7e16f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
SUBDIRS = \
	lib

udevhomedir = $(udev_prefix)/lib/udev
udevhome_PROGRAMS = \
	vol_id

AM_CPPFLAGS = \
	-DSYSCONFDIR=\""$(sysconfdir)"\" \
	-DUDEV_PREFIX=\""$(udev_prefix)"\" \
	-D_LIBUDEV_COMPILATION

vol_id_SOURCES = \
	vol_id.c \
	../../udev/lib/libudev.h \
	../../udev/lib/libudev.c \
	../../udev/lib/libudev-util.c

vol_id_LDADD = \
	lib/libvolume_id.la

if USE_SELINUX
vol_id_LDADD += \
	$(SELINUX_LIBS)
endif

dist_man_MANS = \
	vol_id.8

EXTRA_DIST = \
	vol_id.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)