2012-06-09 01:41:34 +08:00
|
|
|
#######################################
|
|
|
|
# * Netlink cache not implemented
|
|
|
|
# * Library is not thread safe
|
|
|
|
#######################################
|
|
|
|
|
2011-05-24 12:14:58 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
2012-06-09 01:41:34 +08:00
|
|
|
|
2011-05-24 12:14:58 +08:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
attr.c \
|
|
|
|
cache.c \
|
|
|
|
genl/genl.c \
|
|
|
|
genl/family.c \
|
|
|
|
handlers.c \
|
|
|
|
msg.c \
|
|
|
|
netlink.c \
|
|
|
|
object.c \
|
2011-08-11 06:25:51 +08:00
|
|
|
socket.c \
|
|
|
|
dbg.c
|
2011-05-24 12:14:58 +08:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES += \
|
2011-08-09 03:43:25 +08:00
|
|
|
external/libnl-headers
|
2011-05-24 12:14:58 +08:00
|
|
|
|
|
|
|
# Static Library
|
|
|
|
LOCAL_MODULE := libnl_2
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
2012-06-09 01:41:34 +08:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES :=
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES:= libnl_2
|
|
|
|
LOCAL_SHARED_LIBRARIES:= liblog
|
|
|
|
LOCAL_MODULE := libnl_2
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|