net/af_xdp: fix zero-copy Tx queue drain
[dpdk.git] / examples / ip_pipeline / meson.build
index 71812f4..57f522c 100644 (file)
@@ -1,28 +1,31 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 Intel Corporation
+# Copyright(c) 2017-2018 Intel Corporation
 
 # meson file, for building this example as part of a main DPDK build.
 #
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
-deps += ['cfgfile', 'pipeline', 'bus_pci']
+build = cc.has_header('sys/epoll.h')
+if not build
+    subdir_done()
+endif
+
+deps += ['pipeline', 'bus_pci']
 allow_experimental_apis = true
-includes += include_directories('pipeline')
 sources = files(
-       'config_check.c',
-       'config_parse.c',
-       'config_parse_tm.c',
-       'cpu_core_map.c',
-       'init.c',
-       'main.c',
-       'parser.c',
-       'thread.c',
-       'thread_fe.c',
-       'pipeline/pipeline_common_be.c',
-       'pipeline/pipeline_common_fe.c',
-       'pipeline/pipeline_firewall_be.c',
-       'pipeline/pipeline_firewall.c',
-       'pipeline/pipeline_master_be.c',
-       'pipeline/pipeline_master.c',
+        'action.c',
+        'cli.c',
+        'conn.c',
+        'cryptodev.c',
+        'kni.c',
+        'link.c',
+        'main.c',
+        'mempool.c',
+        'parser.c',
+        'pipeline.c',
+        'swq.c',
+        'tap.c',
+        'thread.c',
+        'tmgr.c',
 )