1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_SRC_FILES := lib/cache.c \ 6 lib/data.c \ 7 lib/nl.c \ 8 lib/doc.c \ 9 lib/cache_mngr.c \ 10 lib/addr.c \ 11 lib/socket.c \ 12 lib/fib_lookup/lookup.c \ 13 lib/fib_lookup/request.c \ 14 lib/msg.c \ 15 lib/object.c \ 16 lib/attr.c \ 17 lib/utils.c \ 18 lib/cache_mngt.c \ 19 lib/handlers.c \ 20 lib/genl/ctrl.c \ 21 lib/genl/mngt.c \ 22 lib/genl/family.c \ 23 lib/genl/genl.c \ 24 lib/route/rtnl.c \ 25 lib/route/route_utils.c \ 26 lib/netfilter/nfnl.c \ 27 lib/error.c 28 29LOCAL_C_INCLUDES := $(LOCAL_PATH)/include 30LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include 31LOCAL_MODULE := libnl 32 33include $(BUILD_STATIC_LIBRARY) 34 35include $(CLEAR_VARS) 36 37LOCAL_WHOLE_STATIC_LIBRARIES := libnl 38LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include 39LOCAL_MODULE := libnl 40 41include $(BUILD_SHARED_LIBRARY) 42