1 ####################################### 2 # * Netlink cache not implemented 3 # * Library is not thread safe 4 ####################################### 5 6 LOCAL_PATH := $(call my-dir) 7 8 9 include $(CLEAR_VARS) 10 11 LOCAL_SRC_FILES := \ 12 attr.c \ 13 cache.c \ 14 genl/genl.c \ 15 genl/family.c \ 16 handlers.c \ 17 msg.c \ 18 netlink.c \ 19 object.c \ 20 socket.c \ 21 dbg.c 22 23 LOCAL_C_INCLUDES += \ 24 external/libnl-headers 25 26 # Static Library 27 LOCAL_MODULE := libnl_2 28 LOCAL_MODULE_TAGS := optional 29 include $(BUILD_STATIC_LIBRARY) 30 31 include $(CLEAR_VARS) 32 LOCAL_SRC_FILES := 33 LOCAL_WHOLE_STATIC_LIBRARIES:= libnl_2 34 LOCAL_SHARED_LIBRARIES:= liblog 35 LOCAL_MODULE := libnl_2 36 LOCAL_MODULE_TAGS := optional 37 include $(BUILD_SHARED_LIBRARY) 38