lib_LTLIBRARIES = \
virtbmapexaminer.la
+
virtbmapexaminer_la_CPPFLAGS = \
-I$(srcdir)
virtbmapexaminer_la_CFLAGS = \
ranges.h \
visit.c \
visit.h
+
+nbdkitplugin_LTLIBRARIES = \
+ bmaplogger.la
+
+bmaplogger_la_CPPFLAGS = \
+ -I$(srcdir)
+bmaplogger_la_CFLAGS = \
+ -Wall \
+ -pthread
+bmaplogger_la_LDFLAGS = \
+ -module -avoid-version -shared
+bmaplogger_la_SOURCES = \
+ cleanups.c \
+ cleanups.h \
+ logger.c \
+ ranges.cpp \
+ ranges.h
+
+man_MANS = virt-bmap.1
+
+virt-bmap.1: virt-bmap.pod
+ $(POD2MAN) \
+ -c "Virtualization Support" \
+ --release "$(PACKAGE)-$(VERSION)" \
+ $< > $@-t
+ mv $@-t $@