summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-06-24 11:29:44 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-06-24 11:29:44 +0200
commitf72460bd5176c0c1a058b6e0e7bd236dfab188c9 (patch)
tree68dc1eedb183390fb650d982e1674817d588e8b6 /Makefile
parentbb59a298dd26f0d066c7ae755a9748384c952f43 (diff)
configure: Add configure script used to detect NaCl
In order to use an installation of NaCl provided by the distro or by previous manual installation, provide a configure script which checks for nacl's presence. Also check of libnl-genl headers. More checks of the other libraries depended on by netsniff-ng as well as checks for necessary kernel headers should be added here too. The configure script is preliminary and has not yet extensively been tested on multiple systems. The concept was inspired by the configure script of trinity and iproute2. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8a8b76b..ee03d86 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,8 @@
# Copyright 2012 - 2013 Daniel Borkmann <borkmann@gnumaniacs.org>
# Subject to the GNU GPL, version 2.
+include Config
+
VERSION = 0
PATCHLEVEL = 5
SUBLEVEL = 8
@@ -203,6 +205,7 @@ install_all: $(foreach tool,$(TOOLS),$(tool)_install)
install_allbutcurvetun: $(foreach tool,$(filter-out curvetun,$(TOOLS)),$(tool)_install)
install_allbutmausezahn: $(foreach tool,$(filter-out mausezahn,$(TOOLS)),$(tool)_install)
clean mostlyclean: $(foreach tool,$(TOOLS),$(tool)_clean)
+ $(Q)$(call RM,Config)
realclean distclean clobber: $(foreach tool,$(TOOLS),$(tool)_distclean)
$(Q)$(call RMDIR,$(ETCDIRE))
mrproper: clean distclean