This makes it much easier to mock this code in unit tests without having to mock up the entire thread library. Change-Id: Ic3d9cb826ae71af780a06f88669c37cef2c9a4ae Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16173 Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
18 lines
362 B
Makefile
18 lines
362 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (C) 2015 Intel Corporation.
|
|
# All rights reserved.
|
|
#
|
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|
|
|
SO_VER := 8
|
|
SO_MINOR := 0
|
|
|
|
C_SRCS = thread.c iobuf.c
|
|
LIBNAME = thread
|
|
|
|
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_thread.map)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk
|