xref: /spdk/app/Makefile (revision a206234d09f8c4391fa8e5517809f76e1dd27599)
1bdece622SDaniel Verkamp#
2bdece622SDaniel Verkamp#  BSD LICENSE
3bdece622SDaniel Verkamp#
4bdece622SDaniel Verkamp#  Copyright (c) Intel Corporation.
5bdece622SDaniel Verkamp#  All rights reserved.
6bdece622SDaniel Verkamp#
7bdece622SDaniel Verkamp#  Redistribution and use in source and binary forms, with or without
8bdece622SDaniel Verkamp#  modification, are permitted provided that the following conditions
9bdece622SDaniel Verkamp#  are met:
10bdece622SDaniel Verkamp#
11bdece622SDaniel Verkamp#    * Redistributions of source code must retain the above copyright
12bdece622SDaniel Verkamp#      notice, this list of conditions and the following disclaimer.
13bdece622SDaniel Verkamp#    * Redistributions in binary form must reproduce the above copyright
14bdece622SDaniel Verkamp#      notice, this list of conditions and the following disclaimer in
15bdece622SDaniel Verkamp#      the documentation and/or other materials provided with the
16bdece622SDaniel Verkamp#      distribution.
17bdece622SDaniel Verkamp#    * Neither the name of Intel Corporation nor the names of its
18bdece622SDaniel Verkamp#      contributors may be used to endorse or promote products derived
19bdece622SDaniel Verkamp#      from this software without specific prior written permission.
20bdece622SDaniel Verkamp#
21bdece622SDaniel Verkamp#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22bdece622SDaniel Verkamp#  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23bdece622SDaniel Verkamp#  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24bdece622SDaniel Verkamp#  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25bdece622SDaniel Verkamp#  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26bdece622SDaniel Verkamp#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27bdece622SDaniel Verkamp#  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28bdece622SDaniel Verkamp#  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29bdece622SDaniel Verkamp#  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30bdece622SDaniel Verkamp#  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31bdece622SDaniel Verkamp#  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32bdece622SDaniel Verkamp#
33bdece622SDaniel Verkamp
34bdece622SDaniel VerkampSPDK_ROOT_DIR := $(abspath $(CURDIR)/..)
35bdece622SDaniel Verkampinclude $(SPDK_ROOT_DIR)/mk/spdk.common.mk
36bdece622SDaniel Verkamp
37bdece622SDaniel VerkampDIRS-y += trace
38*a206234dSLiu XiaodongDIRS-y += trace_record
394ace9653SDaniel VerkampDIRS-y += nvmf_tgt
40467ea9e0SDaniel VerkampDIRS-y += iscsi_top
41ba74eaf4SDaniel VerkampDIRS-y += iscsi_tgt
425175ce96SDaniel VerkampDIRS-y += spdk_tgt
432019ebf4SJan Krylifeq ($(OS),Linux)
44ba74eaf4SDaniel VerkampDIRS-$(CONFIG_VHOST) += vhost
451e92d78aSBen Walkerendif
46bdece622SDaniel Verkamp
47bdece622SDaniel Verkamp.PHONY: all clean $(DIRS-y)
48bdece622SDaniel Verkamp
49bdece622SDaniel Verkampall: $(DIRS-y)
50bdece622SDaniel Verkampclean: $(DIRS-y)
51bdece622SDaniel Verkamp
52bdece622SDaniel Verkampinclude $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
53