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
15if(CONFIG_MODEM_UBLOX_SARA)
16	zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
17	zephyr_library_sources(ublox-sara-r4.c)
18endif()
19
20if(CONFIG_MODEM_QUECTEL_BG9X)
21	zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
22	zephyr_library_sources(quectel-bg9x.c)
23endif()
24
25if(CONFIG_MODEM_WNCM14A2A)
26	zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
27	zephyr_library_sources(wncm14a2a.c)
28endif()
29
30if(CONFIG_MODEM_GSM_PPP)
31	zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
32	zephyr_library_sources(gsm_ppp.c)
33endif()
34
35if (CONFIG_MODEM_HL7800)
36  zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
37  zephyr_library_sources(hl7800.c)
38endif()
39
40if (CONFIG_MODEM_SIM7080)
41	zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
42	zephyr_library_sources(simcom-sim7080.c)
43endif()
44
45zephyr_library_sources_ifdef(CONFIG_MODEM_CELLULAR modem_cellular.c)
46