1# SPDX-License-Identifier: Apache-2.0
2
3add_subdirectory_ifdef(CONFIG_BT_SHELL shell)
4
5zephyr_library()
6zephyr_library_link_libraries(subsys__bluetooth)
7
8zephyr_library_sources_ifdef(CONFIG_BT_A2DP             a2dp.c a2dp_codec_sbc.c)
9zephyr_library_sources_ifdef(CONFIG_BT_AVDTP            avdtp.c)
10zephyr_library_sources_ifdef(CONFIG_BT_AVRCP            avrcp.c)
11zephyr_library_sources_ifdef(CONFIG_BT_AVCTP            avctp.c)
12zephyr_library_sources_ifdef(CONFIG_BT_RFCOMM           rfcomm.c)
13
14zephyr_library_sources_ifdef(
15  CONFIG_BT_CLASSIC
16  br.c
17  keys_br.c
18  l2cap_br.c
19  sdp.c
20  ssp.c
21  sco.c
22  )
23
24zephyr_library_sources_ifdef(
25  CONFIG_BT_HFP_HF
26  hfp_hf.c
27  at.c
28  )
29
30zephyr_library_sources_ifdef(
31  CONFIG_BT_HFP_AG
32  hfp_ag.c
33  )
34