24 lines
504 B
Makefile
24 lines
504 B
Makefile
|
# SPDX-License-Identifier: BSD-3-Clause
|
||
|
# Copyright (c) Samsung Electronics Co., Ltd.
|
||
|
# All rights reserved.
|
||
|
#
|
||
|
|
||
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/..)
|
||
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
||
|
|
||
|
.PHONY: all clean install uninstall
|
||
|
|
||
|
all:
|
||
|
(cd $(SPDK_ROOT_DIR)/xnvme && \
|
||
|
meson setup builddir -Dwith-spdk=false -Dwith-fio=false -Dshared_library=false && \
|
||
|
meson compile -C builddir && \
|
||
|
cd -)
|
||
|
|
||
|
install: all
|
||
|
|
||
|
uninstall:
|
||
|
@:
|
||
|
|
||
|
clean:
|
||
|
(cd $(SPDK_ROOT_DIR)/xnvme && rm -fr builddir || true && cd -)
|