blob: ddb031c414bce2e1cc2370fed2b9373d9bbb1152 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
flowtop-libs = -lurcu \
-lnetfilter_conntrack \
$(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs ncurses 2> /dev/null \
|| echo '-lncurses') \
$(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs tinfo 2> /dev/null ) \
-lpthread
ifeq ($(CONFIG_GEOIP), 1)
flowtop-libs += -lGeoIP \
-lz
endif
flowtop-objs = xmalloc.o \
str.o \
sig.o \
sock.o \
proc.o \
dev.o \
link.o \
hash.o \
lookup.o \
screen.o \
die.o \
sysctl.o \
flowtop.o
ifeq ($(CONFIG_GEOIP), 1)
flowtop-objs += geoip.o \
ioops.o
endif
flowtop-eflags = $(shell $(PKG_CONFIG) --cflags ncurses) \
$(shell $(PKG_CONFIG) --cflags libnetfilter_conntrack)
flowtop-confs = tcp.conf \
udp.conf \
geoip.conf
|