diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-03-15 12:10:28 +0100 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-03-15 12:10:28 +0100 |
commit | 2c93b5ae28969362446e94dabe69ef518c171841 (patch) | |
tree | 0cac20e934a7730aca6a7f4e76a0683930f0c0a2 /Makefile | |
parent | 41c5d99d584f8bffa77b94dcfcc0fa3c4c406e81 (diff) |
build: Find libncurses by using pkg-config
Call pkg-config --cflags and pkg-config --libs to find correct CFLAGS
and LDFLAGS respectively.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -217,6 +217,8 @@ $(foreach tool,$(TOOLS),$(eval $(call TOOL_templ,$(tool)))) netsniff-ng: ALL_CFLAGS += $(shell pkg-config --cflags libnl-3.0) $(shell pkg-config --cflags libnl-genl-3.0) -D__WITH_PROTOS -D__WITH_TCPDUMP_LIKE_FILTER trafgen: ALL_CFLAGS += -I.. $(shell pkg-config --cflags libnl-3.0) $(shell pkg-config --cflags libnl-genl-3.0) -D__WITH_PROTOS +ifpps: ALL_CFLAGS += $(shell pkg-config --cflags ncurses) +flowtop: ALL_CFLAGS += $(shell pkg-config --cflags ncurses) bpfc: ALL_CFLAGS += -I.. curvetun: ALL_CFLAGS += -I ${NACL_INC_DIR} curvetun: ALL_LDFLAGS += -L ${NACL_LIB_DIR} |