2012-06-08 19:41:34 +02:00
|
|
|
#######################################
|
|
|
|
# * Netlink cache not implemented
|
|
|
|
# * Library is not thread safe
|
|
|
|
#######################################
|
|
|
|
|
2011-05-24 06:14:58 +02:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
2012-06-08 19:41:34 +02:00
|
|
|
|
2011-05-24 06:14:58 +02: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 00:25:51 +02:00
|
|
|
socket.c \
|
|
|
|
dbg.c
|
2011-05-24 06:14:58 +02:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES += \
|
2011-08-08 21:43:25 +02:00
|
|
|
external/libnl-headers
|
2011-05-24 06:14:58 +02:00
|
|
|
|
|
|
|
# Static Library
|
|
|
|
LOCAL_MODULE := libnl_2
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
2014-02-06 02:50:35 +01:00
|
|
|
LOCAL_32_BIT_ONLY := true
|
2011-05-24 06:14:58 +02:00
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
2012-06-08 19:41:34 +02: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
|
2014-02-06 02:50:35 +01:00
|
|
|
LOCAL_32_BIT_ONLY := true
|
2012-06-08 19:41:34 +02:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|