netsniff-ng: ring: Fix build if tp_vlan_tpid is not available in kernel header
[netsniff-ng.git] / flowtop / Makefile
blobcb57cb3b3d0d700bf106b7a16fea595b0c6f16a8
1 flowtop-libs = -lurcu \
2 -lnetfilter_conntrack \
3 $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs ncurses 2> /dev/null \
4 || echo '-lncurses') \
5 $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs tinfo 2> /dev/null ) \
6 -lpthread
8 ifeq ($(CONFIG_GEOIP), 1)
9 flowtop-libs += -lGeoIP \
10 -lz
11 endif
13 flowtop-objs = xmalloc.o \
14 oui.o \
15 str.o \
16 sig.o \
17 sock.o \
18 proc.o \
19 dev.o \
20 link.o \
21 hash.o \
22 lookup.o \
23 screen.o \
24 die.o \
25 sysctl.o \
26 flowtop.o
28 ifeq ($(CONFIG_GEOIP), 1)
29 flowtop-objs += geoip.o \
30 ioops.o
31 endif
33 flowtop-eflags = $(shell $(PKG_CONFIG) --cflags ncurses)
35 flowtop-confs = tcp.conf \
36 udp.conf \
37 geoip.conf