5d9fe779c8
Fixes -Wint-to-pointer and -Wpointer-to-int warnings, plus various -Wformat warnings. Change-Id: I6c5eea6b4273d82d28b8e5d2925f3e5457511b17
39 lines
820 B
Makefile
39 lines
820 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
|
|
LOCAL_32_BIT_ONLY := true
|
|
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
|
|
LOCAL_32_BIT_ONLY := true
|
|
include $(BUILD_SHARED_LIBRARY)
|