xref: /spdk/test/unit/lib/Makefile (revision 488570ebd418ba07c9e69e65106dcc964f3bb41b)
1#  SPDX-License-Identifier: BSD-3-Clause
2#  Copyright (c) Intel Corporation.
3#  All rights reserved.
4#
5
6SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
7include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
8
9DIRS-y =  accel bdev blob blobfs dma event ioat iscsi json jsonrpc log lvol
10DIRS-y += notify nvme nvmf scsi sock thread util env_dpdk init rpc
11DIRS-$(CONFIG_IDXD) += idxd
12DIRS-$(CONFIG_REDUCE) += reduce
13ifeq ($(OS),Linux)
14DIRS-$(CONFIG_VHOST) += vhost
15DIRS-y += ftl
16endif
17
18.PHONY: all clean $(DIRS-y)
19
20all: $(DIRS-y)
21clean: $(DIRS-y)
22
23include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
24