net/ice/base: fix reference count on VSI list update
[dpdk.git] / drivers / net / failsafe / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2017 6WIND S.A.
3 # Copyright 2017 Mellanox Technologies, Ltd
4
5 include $(RTE_SDK)/mk/rte.vars.mk
6
7 # Library name
8 LIB = librte_pmd_failsafe.a
9
10 EXPORT_MAP := rte_pmd_failsafe_version.map
11
12 # Sources are stored in SRCS-y
13 SRCS-$(CONFIG_RTE_LIBRTE_PMD_FAILSAFE) += failsafe.c
14 SRCS-$(CONFIG_RTE_LIBRTE_PMD_FAILSAFE) += failsafe_args.c
15 SRCS-$(CONFIG_RTE_LIBRTE_PMD_FAILSAFE) += failsafe_eal.c
16 SRCS-$(CONFIG_RTE_LIBRTE_PMD_FAILSAFE) += failsafe_ops.c
17 SRCS-$(CONFIG_RTE_LIBRTE_PMD_FAILSAFE) += failsafe_rxtx.c
18 SRCS-$(CONFIG_RTE_LIBRTE_PMD_FAILSAFE) += failsafe_ether.c
19 SRCS-$(CONFIG_RTE_LIBRTE_PMD_FAILSAFE) += failsafe_flow.c
20 SRCS-$(CONFIG_RTE_LIBRTE_PMD_FAILSAFE) += failsafe_intr.c
21 ifeq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
22 CFLAGS += -DLINUX
23 else
24 CFLAGS += -DBSD
25 endif
26
27 # No exported include files
28
29 # Basic CFLAGS:
30 CFLAGS += -std=gnu99 -Wextra
31 CFLAGS += -O3
32 CFLAGS += -I.
33 CFLAGS += -D_DEFAULT_SOURCE
34 CFLAGS += -D_XOPEN_SOURCE=700
35 CFLAGS += $(WERROR_FLAGS)
36 CFLAGS += -Wno-strict-prototypes
37 CFLAGS += -pedantic
38 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
39 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
40 LDLIBS += -lrte_bus_vdev
41 LDLIBS += -lpthread
42
43 include $(RTE_SDK)/mk/rte.lib.mk