1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:=\
5	bpf_dump.c\
6	bpf/net/bpf_filter.c\
7	bpf_image.c\
8	etherent.c\
9	fad-gifc.c\
10	gencode.c\
11	grammar.c\
12	inet.c\
13	nametoaddr.c\
14	optimize.c\
15	pcap.c\
16	pcap-linux.c\
17	savefile.c\
18	scanner.c\
19	version.c
20
21LOCAL_CFLAGS:=-O2 -g
22LOCAL_CFLAGS+=-DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -Dlinux -D__GLIBC__ -D_GNU_SOURCE
23
24LOCAL_MODULE:= libpcap
25
26include $(BUILD_STATIC_LIBRARY)
27