summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/lib/librte_stack/Makefile
blob: 020ef102b5a26604f5cf0294d3dc3692d27ade69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2019 Intel Corporation

include $(RTE_SDK)/mk/rte.vars.mk

# library name
LIB = librte_stack.a

CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
LDLIBS += -lrte_eal

EXPORT_MAP := rte_stack_version.map

# all source are stored in SRCS-y
SRCS-$(CONFIG_RTE_LIBRTE_STACK) := rte_stack.c \
				   rte_stack_std.c \
				   rte_stack_lf.c

# install includes
SYMLINK-$(CONFIG_RTE_LIBRTE_STACK)-include := rte_stack.h \
					      rte_stack_std.h \
					      rte_stack_lf.h \
					      rte_stack_lf_generic.h \
					      rte_stack_lf_c11.h \
					      rte_stack_lf_stubs.h

include $(RTE_SDK)/mk/rte.lib.mk