1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2017 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
11 CFLAGS += -DALLOW_EXPERIMENTAL_API
13 CFLAGS += $(WERROR_FLAGS)
14 LDLIBS += -lrte_net -lrte_eal -lrte_mempool -lrte_ring
17 EXPORT_MAP := rte_ethdev_version.map
21 SRCS-y += rte_ethdev.c
25 SRCS-y += ethdev_profile.c
28 # Export include files
30 SYMLINK-y-include += rte_ethdev.h
31 SYMLINK-y-include += rte_ethdev_driver.h
32 SYMLINK-y-include += rte_ethdev_core.h
33 SYMLINK-y-include += rte_ethdev_pci.h
34 SYMLINK-y-include += rte_ethdev_vdev.h
35 SYMLINK-y-include += rte_eth_ctrl.h
36 SYMLINK-y-include += rte_dev_info.h
37 SYMLINK-y-include += rte_flow.h
38 SYMLINK-y-include += rte_flow_driver.h
39 SYMLINK-y-include += rte_tm.h
40 SYMLINK-y-include += rte_tm_driver.h
41 SYMLINK-y-include += rte_mtr.h
42 SYMLINK-y-include += rte_mtr_driver.h
44 include $(RTE_SDK)/mk/rte.lib.mk