net/bnxt: fix link during port toggle
[dpdk.git] / lib / librte_sched / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_sched.a
10
11 CFLAGS += -O3
12 CFLAGS += $(WERROR_FLAGS)
13
14 LDLIBS += -lm
15 LDLIBS += -lrt
16 LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf -lrte_net
17 LDLIBS += -lrte_timer
18
19 EXPORT_MAP := rte_sched_version.map
20
21 #
22 # all source are stored in SRCS-y
23 #
24 SRCS-$(CONFIG_RTE_LIBRTE_SCHED) += rte_sched.c rte_red.c rte_approx.c
25
26 # install includes
27 SYMLINK-$(CONFIG_RTE_LIBRTE_SCHED)-include := rte_sched.h rte_sched_common.h rte_red.h rte_approx.h
28
29 include $(RTE_SDK)/mk/rte.lib.mk