xref: /dpdk/examples/ethtool/meson.build (revision cf59165dcbadfa2a3401106a263fc8e88143e736)
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
9build = is_linux
10if not build
11    subdir_done()
12endif
13
14sources = files(
15        'lib/rte_ethtool.c',
16        'ethtool-app/ethapp.c',
17        'ethtool-app/main.c',
18)
19includes = include_directories('lib', 'ethtool-app')
20
21deps += 'bus_pci'
22if dpdk_conf.has('RTE_NET_IXGBE')
23    deps += 'net_ixgbe'
24endif
25
26allow_experimental_apis = true
27