dissector: ip_auth_hdr: Fix compiler warning
[netsniff-ng.git] / netsniff-ng / Makefile
blob881132889a7ce6a5b801fafc1abfebd799666c85
1 netsniff-ng-libs = $(shell pkg-config --libs libnl-3.0) \
2 $(shell pkg-config --libs libnl-genl-3.0) \
3 -lpthread
5 ifeq ($(CONFIG_LIBPCAP), 1)
6 netsniff-ng-libs += -lpcap
7 endif
8 ifeq ($(CONFIG_GEOIP), 1)
9 netsniff-ng-libs += -lGeoIP \
10 -lz
11 endif
13 netsniff-ng-objs = dissector.o \
14 dissector_eth.o \
15 dissector_80211.o \
16 proto_arp.o \
17 proto_ethernet.o \
18 proto_icmpv4.o \
19 proto_icmpv6.o \
20 proto_igmp.o \
21 proto_ip_authentication_hdr.o \
22 proto_ip_esp.o \
23 proto_ipv4.o \
24 proto_ipv6.o \
25 proto_ipv6_dest_opts.o \
26 proto_ipv6_fragm.o \
27 proto_ipv6_hop_by_hop.o \
28 proto_ipv6_in_ipv4.o \
29 proto_ipv6_mobility_hdr.o \
30 proto_ipv6_no_nxt_hdr.o \
31 proto_ipv6_routing.o \
32 proto_lldp.o \
33 proto_none.o \
34 proto_tcp.o \
35 proto_udp.o \
36 proto_vlan.o \
37 proto_vlan_q_in_q.o \
38 proto_mpls_unicast.o \
39 proto_80211_mac_hdr.o \
40 promisc.o \
41 privs.o \
42 proc.o \
43 dev.o \
44 str.o \
45 sig.o \
46 sock.o \
47 irq.o \
48 iosched.o \
49 ioops.o \
50 link.o \
51 xmalloc.o \
52 hash.o \
53 bpf.o \
54 oui.o \
55 pcap_rw.o \
56 pcap_sg.o \
57 pcap_mm.o \
58 ring_rx.o \
59 ring_tx.o \
60 ring.o \
61 tprintf.o \
62 timer.o \
63 mac80211.o \
64 netsniff-ng.o
66 ifeq ($(CONFIG_LIBPCAP), 1)
67 netsniff-ng-objs += bpf_comp.o
68 endif
69 ifeq ($(CONFIG_GEOIP), 1)
70 netsniff-ng-objs += geoip.o
71 endif
72 ifeq ($(CONFIG_HWTSTAMP), 1)
73 netsniff-ng-objs += tstamping.o
74 endif
76 netsniff-ng-eflags = $(shell pkg-config --cflags libnl-3.0) \
77 $(shell pkg-config --cflags libnl-genl-3.0) \
78 -DHAVE_DISSECTOR_PROTOS -DNEED_TCPDUMP_LIKE_FILTER
80 netsniff-ng-confs = ether.conf \
81 tcp.conf \
82 udp.conf \
83 oui.conf \
84 geoip.conf