Add some basic utilities for handling arrays of strings. Signed-off-by: John Levon <john.levon@nutanix.com> Change-Id: I2333f3e4605175b1717a7f289847ff2d48745e8d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15274 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
25 lines
621 B
Makefile
25 lines
621 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 := 5
|
|
SO_MINOR := 2
|
|
|
|
C_SRCS = base64.c bit_array.c cpuset.c crc16.c crc32.c crc32c.c crc32_ieee.c \
|
|
dif.c fd.c file.c hexlify.c iov.c math.c pipe.c strerror_tls.c string.c uuid.c \
|
|
fd_group.c xor.c zipf.c
|
|
LIBNAME = util
|
|
LOCAL_SYS_LIBS = -luuid
|
|
|
|
ifeq ($(CONFIG_ISAL), y)
|
|
LOCAL_SYS_LIBS += -L$(ISAL_DIR)/.libs -lisal
|
|
endif
|
|
|
|
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_util.map)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk
|