3 bin_PROGRAMS += client/bluetoothctl
5 client_bluetoothctl_SOURCES = client/main.c \
6 client/display.h client/display.c \
7 client/agent.h client/agent.c \
8 client/gatt.h client/gatt.c \
9 monitor/uuid.h monitor/uuid.c
10 client_bluetoothctl_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@ \
15 bin_PROGRAMS += monitor/btmon
17 monitor_btmon_SOURCES = monitor/main.c monitor/bt.h \
18 monitor/display.h monitor/display.c \
19 monitor/hcidump.h monitor/hcidump.c \
20 monitor/ellisys.h monitor/ellisys.c \
21 monitor/control.h monitor/control.c \
22 monitor/packet.h monitor/packet.c \
23 monitor/vendor.h monitor/vendor.c \
24 monitor/lmp.h monitor/lmp.c \
25 monitor/crc.h monitor/crc.c \
26 monitor/ll.h monitor/ll.c \
27 monitor/l2cap.h monitor/l2cap.c \
28 monitor/sdp.h monitor/sdp.c \
29 monitor/avctp.h monitor/avctp.c \
30 monitor/rfcomm.h monitor/rfcomm.c \
31 monitor/uuid.h monitor/uuid.c \
32 monitor/hwdb.h monitor/hwdb.c \
33 monitor/keys.h monitor/keys.c \
34 monitor/analyze.h monitor/analyze.c
35 monitor_btmon_LDADD = lib/libbluetooth-internal.la \
36 src/libshared-mainloop.la @UDEV_LIBS@
40 noinst_PROGRAMS += emulator/btvirt emulator/b1ee emulator/hfp tools/3dsp \
41 tools/mgmt-tester tools/gap-tester \
42 tools/l2cap-tester tools/sco-tester \
43 tools/smp-tester tools/hci-tester \
46 emulator_btvirt_SOURCES = emulator/main.c monitor/bt.h \
47 emulator/serial.h emulator/serial.c \
48 emulator/server.h emulator/server.c \
49 emulator/vhci.h emulator/vhci.c \
50 emulator/btdev.h emulator/btdev.c \
51 emulator/bthost.h emulator/bthost.c \
53 emulator/phy.h emulator/phy.c \
54 emulator/amp.h emulator/amp.c \
55 emulator/le.h emulator/le.c
56 emulator_btvirt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la
58 emulator_b1ee_SOURCES = emulator/b1ee.c
59 emulator_b1ee_LDADD = src/libshared-mainloop.la
61 emulator_hfp_SOURCES = emulator/hfp.c
62 emulator_hfp_LDADD = src/libshared-mainloop.la
64 tools_3dsp_SOURCES = tools/3dsp.c monitor/bt.h
65 tools_3dsp_LDADD = src/libshared-mainloop.la
67 tools_mgmt_tester_SOURCES = tools/mgmt-tester.c monitor/bt.h \
68 emulator/hciemu.h emulator/hciemu.c \
69 emulator/btdev.h emulator/btdev.c \
70 emulator/bthost.h emulator/bthost.c \
72 tools_mgmt_tester_LDADD = lib/libbluetooth-internal.la \
73 src/libshared-glib.la @GLIB_LIBS@
75 tools_l2cap_tester_SOURCES = tools/l2cap-tester.c monitor/bt.h \
76 emulator/hciemu.h emulator/hciemu.c \
77 emulator/btdev.h emulator/btdev.c \
78 emulator/bthost.h emulator/bthost.c \
80 tools_l2cap_tester_LDADD = lib/libbluetooth-internal.la \
81 src/libshared-glib.la @GLIB_LIBS@
83 tools_rfcomm_tester_SOURCES = tools/rfcomm-tester.c monitor/bt.h \
84 emulator/hciemu.h emulator/hciemu.c \
85 emulator/btdev.h emulator/btdev.c \
86 emulator/bthost.h emulator/bthost.c \
88 tools_rfcomm_tester_LDADD = lib/libbluetooth-internal.la \
89 src/libshared-glib.la @GLIB_LIBS@
91 tools_smp_tester_SOURCES = tools/smp-tester.c monitor/bt.h \
92 emulator/hciemu.h emulator/hciemu.c \
93 emulator/btdev.h emulator/btdev.c \
94 emulator/bthost.h emulator/bthost.c \
96 tools_smp_tester_LDADD = lib/libbluetooth-internal.la \
97 src/libshared-glib.la @GLIB_LIBS@
99 tools_gap_tester_SOURCES = tools/gap-tester.c monitor/bt.h \
100 emulator/hciemu.h emulator/hciemu.c \
101 emulator/btdev.h emulator/btdev.c \
102 emulator/bthost.h emulator/bthost.c \
104 tools_gap_tester_LDADD = lib/libbluetooth-internal.la \
105 gdbus/libgdbus-internal.la \
106 src/libshared-glib.la \
107 @GLIB_LIBS@ @DBUS_LIBS@
109 tools_sco_tester_SOURCES = tools/sco-tester.c monitor/bt.h \
110 emulator/hciemu.h emulator/hciemu.c \
111 emulator/btdev.h emulator/btdev.c \
112 emulator/bthost.h emulator/bthost.c \
114 tools_sco_tester_LDADD = lib/libbluetooth-internal.la \
115 src/libshared-glib.la @GLIB_LIBS@
117 tools_hci_tester_SOURCES = tools/hci-tester.c monitor/bt.h
118 tools_hci_tester_LDADD = src/libshared-glib.la @GLIB_LIBS@
122 bin_PROGRAMS += tools/hciattach tools/hciconfig tools/hcitool tools/hcidump \
123 tools/rfcomm tools/rctest tools/l2test tools/l2ping \
124 tools/sdptool tools/ciptool tools/bccmd \
125 tools/bluemoon tools/hex2hcd tools/mpris-proxy
127 tools_hciattach_SOURCES = tools/hciattach.c tools/hciattach.h \
128 tools/hciattach_st.c \
129 tools/hciattach_ti.c \
130 tools/hciattach_tialt.c \
131 tools/hciattach_ath3k.c \
132 tools/hciattach_qualcomm.c \
133 tools/hciattach_intel.c \
134 tools/hciattach_bcm43xx.c
136 # tools/hciattach_bcm43xx.c
137 tools_hciattach_LDADD = lib/libbluetooth-internal.la
139 tools_hciconfig_SOURCES = tools/hciconfig.c tools/csr.h tools/csr.c
140 tools_hciconfig_LDADD = lib/libbluetooth-internal.la
142 tools_hcitool_SOURCES = tools/hcitool.c src/oui.h src/oui.c
143 tools_hcitool_LDADD = lib/libbluetooth-internal.la @UDEV_LIBS@
145 tools_hcidump_SOURCES = tools/hcidump.c \
146 tools/parser/parser.h tools/parser/parser.c \
149 tools/parser/l2cap.h tools/parser/l2cap.c \
153 tools/parser/sdp.h tools/parser/sdp.c \
154 tools/parser/rfcomm.h tools/parser/rfcomm.c \
155 tools/parser/bnep.c \
156 tools/parser/cmtp.c \
157 tools/parser/hidp.c \
158 tools/parser/hcrp.c \
159 tools/parser/avdtp.c \
160 tools/parser/avctp.c \
161 tools/parser/avrcp.c \
163 tools/parser/obex.c \
164 tools/parser/capi.c \
166 tools/parser/tcpip.c \
167 tools/parser/ericsson.c \
170 tools_hcidump_LDADD = lib/libbluetooth-internal.la
172 tools_rfcomm_LDADD = lib/libbluetooth-internal.la
174 tools_rctest_LDADD = lib/libbluetooth-internal.la
176 tools_l2test_LDADD = lib/libbluetooth-internal.la
178 tools_l2ping_LDADD = lib/libbluetooth-internal.la
180 tools_sdptool_SOURCES = tools/sdptool.c src/sdp-xml.h src/sdp-xml.c
181 tools_sdptool_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
183 tools_ciptool_LDADD = lib/libbluetooth-internal.la
185 tools_bccmd_SOURCES = tools/bccmd.c tools/csr.h tools/csr.c \
186 tools/csr_hci.c tools/csr_usb.c \
187 tools/csr_h4.c tools/csr_3wire.c \
188 tools/csr_bcsp.c tools/ubcsp.h tools/ubcsp.c
189 tools_bccmd_LDADD = lib/libbluetooth-internal.la
191 tools_bluemoon_SOURCES = tools/bluemoon.c monitor/bt.h
192 tools_bluemoon_LDADD = src/libshared-mainloop.la
194 tools_hex2hcd_SOURCES = tools/hex2hcd.c
196 tools_mpris_proxy_SOURCES = tools/mpris-proxy.c
197 tools_mpris_proxy_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@
199 tools_mcaptest_SOURCES = tools/mcaptest.c \
200 btio/btio.h btio/btio.c \
201 src/log.c src/log.h \
202 profiles/health/mcap.h profiles/health/mcap.c
203 tools_mcaptest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@ -lrt
205 dist_man_MANS += tools/hciattach.1 tools/hciconfig.1 \
206 tools/hcitool.1 tools/hcidump.1 \
207 tools/rfcomm.1 tools/rctest.1 tools/l2ping.1 \
208 tools/sdptool.1 tools/ciptool.1 tools/bccmd.1
210 EXTRA_DIST += tools/hciattach.1 tools/hciconfig.1 \
211 tools/hcitool.1 tools/hcidump.1 \
212 tools/rfcomm.1 tools/rctest.1 tools/l2ping.1 \
213 tools/sdptool.1 tools/ciptool.1 tools/bccmd.1
219 udev_PROGRAMS = tools/hid2hci
221 tools_hid2hci_LDADD = @UDEV_LIBS@
223 dist_man_MANS += tools/hid2hci.1
225 EXTRA_DIST += tools/hid2hci.1
229 noinst_PROGRAMS += tools/bdaddr tools/avinfo tools/avtest \
230 tools/scotest tools/amptest tools/hwdb \
231 tools/hcieventmask tools/hcisecfilter \
232 tools/btmgmt tools/btinfo tools/btattach \
233 tools/btsnoop tools/btproxy \
234 tools/btiotest tools/mcaptest tools/cltest \
235 tools/oobtest tools/seq2bseq tools/ibeacon \
236 tools/btgatt-client tools/btgatt-server
238 tools_bdaddr_SOURCES = tools/bdaddr.c src/oui.h src/oui.c
239 tools_bdaddr_LDADD = lib/libbluetooth-internal.la @UDEV_LIBS@
241 tools_avinfo_LDADD = lib/libbluetooth-internal.la
243 tools_avtest_LDADD = lib/libbluetooth-internal.la
245 tools_scotest_LDADD = lib/libbluetooth-internal.la
247 tools_amptest_LDADD = lib/libbluetooth-internal.la
249 tools_hwdb_LDADD = lib/libbluetooth-internal.la
251 tools_hcieventmask_LDADD = lib/libbluetooth-internal.la
253 tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c
254 tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \
257 tools_btinfo_SOURCES = tools/btinfo.c monitor/bt.h
258 tools_btinfo_LDADD = src/libshared-mainloop.la
260 tools_btattach_SOURCES = tools/btattach.c monitor/bt.h
261 tools_btattach_LDADD = src/libshared-mainloop.la
263 tools_btsnoop_SOURCES = tools/btsnoop.c
264 tools_btsnoop_LDADD = src/libshared-mainloop.la
266 tools_btproxy_SOURCES = tools/btproxy.c monitor/bt.h
267 tools_btproxy_LDADD = src/libshared-mainloop.la
269 tools_btiotest_SOURCES = tools/btiotest.c btio/btio.h btio/btio.c
270 tools_btiotest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
272 tools_mcaptest_SOURCES = tools/mcaptest.c \
273 btio/btio.h btio/btio.c \
274 src/log.c src/log.h \
275 profiles/health/mcap.h profiles/health/mcap.c
276 tools_mcaptest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
278 tools_cltest_SOURCES = tools/cltest.c
279 tools_cltest_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la
281 tools_oobtest_SOURCES = tools/oobtest.c
282 tools_oobtest_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la
284 tools_seq2bseq_SOURCES = tools/seq2bseq.c
286 tools_ibeacon_SOURCES = tools/ibeacon.c monitor/bt.h
287 tools_ibeacon_LDADD = src/libshared-mainloop.la
289 tools_btgatt_client_SOURCES = tools/btgatt-client.c src/uuid-helper.c
290 tools_btgatt_client_LDADD = src/libshared-mainloop.la \
291 lib/libbluetooth-internal.la
293 tools_btgatt_server_SOURCES = tools/btgatt-server.c src/uuid-helper.c
294 tools_btgatt_server_LDADD = src/libshared-mainloop.la \
295 lib/libbluetooth-internal.la
297 EXTRA_DIST += tools/bdaddr.1
301 noinst_PROGRAMS += attrib/gatttool \
302 tools/obex-client-tool tools/obex-server-tool \
303 tools/bluetooth-player tools/obexctl
305 attrib_gatttool_SOURCES = attrib/gatttool.c attrib/att.c attrib/gatt.c \
306 attrib/gattrib.c btio/btio.c \
307 attrib/gatttool.h attrib/interactive.c \
308 attrib/utils.c src/log.c client/display.c \
310 attrib_gatttool_LDADD = lib/libbluetooth-internal.la \
311 src/libshared-glib.la @GLIB_LIBS@ -lreadline
313 tools_obex_client_tool_SOURCES = $(gobex_sources) $(btio_sources) \
314 tools/obex-client-tool.c
315 tools_obex_client_tool_LDADD = lib/libbluetooth-internal.la \
316 @GLIB_LIBS@ -lreadline
318 tools_obex_server_tool_SOURCES = $(gobex_sources) $(btio_sources) \
319 tools/obex-server-tool.c
320 tools_obex_server_tool_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
322 tools_bluetooth_player_SOURCES = tools/bluetooth-player.c \
323 client/display.h client/display.c
324 tools_bluetooth_player_LDADD = gdbus/libgdbus-internal.la \
325 @GLIB_LIBS@ @DBUS_LIBS@ -lreadline
327 tools_obexctl_SOURCES = tools/obexctl.c \
328 client/display.h client/display.c
329 tools_obexctl_LDADD = gdbus/libgdbus-internal.la \
330 @GLIB_LIBS@ @DBUS_LIBS@ -lreadline
334 noinst_PROGRAMS += tools/gatt-service
336 tools_gatt_service_SOURCES = tools/gatt-service.c
337 tools_gatt_service_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ gdbus/libgdbus-internal.la
339 noinst_PROGRAMS += profiles/iap/iapd
341 profiles_iap_iapd_SOURCES = profiles/iap/main.c
342 profiles_iap_iapd_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@
346 cupsdir = $(libdir)/cups/backend
348 cups_PROGRAMS = profiles/cups/bluetooth
350 profiles_cups_bluetooth_SOURCES = profiles/cups/main.c \
351 profiles/cups/cups.h \
352 profiles/cups/sdp.c \
353 profiles/cups/spp.c \
356 profiles_cups_bluetooth_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ \
357 lib/libbluetooth-internal.la \
358 gdbus/libgdbus-internal.la
361 test_scripts += test/sap_client.py test/bluezutils.py \
362 test/dbusdef.py test/monitor-bluetooth test/list-devices \
363 test/test-discovery test/test-manager test/test-adapter \
364 test/test-device test/simple-agent \
365 test/simple-endpoint test/test-sap-server \
366 test/test-proximity test/test-network \
367 test/test-thermometer test/test-profile test/test-health \
368 test/test-health-sink test/service-record.dtd \
369 test/service-did.xml test/service-spp.xml test/service-opp.xml \
370 test/service-ftp.xml test/simple-player test/test-nap \
371 test/test-heartrate test/test-alert test/test-hfp \
372 test/test-cyclingspeed test/opp-client test/ftp-client \
373 test/pbap-client test/map-client