Repo created
This commit is contained in:
parent
6e9a0d01ce
commit
7ee9806fba
2415 changed files with 312708 additions and 2 deletions
24
tcpdump/jni/libpcap/Android.mk
Normal file
24
tcpdump/jni/libpcap/Android.mk
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
libpcap_PSRC = pcap-linux.c
|
||||
libpcap_FSRC = fad-gifc.c
|
||||
libpcap_CSRC = pcap.c inet.c gencode.c optimize.c nametoaddr.c etherent.c \
|
||||
savefile.c sf-pcap.c sf-pcap-ng.c pcap-common.c \
|
||||
bpf_image.c bpf_dump.c
|
||||
libpcap_GENSRC = scanner.c grammar.c bpf_filter.c version.c
|
||||
|
||||
libpcap_SRC = $(libpcap_PSRC) $(libpcap_FSRC) $(libpcap_CSRC) $(libpcap_GENSRC)
|
||||
|
||||
|
||||
LOCAL_SRC_FILES:=\
|
||||
$(libpcap_SRC)
|
||||
|
||||
LOCAL_CFLAGS:=-O2 -g
|
||||
LOCAL_CFLAGS+=-DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -Dlinux -D__GLIBC__ -D_GNU_SOURCE
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_MODULE:= libpcap
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
Loading…
Add table
Add a link
Reference in a new issue