2022-06-03 19:15:11 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-11-01 20:26:26 +00:00
|
|
|
# Copyright (C) 2015 Intel Corporation.
|
2015-09-21 15:52:41 +00:00
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
|
2016-05-09 20:56:07 +00:00
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
|
2015-09-21 15:52:41 +00:00
|
|
|
|
|
|
|
APP = perf
|
|
|
|
|
2020-07-06 12:41:52 +00:00
|
|
|
include $(SPDK_ROOT_DIR)/mk/nvme.libtest.mk
|
|
|
|
|
2020-05-11 22:02:01 +00:00
|
|
|
ifeq ($(OS),Linux)
|
|
|
|
SYS_LIBS += -laio
|
|
|
|
CFLAGS += -DHAVE_LIBAIO
|
|
|
|
endif
|
|
|
|
|
2018-10-18 18:48:49 +00:00
|
|
|
install: $(APP)
|
|
|
|
$(INSTALL_EXAMPLE)
|
|
|
|
|
2019-01-02 09:28:02 +00:00
|
|
|
uninstall:
|
|
|
|
$(UNINSTALL_EXAMPLE)
|