summaryrefslogtreecommitdiff
path: root/flowtop/Makefile
blob: fcef59e169e8988b29d27ff686e1e92090a0ead0 (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
38
39
40
flowtop-libs =	-lurcu \
		-lnetfilter_conntrack \
		$(shell pkg-config --libs ncurses 2> /dev/null \
			|| echo '-lncurses') \
		$(shell pkg-config --libs tinfo 2> /dev/null ) \
		-lpthread

ifeq ($(CONFIG_GEOIP), 1)
flowtop-libs +=	-lGeoIP \
		-lz
endif

flowtop-objs =	xmalloc.o \
		ioops.o \
		oui.o \
		str.o \
		sig.o \
		sock.o \
		dev.o \
		link.o \
		hash.o \
		dissector_eth.o \
		dissector_80211.o \
		dissector_netlink.o \
		dissector.o \
		proto_none.o \
		tprintf.o \
		screen.o \
		flowtop.o

ifeq ($(CONFIG_GEOIP), 1)
flowtop-objs +=	geoip.o
endif

flowtop-eflags = $(shell pkg-config --cflags ncurses) \
		 $(shell pkg-config --cflags libnl-3.0)

flowtop-confs =	tcp.conf \
		udp.conf \
		geoip.conf