1 netsniff-ng-libs
= $(shell PKG_CONFIG_PATH
=$(PKG_CONFIG_PATH
) $(PKG_CONFIG
) --libs libnl-3.0
) \
2 $(shell PKG_CONFIG_PATH
=$(PKG_CONFIG_PATH
) $(PKG_CONFIG
) --libs libnl-genl-3.0
) \
3 $(shell PKG_CONFIG_PATH
=$(PKG_CONFIG_PATH
) $(PKG_CONFIG
) --libs libnl-route-3.0
) \
6 ifeq ($(CONFIG_LIBPCAP
), 1)
7 netsniff-ng-libs
+= -lpcap
9 ifeq ($(CONFIG_GEOIP
), 1)
10 netsniff-ng-libs
+= -lGeoIP \
14 netsniff-ng-objs
= dissector.o \
25 proto_ip_authentication_hdr.o \
29 proto_ipv6_dest_opts.o \
31 proto_ipv6_hop_by_hop.o \
32 proto_ipv6_in_ipv4.o \
33 proto_ipv6_mobility_hdr.o \
34 proto_ipv6_no_nxt_hdr.o \
35 proto_ipv6_routing.o \
43 proto_mpls_unicast.o \
44 proto_80211_mac_hdr.o \
71 ifeq ($(CONFIG_LIBPCAP
), 1)
72 netsniff-ng-objs
+= bpf_comp.o
74 ifeq ($(CONFIG_GEOIP
), 1)
75 netsniff-ng-objs
+= geoip.o
77 ifeq ($(CONFIG_HWTSTAMP
), 1)
78 netsniff-ng-objs
+= tstamping.o
81 netsniff-ng-eflags
= $(shell PKG_CONFIG_PATH
=$(PKG_CONFIG_PATH
) $(PKG_CONFIG
) --cflags libnl-3.0
) \
82 $(shell PKG_CONFIG_PATH
=$(PKG_CONFIG_PATH
) $(PKG_CONFIG
) --cflags libnl-genl-3.0
) \
83 $(shell PKG_CONFIG_PATH
=$(PKG_CONFIG_PATH
) $(PKG_CONFIG
) --cflags libnl-route-3.0
) \
84 -DNEED_TCPDUMP_LIKE_FILTER
86 netsniff-ng-confs
= ether.conf \