Add section "Notes on disk format" to the manual.
[virt-bmap.git] / Makefile.am
1 # virt-bmap
2 # Copyright (C) 2014 Red Hat Inc.
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
18 CLEANFILES = *~
19
20 bin_SCRIPTS = virt-bmap
21
22 lib_LTLIBRARIES = \
23         virtbmapexaminer.la
24
25 virtbmapexaminer_la_CPPFLAGS = \
26         -I$(srcdir)
27 virtbmapexaminer_la_CFLAGS = \
28         -Wall \
29         -pthread \
30         $(GUESTFS_CFLAGS)
31 virtbmapexaminer_la_LIBADD = \
32         $(GUESTFS_LIBS)
33 virtbmapexaminer_la_LDFLAGS = \
34         -module -avoid-version -shared
35 virtbmapexaminer_la_SOURCES = \
36         cleanups.c \
37         cleanups.h \
38         examiner.c \
39         ranges.cpp \
40         ranges.h \
41         visit.c \
42         visit.h
43
44 nbdkitplugin_LTLIBRARIES = \
45         bmaplogger.la
46
47 bmaplogger_la_CPPFLAGS = \
48         -I$(srcdir)
49 bmaplogger_la_CFLAGS = \
50         -Wall \
51         -pthread
52 bmaplogger_la_LDFLAGS = \
53         -module -avoid-version -shared
54 bmaplogger_la_SOURCES = \
55         cleanups.c \
56         cleanups.h \
57         logger.c \
58         ranges.cpp \
59         ranges.h
60
61 man_MANS = virt-bmap.1
62
63 virt-bmap.1: virt-bmap.pod
64         $(POD2MAN) \
65             -c "Virtualization Support" \
66             --release "$(PACKAGE)-$(VERSION)" \
67             $< > $@-t
68         mv $@-t $@