summaryrefslogtreecommitdiff
path: root/Android.mk
blob: c3d828363e005373c909d80a958b06700052b79a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
include $(LOCAL_PATH)/android.config

INCLUDES = $(LOCAL_PATH)
INCLUDES += external/libnl/include

LOCAL_CFLAGS := \
    -Wall -Werror \
    -Wno-format \
    -Wno-unused-parameter \
    -Wno-unused-variable \

ifdef HAVE_LIBNL20
LOCAL_CFLAGS += -DHAVE_LIBNL20
endif

########################

LOCAL_SRC_FILES:= nfacct.c
LOCAL_MODULE := nfacct

LOCAL_SHARED_LIBRARIES += libnl
LOCAL_C_INCLUDES := $(INCLUDES)

include $(BUILD_EXECUTABLE)