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/avdtp.h monitor/avdtp.c \
31 monitor/a2dp.h monitor/a2dp.c \
32 monitor/rfcomm.h monitor/rfcomm.c \
33 monitor/bnep.h monitor/bnep.c \
34 monitor/uuid.h monitor/uuid.c \
35 monitor/hwdb.h monitor/hwdb.c \
36 monitor/keys.h monitor/keys.c \
37 monitor/analyze.h monitor/analyze.c \
38 monitor/intel.h monitor/intel.c \
39 monitor/broadcom.h monitor/broadcom.c
40 monitor_btmon_LDADD = lib/libbluetooth-internal.la \
41 src/libshared-mainloop.la @UDEV_LIBS@
45 noinst_PROGRAMS += emulator/btvirt emulator/b1ee emulator/hfp \
46 peripheral/btsensor tools/3dsp \
47 tools/mgmt-tester tools/gap-tester \
48 tools/l2cap-tester tools/sco-tester \
49 tools/smp-tester tools/hci-tester \
50 tools/rfcomm-tester tools/bnep-tester \
53 emulator_btvirt_SOURCES = emulator/main.c monitor/bt.h \
54 emulator/serial.h emulator/serial.c \
55 emulator/server.h emulator/server.c \
56 emulator/vhci.h emulator/vhci.c \
57 emulator/btdev.h emulator/btdev.c \
58 emulator/bthost.h emulator/bthost.c \
60 emulator/phy.h emulator/phy.c \
61 emulator/amp.h emulator/amp.c \
62 emulator/le.h emulator/le.c
63 emulator_btvirt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la
65 emulator_b1ee_SOURCES = emulator/b1ee.c
66 emulator_b1ee_LDADD = src/libshared-mainloop.la
68 emulator_hfp_SOURCES = emulator/hfp.c
69 emulator_hfp_LDADD = src/libshared-mainloop.la
71 peripheral_btsensor_SOURCES = peripheral/main.c \
72 peripheral/efivars.h peripheral/efivars.c \
73 peripheral/attach.h peripheral/attach.c \
74 peripheral/log.h peripheral/log.c \
75 peripheral/gap.h peripheral/gap.c \
76 peripheral/gatt.h peripheral/gatt.c
77 peripheral_btsensor_LDADD = src/libshared-mainloop.la \
78 lib/libbluetooth-internal.la
80 tools_3dsp_SOURCES = tools/3dsp.c monitor/bt.h
81 tools_3dsp_LDADD = src/libshared-mainloop.la
83 tools_mgmt_tester_SOURCES = tools/mgmt-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_mgmt_tester_LDADD = lib/libbluetooth-internal.la \
89 src/libshared-glib.la @GLIB_LIBS@
91 tools_l2cap_tester_SOURCES = tools/l2cap-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_l2cap_tester_LDADD = lib/libbluetooth-internal.la \
97 src/libshared-glib.la @GLIB_LIBS@
99 tools_rfcomm_tester_SOURCES = tools/rfcomm-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_rfcomm_tester_LDADD = lib/libbluetooth-internal.la \
105 src/libshared-glib.la @GLIB_LIBS@
107 tools_bnep_tester_SOURCES = tools/bnep-tester.c monitor/bt.h \
108 emulator/hciemu.h emulator/hciemu.c \
109 emulator/btdev.h emulator/btdev.c \
110 emulator/bthost.h emulator/bthost.c \
112 tools_bnep_tester_LDADD = lib/libbluetooth-internal.la \
113 src/libshared-glib.la @GLIB_LIBS@
115 tools_smp_tester_SOURCES = tools/smp-tester.c monitor/bt.h \
116 emulator/hciemu.h emulator/hciemu.c \
117 emulator/btdev.h emulator/btdev.c \
118 emulator/bthost.h emulator/bthost.c \
120 tools_smp_tester_LDADD = lib/libbluetooth-internal.la \
121 src/libshared-glib.la @GLIB_LIBS@
123 tools_gap_tester_SOURCES = tools/gap-tester.c monitor/bt.h \
124 emulator/hciemu.h emulator/hciemu.c \
125 emulator/btdev.h emulator/btdev.c \
126 emulator/bthost.h emulator/bthost.c \
128 tools_gap_tester_LDADD = lib/libbluetooth-internal.la \
129 gdbus/libgdbus-internal.la \
130 src/libshared-glib.la \
131 @GLIB_LIBS@ @DBUS_LIBS@
133 tools_sco_tester_SOURCES = tools/sco-tester.c monitor/bt.h \
134 emulator/hciemu.h emulator/hciemu.c \
135 emulator/btdev.h emulator/btdev.c \
136 emulator/bthost.h emulator/bthost.c \
138 tools_sco_tester_LDADD = lib/libbluetooth-internal.la \
139 src/libshared-glib.la @GLIB_LIBS@
141 tools_hci_tester_SOURCES = tools/hci-tester.c monitor/bt.h
142 tools_hci_tester_LDADD = src/libshared-glib.la @GLIB_LIBS@
144 tools_userchan_tester_SOURCES = tools/userchan-tester.c monitor/bt.h \
145 emulator/hciemu.h emulator/hciemu.c \
146 emulator/btdev.h emulator/btdev.c \
147 emulator/bthost.h emulator/bthost.c \
149 tools_userchan_tester_LDADD = lib/libbluetooth-internal.la \
150 src/libshared-glib.la @GLIB_LIBS@
154 bin_PROGRAMS += tools/hciattach tools/hciconfig tools/hcitool tools/hcidump \
155 tools/rfcomm tools/rctest tools/l2test tools/l2ping \
156 tools/sdptool tools/ciptool tools/bccmd \
157 tools/bluemoon tools/hex2hcd tools/mpris-proxy
159 tools_hciattach_SOURCES = tools/hciattach.c tools/hciattach.h \
160 tools/hciattach_st.c \
161 tools/hciattach_ti.c \
162 tools/hciattach_tialt.c \
163 tools/hciattach_ath3k.c \
164 tools/hciattach_qualcomm.c \
165 tools/hciattach_intel.c \
166 tools/hciattach_bcm43xx.c
167 tools_hciattach_LDADD = lib/libbluetooth-internal.la
169 tools_hciconfig_SOURCES = tools/hciconfig.c tools/csr.h tools/csr.c
170 tools_hciconfig_LDADD = lib/libbluetooth-internal.la
172 tools_hcitool_SOURCES = tools/hcitool.c src/oui.h src/oui.c
173 tools_hcitool_LDADD = lib/libbluetooth-internal.la @UDEV_LIBS@
175 tools_hcidump_SOURCES = tools/hcidump.c \
176 tools/parser/parser.h tools/parser/parser.c \
179 tools/parser/l2cap.h tools/parser/l2cap.c \
183 tools/parser/sdp.h tools/parser/sdp.c \
184 tools/parser/rfcomm.h tools/parser/rfcomm.c \
185 tools/parser/bnep.c \
186 tools/parser/cmtp.c \
187 tools/parser/hidp.c \
188 tools/parser/hcrp.c \
189 tools/parser/avdtp.c \
190 tools/parser/avctp.c \
191 tools/parser/avrcp.c \
193 tools/parser/obex.c \
194 tools/parser/capi.c \
196 tools/parser/tcpip.c \
197 tools/parser/ericsson.c \
200 tools_hcidump_LDADD = lib/libbluetooth-internal.la
202 tools_rfcomm_LDADD = lib/libbluetooth-internal.la
204 tools_rctest_LDADD = lib/libbluetooth-internal.la
206 tools_l2test_LDADD = lib/libbluetooth-internal.la
208 tools_l2ping_LDADD = lib/libbluetooth-internal.la
210 tools_sdptool_SOURCES = tools/sdptool.c src/sdp-xml.h src/sdp-xml.c
211 tools_sdptool_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
213 tools_ciptool_LDADD = lib/libbluetooth-internal.la
215 tools_bccmd_SOURCES = tools/bccmd.c tools/csr.h tools/csr.c \
216 tools/csr_hci.c tools/csr_usb.c \
217 tools/csr_h4.c tools/csr_3wire.c \
218 tools/csr_bcsp.c tools/ubcsp.h tools/ubcsp.c
219 tools_bccmd_LDADD = lib/libbluetooth-internal.la
221 tools_bluemoon_SOURCES = tools/bluemoon.c monitor/bt.h
222 tools_bluemoon_LDADD = src/libshared-mainloop.la
224 tools_hex2hcd_SOURCES = tools/hex2hcd.c
226 tools_mpris_proxy_SOURCES = tools/mpris-proxy.c
227 tools_mpris_proxy_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@
229 dist_man_MANS += tools/hciattach.1 tools/hciconfig.1 \
230 tools/hcitool.1 tools/hcidump.1 \
231 tools/rfcomm.1 tools/rctest.1 tools/l2ping.1 \
232 tools/sdptool.1 tools/ciptool.1 tools/bccmd.1
234 EXTRA_DIST += tools/hciattach.1 tools/hciconfig.1 \
235 tools/hcitool.1 tools/hcidump.1 \
236 tools/rfcomm.1 tools/rctest.1 tools/l2ping.1 \
237 tools/sdptool.1 tools/ciptool.1 tools/bccmd.1
243 udev_PROGRAMS = tools/hid2hci
245 tools_hid2hci_LDADD = @UDEV_LIBS@
247 dist_man_MANS += tools/hid2hci.1
249 EXTRA_DIST += tools/hid2hci.1
253 bin_PROGRAMS += tools/btattach
255 noinst_PROGRAMS += tools/bdaddr tools/avinfo tools/avtest \
256 tools/scotest tools/amptest tools/hwdb \
257 tools/hcieventmask tools/hcisecfilter \
259 tools/btsnoop tools/btproxy \
260 tools/btiotest tools/bneptest tools/mcaptest \
261 tools/cltest tools/oobtest tools/seq2bseq \
262 tools/nokfw tools/create-image \
263 tools/eddystone tools/ibeacon \
264 tools/btgatt-client tools/btgatt-server \
265 tools/test-runner tools/check-selftest
267 tools_bdaddr_SOURCES = tools/bdaddr.c src/oui.h src/oui.c
268 tools_bdaddr_LDADD = lib/libbluetooth-internal.la @UDEV_LIBS@
270 tools_avinfo_LDADD = lib/libbluetooth-internal.la
272 tools_avtest_LDADD = lib/libbluetooth-internal.la
274 tools_scotest_LDADD = lib/libbluetooth-internal.la
276 tools_amptest_LDADD = lib/libbluetooth-internal.la
278 tools_hwdb_LDADD = lib/libbluetooth-internal.la
280 tools_hcieventmask_LDADD = lib/libbluetooth-internal.la
282 tools_btinfo_SOURCES = tools/btinfo.c monitor/bt.h
283 tools_btinfo_LDADD = src/libshared-mainloop.la
285 tools_btattach_SOURCES = tools/btattach.c monitor/bt.h
286 tools_btattach_LDADD = src/libshared-mainloop.la
288 tools_btsnoop_SOURCES = tools/btsnoop.c
289 tools_btsnoop_LDADD = src/libshared-mainloop.la
291 tools_btproxy_SOURCES = tools/btproxy.c monitor/bt.h
292 tools_btproxy_LDADD = src/libshared-mainloop.la
294 tools_btiotest_SOURCES = tools/btiotest.c btio/btio.h btio/btio.c
295 tools_btiotest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
297 tools_mcaptest_SOURCES = tools/mcaptest.c \
298 btio/btio.h btio/btio.c \
299 src/log.c src/log.h \
300 profiles/health/mcap.h profiles/health/mcap.c
301 tools_mcaptest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@ -lrt
303 tools_bneptest_SOURCES = tools/bneptest.c \
304 btio/btio.h btio/btio.c \
305 src/log.h src/log.c \
306 profiles/network/bnep.h profiles/network/bnep.c
307 tools_bneptest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
309 tools_cltest_SOURCES = tools/cltest.c
310 tools_cltest_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la
312 tools_oobtest_SOURCES = tools/oobtest.c
313 tools_oobtest_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la
315 tools_seq2bseq_SOURCES = tools/seq2bseq.c
317 tools_nokfw_SOURCES = tools/nokfw.c
319 tools_create_image_SOURCES = tools/create-image.c
321 tools_eddystone_SOURCES = tools/eddystone.c monitor/bt.h
322 tools_eddystone_LDADD = src/libshared-mainloop.la
324 tools_ibeacon_SOURCES = tools/ibeacon.c monitor/bt.h
325 tools_ibeacon_LDADD = src/libshared-mainloop.la
327 tools_btgatt_client_SOURCES = tools/btgatt-client.c src/uuid-helper.c
328 tools_btgatt_client_LDADD = src/libshared-mainloop.la \
329 lib/libbluetooth-internal.la
331 tools_btgatt_server_SOURCES = tools/btgatt-server.c src/uuid-helper.c
332 tools_btgatt_server_LDADD = src/libshared-mainloop.la \
333 lib/libbluetooth-internal.la
335 dist_man_MANS += tools/btattach.1
337 EXTRA_DIST += tools/bdaddr.1
339 EXTRA_DIST += tools/btattach.1
343 noinst_PROGRAMS += attrib/gatttool tools/btmgmt \
344 tools/obex-client-tool tools/obex-server-tool \
345 tools/bluetooth-player tools/obexctl
347 attrib_gatttool_SOURCES = attrib/gatttool.c attrib/att.c attrib/gatt.c \
348 attrib/gattrib.c btio/btio.c \
349 attrib/gatttool.h attrib/interactive.c \
350 attrib/utils.c src/log.c client/display.c \
352 attrib_gatttool_LDADD = lib/libbluetooth-internal.la \
353 src/libshared-glib.la @GLIB_LIBS@ -lreadline
355 tools_obex_client_tool_SOURCES = $(gobex_sources) $(btio_sources) \
356 tools/obex-client-tool.c
357 tools_obex_client_tool_LDADD = lib/libbluetooth-internal.la \
358 @GLIB_LIBS@ -lreadline
360 tools_obex_server_tool_SOURCES = $(gobex_sources) $(btio_sources) \
361 tools/obex-server-tool.c
362 tools_obex_server_tool_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
364 tools_bluetooth_player_SOURCES = tools/bluetooth-player.c \
365 client/display.h client/display.c
366 tools_bluetooth_player_LDADD = gdbus/libgdbus-internal.la \
367 @GLIB_LIBS@ @DBUS_LIBS@ -lreadline
369 tools_obexctl_SOURCES = tools/obexctl.c \
370 client/display.h client/display.c
371 tools_obexctl_LDADD = gdbus/libgdbus-internal.la \
372 @GLIB_LIBS@ @DBUS_LIBS@ -lreadline
374 tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c
375 tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \
380 noinst_PROGRAMS += tools/gatt-service
382 tools_gatt_service_SOURCES = tools/gatt-service.c
383 tools_gatt_service_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ gdbus/libgdbus-internal.la
385 noinst_PROGRAMS += profiles/iap/iapd
387 profiles_iap_iapd_SOURCES = profiles/iap/main.c
388 profiles_iap_iapd_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@
392 cupsdir = $(libdir)/cups/backend
394 cups_PROGRAMS = profiles/cups/bluetooth
396 profiles_cups_bluetooth_SOURCES = profiles/cups/main.c \
397 profiles/cups/cups.h \
398 profiles/cups/sdp.c \
399 profiles/cups/spp.c \
402 profiles_cups_bluetooth_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ \
403 lib/libbluetooth-internal.la \
404 gdbus/libgdbus-internal.la
407 test_scripts += test/sap_client.py test/bluezutils.py \
408 test/dbusdef.py test/monitor-bluetooth test/list-devices \
409 test/test-discovery test/test-manager test/test-adapter \
410 test/test-device test/simple-agent \
411 test/simple-endpoint test/test-sap-server \
412 test/test-proximity test/test-network \
413 test/test-thermometer test/test-profile test/test-health \
414 test/test-health-sink test/service-record.dtd \
415 test/service-did.xml test/service-spp.xml test/service-opp.xml \
416 test/service-ftp.xml test/simple-player test/test-nap \
417 test/test-heartrate test/test-alert test/test-hfp \
418 test/test-cyclingspeed test/opp-client test/ftp-client \
419 test/pbap-client test/map-client test/example-advertisement \
420 test/example-gatt-server test/example-gatt-client \
421 test/test-gatt-profile