1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 include $(LOCAL_PATH)/android.config 4 5 INCLUDES = $(LOCAL_PATH) 6 INCLUDES += external/libnl/include 7 8 LOCAL_CFLAGS := \ 9 -Wall -Werror \ 10 -Wno-format \ 11 -Wno-unused-parameter \ 12 -Wno-unused-variable \ 13 14 ifdef HAVE_LIBNL20 15 LOCAL_CFLAGS += -DHAVE_LIBNL20 16 endif 17 18 ######################## 19 20 LOCAL_SRC_FILES:= nfacct.c 21 LOCAL_MODULE := nfacct 22 23 LOCAL_SHARED_LIBRARIES += libnl 24 LOCAL_C_INCLUDES := $(INCLUDES) 25 26 include $(BUILD_EXECUTABLE) 27