1LOCAL_PATH:= $(call my-dir) 2#---------------------------------------------------------------- 3# libxtables 4 5include $(CLEAR_VARS) 6 7LOCAL_C_INCLUDES:= \ 8 $(LOCAL_PATH)/../include/ \ 9 $(LOCAL_PATH)/../iptables/ \ 10 $(LOCAL_PATH)/.. \ 11 12LOCAL_CFLAGS:=-DNO_SHARED_LIBS=1 13LOCAL_CFLAGS+=-DXTABLES_INTERNAL 14LOCAL_CFLAGS+=-DXTABLES_LIBDIR=\"xtables_libdir_not_used\" 15LOCAL_CFLAGS+=-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DENABLE_IPV4 -DENABLE_IPV6 16LOCAL_CFLAGS += -Wno-sign-compare -Wno-pointer-arith -Wno-type-limits -Wno-missing-field-initializers -Wno-unused-parameter -Wno-clobbered -Wno-tautological-compare -Werror 17 18LOCAL_LDFLAGS:=-version-info 10:0:0 19LOCAL_SRC_FILES:= \ 20 xtables.c xtoptions.c 21 22LOCAL_MODULE:=libxtables 23 24include $(BUILD_STATIC_LIBRARY) 25 26include $(CLEAR_VARS) 27 28LOCAL_C_INCLUDES:= \ 29 $(LOCAL_PATH)/../include/ \ 30 $(LOCAL_PATH)/../iptables/ \ 31 $(LOCAL_PATH)/.. 32 33LOCAL_CFLAGS:=-DSHARED_LIBS=1 34LOCAL_CFLAGS+=-DXTABLES_INTERNAL 35LOCAL_CFLAGS+=-DXTABLES_LIBDIR=\"xtables_libdir_not_used\" 36LOCAL_CFLAGS+=-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DENABLE_IPV4 -DENABLE_IPV6 37 38LOCAL_CFLAGS += -Wno-sign-compare -Wno-pointer-arith -Wno-type-limits -Wno-missing-field-initializers -Wno-unused-parameter -Wno-clobbered -Wno-tautological-compare -Werror 39 40LOCAL_SRC_FILES:= \ 41 xtables.c xtoptions.c 42 43LOCAL_MODULE:=libxtables 44LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/../include/ 45 46include $(BUILD_SHARED_LIBRARY) 47