vhost: fix error code check when creating thread
[dpdk.git] / lib / librte_ether / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2017 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_ethdev.a
10
11 CFLAGS += -O3
12 CFLAGS += $(WERROR_FLAGS)
13 LDLIBS += -lrte_net -lrte_eal -lrte_mempool -lrte_ring
14 LDLIBS += -lrte_mbuf
15
16 EXPORT_MAP := rte_ethdev_version.map
17
18 LIBABIVER := 8
19
20 SRCS-y += rte_ethdev.c
21 SRCS-y += rte_flow.c
22 SRCS-y += rte_tm.c
23 SRCS-y += rte_mtr.c
24 SRCS-y += ethdev_profile.c
25
26 #
27 # Export include files
28 #
29 SYMLINK-y-include += rte_ethdev.h
30 SYMLINK-y-include += rte_ethdev_pci.h
31 SYMLINK-y-include += rte_ethdev_vdev.h
32 SYMLINK-y-include += rte_eth_ctrl.h
33 SYMLINK-y-include += rte_dev_info.h
34 SYMLINK-y-include += rte_flow.h
35 SYMLINK-y-include += rte_flow_driver.h
36 SYMLINK-y-include += rte_tm.h
37 SYMLINK-y-include += rte_tm_driver.h
38 SYMLINK-y-include += rte_mtr.h
39 SYMLINK-y-include += rte_mtr_driver.h
40
41 include $(RTE_SDK)/mk/rte.lib.mk