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