xref: /spdk/app/Makefile (revision 355312bfcd3751f9af17fbefc90373fb8a269614)
1#  SPDX-License-Identifier: BSD-3-Clause
2#  Copyright (C) 2015 Intel Corporation.
3#  Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES
4#  All rights reserved.
5#
6
7SPDK_ROOT_DIR := $(abspath $(CURDIR)/..)
8include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
9
10DIRS-y += trace
11DIRS-y += trace_record
12DIRS-y += nvmf_tgt
13DIRS-y += iscsi_tgt
14DIRS-y += spdk_tgt
15DIRS-y += spdk_lspci
16DIRS-y += spdk_nvme_perf
17DIRS-y += spdk_nvme_identify
18DIRS-y += spdk_nvme_discover
19ifneq ($(OS),Windows)
20# TODO - currently disabled on Windows due to lack of support for curses
21DIRS-y += spdk_top
22endif
23ifeq ($(OS),Linux)
24DIRS-$(CONFIG_VHOST) += vhost
25DIRS-y += spdk_dd
26endif
27DIRS-$(CONFIG_FIO_PLUGIN) += fio
28
29.PHONY: all clean $(DIRS-y)
30
31all: $(DIRS-y)
32clean: $(DIRS-y)
33
34include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
35