-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathAndroid.mk
147 lines (135 loc) · 2.33 KB
/
Android.mk
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:=\
addrtoname.c\
af.c\
cpack.c\
gmpls.c\
oui.c\
gmt2local.c\
ipproto.c\
nlpid.c\
l2vpn.c\
machdep.c\
parsenfsfh.c\
print-802_11.c\
print-ap1394.c\
print-ah.c\
print-arcnet.c\
print-aodv.c\
print-arp.c\
print-ascii.c\
print-atalk.c\
print-atm.c\
print-beep.c\
print-bfd.c\
print-bgp.c\
print-bootp.c\
print-cdp.c\
print-chdlc.c\
print-cip.c\
print-cnfp.c\
print-dccp.c\
print-dhcp6.c\
print-decnet.c\
print-domain.c\
print-dvmrp.c\
print-enc.c\
print-egp.c\
print-eap.c\
print-eigrp.c\
print-esp.c\
print-ether.c\
print-fddi.c\
print-fr.c\
print-frag6.c\
print-gre.c\
print-hsrp.c\
print-icmp.c\
print-icmp6.c\
print-igmp.c\
print-igrp.c\
print-ip.c\
print-ip6.c\
print-ip6opts.c\
print-ipcomp.c\
print-ipfc.c\
print-ipx.c\
print-isakmp.c\
print-isoclns.c\
print-juniper.c\
print-krb.c\
print-l2tp.c\
print-lane.c\
print-ldp.c\
print-llc.c\
print-lmp.c\
print-lspping.c\
print-lwres.c\
print-mobile.c\
print-mobility.c\
print-mpls.c\
print-msdp.c\
print-nfs.c\
print-ntp.c\
print-null.c\
print-olsr.c\
print-ospf.c\
print-ospf6.c\
print-pgm.c\
print-pim.c\
print-ppp.c\
print-pppoe.c\
print-pptp.c\
print-radius.c\
print-raw.c\
print-rip.c\
print-ripng.c\
print-rsvp.c\
print-rt6.c\
print-rx.c\
print-sctp.c\
print-sip.c\
print-sl.c\
print-sll.c\
print-slow.c\
print-snmp.c\
print-stp.c\
print-sunatm.c\
print-sunrpc.c\
print-symantec.c\
print-syslog.c\
print-tcp.c\
print-telnet.c\
print-tftp.c\
print-timed.c\
print-token.c\
print-udp.c\
print-vjc.c\
print-vrrp.c\
print-wb.c\
print-zephyr.c\
setsignal.c\
tcpdump.c\
util.c\
version.c config.h \
print-smb.c\
smbutil.c\
missing/strlcat.c\
missing/strlcpy.c
${LOCAL_PATH}/config.h: ${LOCAL_PATH}/Android/config.h
cp $(LOCAL_PATH)/Android/config.h $(LOCAL_PATH)/config.h
${LOCAL_PATH}/version.c: ${LOCAL_PATH}/VERSION
sed -e 's/.*/char version[] = "&";/' $(LOCAL_PATH)/VERSION > $@
LOCAL_CFLAGS:=-O2 -g -DANDROID
LOCAL_CFLAGS+=-DHAVE_CONFIG_H -D_U_="__attribute__((unused))"
LOCAL_C_INCLUDES+=\
$(LOCAL_PATH)/missing\
external/openssl/include\
external/libpcap
LOCAL_SHARED_LIBRARIES += libssl libcrypto
LOCAL_STATIC_LIBRARIES+=libpcap
LOCAL_MODULE_TAGS:=tests
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE := tcpdump
include $(BUILD_EXECUTABLE)