1LOCAL_PATH:= $(call my-dir)
2
3tcpdump_src_files := \
4  addrtoname.c \
5  af.c \
6  bpf_dump.c \
7  checksum.c \
8  cpack.c \
9  gmpls.c \
10  gmt2local.c \
11  in_cksum.c \
12  ipproto.c \
13  l2vpn.c \
14  machdep.c \
15  nlpid.c \
16  oui.c \
17  parsenfsfh.c \
18  print-802_11.c \
19  print-802_15_4.c \
20  print-ah.c \
21  print-ahcp.c \
22  print-aodv.c \
23  print-aoe.c \
24  print-ap1394.c \
25  print-arcnet.c \
26  print-arp.c \
27  print-ascii.c \
28  print-atalk.c \
29  print-atm.c \
30  print-babel.c \
31  print-beep.c \
32  print-bfd.c \
33  print-bgp.c \
34  print-bootp.c \
35  print-bt.c \
36  print-calm-fast.c \
37  print-carp.c \
38  print-cdp.c \
39  print-cfm.c \
40  print-chdlc.c \
41  print-cip.c \
42  print-cnfp.c \
43  print-dccp.c \
44  print-decnet.c \
45  print-dhcp6.c \
46  print-domain.c \
47  print-dtp.c \
48  print-dvmrp.c \
49  print-eap.c \
50  print-egp.c \
51  print-eigrp.c \
52  print-enc.c \
53  print-esp.c \
54  print-ether.c \
55  print-fddi.c \
56  print-forces.c \
57  print-frag6.c \
58  print-fr.c \
59  print-ftp.c \
60  print-geneve.c \
61  print-geonet.c \
62  print-gre.c \
63  print-hsrp.c \
64  print-http.c \
65  print-icmp6.c \
66  print-icmp.c \
67  print-igmp.c \
68  print-igrp.c \
69  print-ip6.c \
70  print-ip6opts.c \
71  print-ip.c \
72  print-ipcomp.c \
73  print-ipfc.c \
74  print-ipnet.c \
75  print-ipx.c \
76  print-isakmp.c \
77  print-isoclns.c \
78  print-juniper.c \
79  print-krb.c \
80  print-l2tp.c \
81  print-lane.c \
82  print-ldp.c \
83  print-llc.c \
84  print-lldp.c \
85  print-lmp.c \
86  print-loopback.c \
87  print-lspping.c \
88  print-lwapp.c \
89  print-lwres.c \
90  print-m3ua.c \
91  print-mobile.c \
92  print-mobility.c \
93  print-mpcp.c \
94  print-mpls.c \
95  print-mptcp.c \
96  print-msdp.c \
97  print-msnlb.c \
98  print-nflog.c \
99  print-nfs.c \
100  print-ntp.c \
101  print-null.c \
102  print-olsr.c \
103  print-openflow-1.0.c \
104  print-openflow.c \
105  print-ospf6.c \
106  print-ospf.c \
107  print-otv.c \
108  print-pgm.c \
109  print-pim.c \
110  print-pktap.c \
111  print-ppi.c \
112  print-ppp.c \
113  print-pppoe.c \
114  print-pptp.c \
115  print-radius.c \
116  print-raw.c \
117  print-rip.c \
118  print-ripng.c \
119  print-rpki-rtr.c \
120  print-rrcp.c \
121  print-rsvp.c \
122  print-rt6.c \
123  print-rtsp.c \
124  print-rx.c \
125  print-sctp.c \
126  print-sflow.c \
127  print-sip.c \
128  print-sl.c \
129  print-sll.c \
130  print-slow.c \
131  print-smb.c \
132  print-smtp.c \
133  print-snmp.c \
134  print-stp.c \
135  print-sunatm.c \
136  print-sunrpc.c \
137  print-symantec.c \
138  print-syslog.c \
139  print-tcp.c \
140  print-telnet.c \
141  print-tftp.c \
142  print-timed.c \
143  print-tipc.c \
144  print-token.c \
145  print-udld.c \
146  print-udp.c \
147  print-usb.c \
148  print-vjc.c \
149  print-vqp.c \
150  print-vrrp.c \
151  print-vtp.c \
152  print-vxlan.c \
153  print-wb.c \
154  print-zephyr.c \
155  print-zeromq.c \
156  setsignal.c \
157  signature.c \
158  smbutil.c \
159  tcpdump.c \
160  util.c \
161  version.c \
162
163include $(CLEAR_VARS)
164LOCAL_SRC_FILES := $(tcpdump_src_files)
165LOCAL_CFLAGS += -DHAVE_CONFIG_H
166LOCAL_CFLAGS += -D_U_="__attribute__((unused))"
167LOCAL_SHARED_LIBRARIES += libssl libcrypto
168LOCAL_STATIC_LIBRARIES += libpcap
169LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
170LOCAL_MODULE_TAGS := debug
171LOCAL_MODULE := tcpdump
172include $(BUILD_EXECUTABLE)
173