summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-02-03 16:22:55 +0100
committerDavid Sterba <dsterba@suse.cz>2015-02-03 17:13:55 +0100
commit1275c4fc1b31171706277a953ade9b0627c6686b (patch)
treea206d4b6883091efe00146d22e494647c4845d9c /Makefile.in
parente1f0d9d4467a4025cada0443cecc0f9973eee145 (diff)
downloadbtrfs-progs-1275c4fc1b31171706277a953ade9b0627c6686b.tar.gz
btrfs-progs: autoconf: make btrfs-convert build optional
Proposed at https://github.com/kdave/btrfs-progs/pull/6, I've added the configure options. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index b87bf82..c4deb51 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -8,6 +8,7 @@ RM = @RM@
RMDIR = @RMDIR@
INSTALL = @INSTALL@
DISABLE_DOCUMENTATION = @DISABLE_DOCUMENTATION@
+DISABLE_BTRFSCONVERT = @DISABLE_BTRFSCONVERT@
# Non-static compilation flags
CFLAGS = @CFLAGS@ \
@@ -67,7 +68,7 @@ endif
MAKEOPTS = --no-print-directory Q=$(Q)
progs = mkfs.btrfs btrfs-debug-tree btrfsck \
- btrfs btrfs-map-logical btrfs-image btrfs-zero-log btrfs-convert \
+ btrfs btrfs-map-logical btrfs-image btrfs-zero-log \
btrfs-find-root btrfstune btrfs-show-super \
btrfs-corrupt-block btrfs-select-super btrfs-calc-size
@@ -75,6 +76,10 @@ progs_extra = btrfs-fragments
progs_static = $(foreach p,$(progs),$(p).static)
+ifneq ($(DISABLE_BTRFSCONVERT),1)
+progs += btrfs-convert
+endif
+
# external libs required by various binaries; for btrfs-foo,
# specify btrfs_foo_libs = <list of libs>; see $($(subst...)) rules below
btrfs_convert_libs = -lext2fs -lcom_err