summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-07-08 16:27:36 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-07-08 16:27:36 +0200
commit3b88c76df6ef9d183125defd802a8625bb61b6e5 (patch)
tree4a16c9e1e884eb0765613b93055f9982b674eee2 /Makefile
parent55277b45317d75fa8d7e2359c02104188247e726 (diff)
configure, Makefile: Conditionally build tools
Instead of halting out the entire build build if one dependency is not available, only exclude the tools that link against it from building. The configure script will now print a list of all tools that will be built -- and in case some libaries are not available -- that will not be built. Also add checks for libcli and libnet which mausezahn depends on. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dc39aa4..36ec443 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ SUBLEVEL = 8
EXTRAVERSION = -rc0
NAME = Ziggomatic
+TOOLS ?= $(CONFIG_TOOLS)
TOOLS ?= netsniff-ng trafgen astraceroute flowtop ifpps bpfc curvetun mausezahn
# For packaging purposes, prefix can define a different path.