summaryrefslogtreecommitdiff
path: root/netsniff-ng
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-07-11 15:11:56 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-07-11 15:11:56 +0200
commit96b4d0cea5045770e2343908c40cbfc6ebb4ac1e (patch)
treeb1447867ee4779fa2e7b9f0c6fb0c742f1f1f6bc /netsniff-ng
parent043db4056d88e175ccd22f02ccbd6be41560d309 (diff)
build: refactor tool specific flags into <tool>/Makefile
To get the normal Makefile a bit cleaner, push the tool specific build options into <tool>/Makefile. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'netsniff-ng')
-rw-r--r--netsniff-ng/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/netsniff-ng/Makefile b/netsniff-ng/Makefile
index 55335e5..fa4976d 100644
--- a/netsniff-ng/Makefile
+++ b/netsniff-ng/Makefile
@@ -72,3 +72,7 @@ endif
ifeq ($(CONFIG_HWTSTAMP), 1)
netsniff-ng-objs += tstamping.o
endif
+
+netsniff-ng-eflags = $(shell pkg-config --cflags libnl-3.0) \
+ $(shell pkg-config --cflags libnl-genl-3.0) \
+ -D__WITH_PROTOS