1# SPDX-License-Identifier: Apache-2.0
2
3zephyr_library()
4
5zephyr_library_sources_ifdef(CONFIG_MODEM_RECEIVER modem_receiver.c)
6zephyr_library_sources_ifdef(CONFIG_MODEM_SHELL modem_shell.c)
7
8zephyr_library_sources_ifdef(CONFIG_MODEM_CONTEXT modem_context.c)
9
10zephyr_library_sources_ifdef(CONFIG_MODEM_IFACE_UART_INTERRUPT modem_iface_uart_interrupt.c)
11zephyr_library_sources_ifdef(CONFIG_MODEM_IFACE_UART_ASYNC modem_iface_uart_async.c)
12zephyr_library_sources_ifdef(CONFIG_MODEM_CMD_HANDLER modem_cmd_handler.c)
13zephyr_library_sources_ifdef(CONFIG_MODEM_SOCKET modem_socket.c)
14
15zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
16zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/lib/sockets)
17
18if(CONFIG_MODEM_UBLOX_SARA)
19	zephyr_library_sources(ublox-sara-r4.c)
20endif()
21
22if(CONFIG_MODEM_QUECTEL_BG9X)
23	zephyr_library_sources(quectel-bg9x.c)
24endif()
25
26if(CONFIG_MODEM_WNCM14A2A)
27	zephyr_library_sources(wncm14a2a.c)
28endif()
29
30if (CONFIG_MODEM_HL7800)
31  zephyr_library_sources(hl7800.c)
32endif()
33
34if (CONFIG_MODEM_SIM7080)
35	zephyr_library_sources(simcom-sim7080.c)
36endif()
37
38zephyr_library_sources_ifdef(CONFIG_MODEM_CELLULAR modem_cellular.c)
39zephyr_library_sources_ifdef(CONFIG_MODEM_AT_SHELL modem_at_shell.c)
40