xref: /spdk/test/unit/lib/Makefile (revision b3bec07939ebe2ea2e0c43931705d32aa9e06719)
1#  SPDX-License-Identifier: BSD-3-Clause
2#  Copyright (C) 2015 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_VBDEV_COMPRESS) += reduce
13DIRS-$(CONFIG_VHOST) += vhost
14DIRS-$(CONFIG_RDMA) += rdma
15ifeq ($(OS),Linux)
16DIRS-y += ftl
17endif
18
19.PHONY: all clean $(DIRS-y)
20
21all: $(DIRS-y)
22clean: $(DIRS-y)
23
24include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
25