30 lines
592 B
Makefile
30 lines
592 B
Makefile
|
LOCAL_PATH := $(call my-dir)
|
||
|
|
||
|
include $(CLEAR_VARS)
|
||
|
|
||
|
LOCAL_SRC_FILES := \
|
||
|
attr.c \
|
||
|
cache.c \
|
||
|
genl/genl.c \
|
||
|
genl/family.c \
|
||
|
handlers.c \
|
||
|
msg.c \
|
||
|
netlink.c \
|
||
|
object.c \
|
||
|
socket.c
|
||
|
|
||
|
LOCAL_C_INCLUDES += \
|
||
|
$(LOCAL_PATH)/include
|
||
|
|
||
|
# Static Library
|
||
|
LOCAL_MODULE := libnl_2
|
||
|
LOCAL_MODULE_TAGS := optional
|
||
|
include $(BUILD_STATIC_LIBRARY)
|
||
|
|
||
|
#######################################
|
||
|
# Shared library currently unavailiable
|
||
|
# * Netlink cache not implemented
|
||
|
# * Library is not thread safe
|
||
|
#######################################
|
||
|
|