1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright (c) Samsung Electronics Co., Ltd. 3# All rights reserved. 4# 5 6SPDK_ROOT_DIR := $(abspath $(CURDIR)/..) 7include $(SPDK_ROOT_DIR)/mk/spdk.common.mk 8 9.PHONY: all clean install uninstall 10 11all: 12 (cd $(SPDK_ROOT_DIR)/xnvme && \ 13 meson setup builddir -Dwith-spdk=false -Dwith-fio=false -Dshared_library=false && \ 14 meson compile -C builddir && \ 15 cd -) 16 17install: all 18 19uninstall: 20 @: 21 22clean: 23 (cd $(SPDK_ROOT_DIR)/xnvme && rm -fr builddir || true && cd -) 24