1if(CONFIG_LIBLC3)
2
3zephyr_library_named(liblc3)
4zephyr_library_compile_options(-O3 -std=c11 -ffast-math -Wno-array-bounds)
5
6zephyr_include_directories(${ZEPHYR_LIBLC3_MODULE_DIR}/include)
7zephyr_include_directories(${ZEPHYR_LIBLC3_MODULE_DIR}/src)
8
9zephyr_library_sources(${ZEPHYR_LIBLC3_MODULE_DIR}/src/attdet.c)
10zephyr_library_sources(${ZEPHYR_LIBLC3_MODULE_DIR}/src/bits.c)
11zephyr_library_sources(${ZEPHYR_LIBLC3_MODULE_DIR}/src/bwdet.c)
12zephyr_library_sources(${ZEPHYR_LIBLC3_MODULE_DIR}/src/energy.c)
13zephyr_library_sources(${ZEPHYR_LIBLC3_MODULE_DIR}/src/lc3.c)
14zephyr_library_sources(${ZEPHYR_LIBLC3_MODULE_DIR}/src/ltpf.c)
15zephyr_library_sources(${ZEPHYR_LIBLC3_MODULE_DIR}/src/mdct.c)
16zephyr_library_sources(${ZEPHYR_LIBLC3_MODULE_DIR}/src/plc.c)
17zephyr_library_sources(${ZEPHYR_LIBLC3_MODULE_DIR}/src/sns.c)
18zephyr_library_sources(${ZEPHYR_LIBLC3_MODULE_DIR}/src/spec.c)
19zephyr_library_sources(${ZEPHYR_LIBLC3_MODULE_DIR}/src/tables.c)
20zephyr_library_sources(${ZEPHYR_LIBLC3_MODULE_DIR}/src/tns.c)
21
22endif()
23