1# SPDX-License-Identifier: Apache-2.0
2
3zephyr_include_directories(.)
4
5zephyr_library()
6zephyr_library_sources(dns_pack.c)
7
8zephyr_library_sources_ifdef(CONFIG_DNS_SOCKET_DISPATCHER dispatcher.c)
9zephyr_library_sources_ifdef(CONFIG_DNS_RESOLVER resolve.c)
10zephyr_library_sources_ifdef(CONFIG_DNS_SD dns_sd.c)
11zephyr_library_sources_ifdef(CONFIG_DNS_RESOLVER_CACHE dns_cache.c)
12
13if(CONFIG_MDNS_RESPONDER)
14  zephyr_library_sources(mdns_responder.c)
15  zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
16endif()
17
18if(CONFIG_LLMNR_RESPONDER)
19  zephyr_library_sources(llmnr_responder.c)
20  zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
21endif()
22