common/octeontx2: fix memory mapping API usage
[dpdk.git] / lib / librte_port / meson.build
index ae5f3b7..9bbae28 100644 (file)
@@ -1,7 +1,6 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-version = 3
 sources = files(
        'rte_port_ethdev.c',
        'rte_port_fd.c',
@@ -11,7 +10,9 @@ sources = files(
        'rte_port_sched.c',
        'rte_port_source_sink.c',
        'rte_port_sym_crypto.c',
-       'rte_port_eventdev.c')
+       'rte_port_eventdev.c',
+       'rte_swx_port_ethdev.c',
+       'rte_swx_port_source_sink.c',)
 headers = files(
        'rte_port_ethdev.h',
        'rte_port_fd.h',
@@ -22,9 +23,16 @@ headers = files(
        'rte_port_sched.h',
        'rte_port_source_sink.h',
        'rte_port_sym_crypto.h',
-       'rte_port_eventdev.h')
+       'rte_port_eventdev.h',
+       'rte_swx_port.h',
+       'rte_swx_port_ethdev.h',
+       'rte_swx_port_source_sink.h',)
 deps += ['ethdev', 'sched', 'ip_frag', 'cryptodev', 'eventdev']
 
+if dpdk_conf.has('RTE_PORT_PCAP')
+       ext_deps += pcap_dep # dependency provided in config/meson.build
+endif
+
 if dpdk_conf.has('RTE_LIBRTE_KNI')
        sources += files('rte_port_kni.c')
        headers += files('rte_port_kni.h')