1LOCAL_PATH:= $(call my-dir)
2
3#----------------------------------------------------------------
4# libip4tc
5
6include $(CLEAR_VARS)
7
8LOCAL_C_INCLUDES:= \
9	$(LOCAL_PATH)/../include/
10
11# Accommodate arm-eabi-4.4.3 tools that don't set __ANDROID__
12LOCAL_CFLAGS:=-D__ANDROID__
13LOCAL_CFLAGS+=-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DENABLE_IPV4 -DENABLE_IPV6
14LOCAL_CFLAGS += -Wno-pointer-arith -Wno-unused-parameter -Wno-sign-compare -Wno-pointer-sign
15
16LOCAL_SRC_FILES:= \
17	libip4tc.c \
18
19
20LOCAL_LDFLAGS:=-version-info 1:0:1
21LOCAL_MODULE_TAGS:=
22LOCAL_MODULE:=libip4tc
23
24include $(BUILD_STATIC_LIBRARY)
25
26
27#----------------------------------------------------------------
28# libip6tc
29
30include $(CLEAR_VARS)
31
32LOCAL_C_INCLUDES:= \
33	$(LOCAL_PATH)/../include/
34
35# Accommodate arm-eabi-4.4.3 tools that don't set __ANDROID__
36LOCAL_CFLAGS:=-D__ANDROID__
37LOCAL_CFLAGS+=-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DENABLE_IPV4 -DENABLE_IPV6
38LOCAL_CFLAGS += -Wno-pointer-arith -Wno-unused-parameter -Wno-sign-compare -Wno-pointer-sign
39
40LOCAL_SRC_FILES:= \
41	libip6tc.c \
42
43
44LOCAL_LDFLAGS:=-version-info 1:0:1
45LOCAL_MODULE_TAGS:=
46LOCAL_MODULE:=libip6tc
47
48include $(BUILD_STATIC_LIBRARY)
49
50#----------------------------------------------------------------
51