platform_system_core/libnl_2/Android.mk
Iliyan Malchev db7462f8d1 libnl_2: compile as shared library as well
Change-Id: I103155b08a16b512a582ee2c4ffc9d6f8a1e1c6a
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-06-11 14:18:45 -07:00

37 lines
768 B
Makefile

#######################################
# * Netlink cache not implemented
# * Library is not thread safe
#######################################
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 \
dbg.c
LOCAL_C_INCLUDES += \
external/libnl-headers
# Static Library
LOCAL_MODULE := libnl_2
LOCAL_MODULE_TAGS := optional
include $(BUILD_STATIC_LIBRARY)
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)