4d08bc4c57ec1d78306fecef9f9e5291c5cc4dd2
[dpdk.git] / examples / ethtool / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Intel Corporation
3
4 # meson file, for building this example as part of a main DPDK build.
5 #
6 # To build this example as a standalone application with an already-installed
7 # DPDK instance, use 'make'
8
9 build = is_linux
10 if not build
11         subdir_done()
12 endif
13
14 sources = files('lib/rte_ethtool.c',
15         'ethtool-app/ethapp.c',
16         'ethtool-app/main.c')
17 includes = include_directories('lib', 'ethtool-app')
18
19 deps += 'bus_pci'
20 if dpdk_conf.has('RTE_NET_IXGBE')
21         deps += 'net_ixgbe'
22 endif
23
24 allow_experimental_apis = true