1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright (C) 2015 Intel Corporation. 3# All rights reserved. 4# Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. 5# 6 7SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..) 8include $(SPDK_ROOT_DIR)/mk/spdk.common.mk 9 10DIRS-y = poller_perf 11 12# spdk_lock.c includes thread.c, which causes problems when registering the same 13# tracepoint for "thread" in the program and shared library. It is sufficient 14# to test this only on static builds. 15ifneq ($(CONFIG_SHARED),y) 16DIRS-y += lock 17endif 18 19.PHONY: all clean $(DIRS-y) 20 21all: $(DIRS-y) 22clean: $(DIRS-y) 23 24include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk 25