1# SPDX-License-Identifier: Apache-2.0 2 3zephyr_library_named(zperf) 4 5zephyr_library_sources(zperf_common.c) 6zephyr_library_sources_ifdef(CONFIG_NET_UDP zperf_udp_uploader.c) 7zephyr_library_sources_ifdef(CONFIG_NET_TCP zperf_tcp_uploader.c) 8 9if(CONFIG_NET_ZPERF_SERVER) 10 zephyr_library_sources(zperf_session.c) 11 zephyr_library_sources_ifdef(CONFIG_NET_UDP zperf_udp_receiver.c) 12 zephyr_library_sources_ifdef(CONFIG_NET_TCP zperf_tcp_receiver.c) 13endif() 14 15zephyr_library_sources_ifdef(CONFIG_NET_SHELL 16 zperf_shell.c 17) 18 19zephyr_library_include_directories( 20 ${ZEPHYR_BASE}/subsys/net/ip 21) 22