netsniff-ng: Move variable definition
[netsniff-ng.git] / flowtop / Makefile
blob85acb43553f9efb1ea161122cc609293f1b78cdd
1 flowtop-libs = -lurcu \
2 -lnetfilter_conntrack \
3 $(shell pkg-config --libs ncurses 2> /dev/null \
4 || echo '-lncurses') \
5 $(shell 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 dev.o \
19 link.o \
20 hash.o \
21 lookup.o \
22 tprintf.o \
23 screen.o \
24 flowtop.o
26 ifeq ($(CONFIG_GEOIP), 1)
27 flowtop-objs += geoip.o \
28 ioops.o
29 endif
31 flowtop-eflags = $(shell pkg-config --cflags ncurses)
33 flowtop-confs = tcp.conf \
34 udp.conf \
35 geoip.conf