xref: /spdk/app/vhost/Makefile (revision a6dbe3721eb3b5990707fc3e378c95e505dd8ab5)
1488570ebSJim Harris#  SPDX-License-Identifier: BSD-3-Clause
2*a6dbe372Spaul luse#  Copyright (C) 2017 Intel Corporation.
31dbf53eeSPiotr Pelplinski#  All rights reserved.
41dbf53eeSPiotr Pelplinski#
51dbf53eeSPiotr Pelplinski
61dbf53eeSPiotr PelplinskiSPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
71dbf53eeSPiotr Pelplinskiinclude $(SPDK_ROOT_DIR)/mk/spdk.common.mk
81dbf53eeSPiotr Pelplinskiinclude $(SPDK_ROOT_DIR)/mk/spdk.modules.mk
91dbf53eeSPiotr Pelplinski
101dbf53eeSPiotr PelplinskiAPP = vhost
111dbf53eeSPiotr Pelplinski
121dbf53eeSPiotr PelplinskiC_SRCS := vhost.c
131dbf53eeSPiotr Pelplinski
14e0516095STomasz ZawadzkiSPDK_LIB_LIST = $(ALL_MODULES_LIST) event event_vhost_blk event_vhost_scsi event_nbd
152302dc6cSDaniel Verkamp
16de467ec9SSeth Howellifeq ($(SPDK_ROOT_DIR)/lib/env_dpdk,$(CONFIG_ENV))
17de467ec9SSeth HowellSPDK_LIB_LIST += env_dpdk_rpc
18de467ec9SSeth Howellendif
19de467ec9SSeth Howell
205b16c18dSJim Harrisinclude $(SPDK_ROOT_DIR)/mk/spdk.app.mk
2140319c0eSHeinrich Schuchardt
2240319c0eSHeinrich Schuchardtinstall: $(APP)
2340319c0eSHeinrich Schuchardt	$(INSTALL_APP)
2440319c0eSHeinrich Schuchardt
2540319c0eSHeinrich Schuchardtuninstall:
2640319c0eSHeinrich Schuchardt	$(UNINSTALL_APP)
27