xref: /spdk/app/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 += trace
10DIRS-y += trace_record
11DIRS-y += nvmf_tgt
12DIRS-y += iscsi_top
13DIRS-y += iscsi_tgt
14DIRS-y += spdk_tgt
15DIRS-y += spdk_lspci
16ifneq ($(OS),Windows)
17# TODO - currently disabled on Windows due to lack of support for curses
18DIRS-y += spdk_top
19endif
20ifeq ($(OS),Linux)
21DIRS-$(CONFIG_VHOST) += vhost
22DIRS-y += spdk_dd
23endif
24
25.PHONY: all clean $(DIRS-y)
26
27all: $(DIRS-y)
28clean: $(DIRS-y)
29
30include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
31