build: Allow to build astraceroute and flowtop without GeoIP support
[netsniff-ng.git] / astraceroute / Makefile
blob58957303d1ca17734620386e2f5b5afefce0bf93
1 astraceroute-libs = -lpthread
3 ifeq ($(CONFIG_GEOIP), 1)
4 astraceroute-libs += -lGeoIP \
5 -lz
6 endif
9 astraceroute-objs = xmalloc.o \
10 ioops.o \
11 proto_none.o \
12 tprintf.o \
13 bpf.o \
14 str.o \
15 sig.o \
16 sock.o \
17 link.o \
18 dev.o \
19 ring_rx.o \
20 ring.o \
21 astraceroute.o
23 ifeq ($(CONFIG_GEOIP), 1)
24 astraceroute-objs += geoip.o
25 endif
27 astraceroute-eflags =
29 astraceroute-confs = geoip.conf