From 7c605f573122d346c20d9ac3be6db05959f4eaf8 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 8 Oct 2019 15:17:59 +0200 Subject: Add a configure option to disable building the tools If this option is used, only libsquashfs is built and installed, and the test cases for the other helper libraries are deactivated. Signed-off-by: David Oberhollenzer --- Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index cbf21b9..e603912 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,16 +15,20 @@ pkgconfig_DATA = EXTRA_DIST = autogen.sh LICENSE-gpl.txt LICENSE-lgpl.txt README.md CHANGELOG.md TESTS = +include lib/sqfs/Makemodule.am +include lib/util/Makemodule.am + +if BUILD_TOOLS include doc/Makemodule.am include lib/fstree/Makemodule.am -include lib/sqfs/Makemodule.am include lib/common/Makemodule.am include lib/tar/Makemodule.am -include lib/util/Makemodule.am include tar/Makemodule.am include mkfs/Makemodule.am include unpack/Makemodule.am include difftool/Makemodule.am +endif + include tests/Makemodule.am if HAVE_DOXYGEN -- cgit v1.2.3