ui: Implement UI table for flows printing
[netsniff-ng.git] / flowtop / Makefile
blobddb031c414bce2e1cc2370fed2b9373d9bbb1152
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 str.o \
15 sig.o \
16 sock.o \
17 proc.o \
18 dev.o \
19 link.o \
20 hash.o \
21 lookup.o \
22 screen.o \
23 die.o \
24 sysctl.o \
25 flowtop.o
27 ifeq ($(CONFIG_GEOIP), 1)
28 flowtop-objs += geoip.o \
29 ioops.o
30 endif
32 flowtop-eflags = $(shell $(PKG_CONFIG) --cflags ncurses) \
33 $(shell $(PKG_CONFIG) --cflags libnetfilter_conntrack)
35 flowtop-confs = tcp.conf \
36 udp.conf \
37 geoip.conf