2022-06-03 19:15:11 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-11-01 20:26:26 +00:00
|
|
|
# Copyright (C) 2017 Intel Corporation.
|
2017-12-04 17:07:04 +00:00
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
|
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|
|
|
|
2022-01-31 09:55:58 +00:00
|
|
|
SO_VER := 4
|
2020-02-28 20:47:11 +00:00
|
|
|
SO_MINOR := 0
|
|
|
|
|
2017-12-04 17:07:04 +00:00
|
|
|
CFLAGS += -I$(SPDK_ROOT_DIR)/lib/bdev/
|
|
|
|
# CentOS 7 libiscsi package has functions declared inline but not
|
|
|
|
# defined in the header file. Not aware of any way to disable
|
|
|
|
# this warning so just make sure the warning isn't treated as
|
|
|
|
# an error.
|
|
|
|
CFLAGS += -Wno-error
|
2018-04-05 21:41:19 +00:00
|
|
|
C_SRCS = bdev_iscsi.c bdev_iscsi_rpc.c
|
2017-12-04 17:07:04 +00:00
|
|
|
LIBNAME = bdev_iscsi
|
|
|
|
|
2020-05-10 06:46:28 +00:00
|
|
|
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
|
|
|
|
|
2017-12-04 17:07:04 +00:00
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk
|