1# SPDX-License-Identifier: Apache-2.0
2
3add_subdirectory(utils)
4add_subdirectory_ifdef(CONFIG_COAP coap)
5add_subdirectory_ifdef(CONFIG_LWM2M lwm2m)
6add_subdirectory_ifdef(CONFIG_SOCKS socks)
7add_subdirectory_ifdef(CONFIG_SNTP sntp)
8add_subdirectory_ifdef(CONFIG_MQTT_LIB               mqtt)
9add_subdirectory_ifdef(CONFIG_MQTT_SN_LIB            mqtt_sn)
10add_subdirectory_ifdef(CONFIG_PTP                    ptp)
11add_subdirectory_ifdef(CONFIG_TFTP_LIB               tftp)
12add_subdirectory_ifdef(CONFIG_NET_CONFIG_SETTINGS    config)
13add_subdirectory_ifdef(CONFIG_NET_SOCKETS            sockets)
14add_subdirectory_ifdef(CONFIG_TLS_CREDENTIALS        tls_credentials)
15add_subdirectory_ifdef(CONFIG_NET_CAPTURE            capture)
16add_subdirectory_ifdef(CONFIG_NET_ZPERF              zperf)
17add_subdirectory_ifdef(CONFIG_NET_SHELL              shell)
18add_subdirectory_ifdef(CONFIG_NET_TRICKLE            trickle)
19add_subdirectory_ifdef(CONFIG_NET_DHCPV6             dhcpv6)
20add_subdirectory_ifdef(CONFIG_PROMETHEUS             prometheus)
21add_subdirectory_ifdef(CONFIG_WIFI_CREDENTIALS       wifi_credentials)
22
23if (CONFIG_NET_DHCPV4 OR CONFIG_NET_DHCPV4_SERVER)
24  add_subdirectory(dhcpv4)
25endif()
26
27if (CONFIG_DNS_RESOLVER
28    OR CONFIG_MDNS_RESPONDER
29    OR CONFIG_LLMNR_RESPONDER)
30  add_subdirectory(dns)
31endif()
32
33if(CONFIG_HTTP)
34  add_subdirectory(http)
35endif()
36
37add_subdirectory_ifdef(CONFIG_WEBSOCKET_CLIENT websocket)
38