xref: /dpdk/lib/graph/meson.build (revision 1e2aed1ab3944d00f8fbf31cda5be20937cfa862)
199a2dd95SBruce Richardson# SPDX-License-Identifier: BSD-3-Clause
299a2dd95SBruce Richardson# Copyright(C) 2020 Marvell International Ltd.
399a2dd95SBruce Richardson
4b1094939SBruce Richardsonif is_windows
5b1094939SBruce Richardson    build = false
6b1094939SBruce Richardson    reason = 'not supported on Windows'
7b1094939SBruce Richardson    subdir_done()
8b1094939SBruce Richardsonendif
9b1094939SBruce Richardson
1099a2dd95SBruce Richardsonsources = files(
1199a2dd95SBruce Richardson        'node.c',
1299a2dd95SBruce Richardson        'graph.c',
1399a2dd95SBruce Richardson        'graph_ops.c',
1499a2dd95SBruce Richardson        'graph_debug.c',
1599a2dd95SBruce Richardson        'graph_stats.c',
1699a2dd95SBruce Richardson        'graph_populate.c',
179b72ea1fSAmit Prakash Shukla        'graph_pcap.c',
180f8d9133SZhirun Yan        'rte_graph_worker.c',
191d08f290SZhirun Yan        'rte_graph_model_mcore_dispatch.c',
2099a2dd95SBruce Richardson)
21a2bc0584SZhirun Yanheaders = files('rte_graph.h', 'rte_graph_worker.h')
22a2bc0584SZhirun Yanindirect_headers += files(
231d08f290SZhirun Yan        'rte_graph_model_mcore_dispatch.h',
24a2bc0584SZhirun Yan        'rte_graph_model_rtc.h',
25a2bc0584SZhirun Yan        'rte_graph_worker_common.h',
26a2bc0584SZhirun Yan)
2799a2dd95SBruce Richardson
28*1e2aed1aSZhirun Yandeps += ['eal', 'pcapng', 'mempool', 'ring']
29