2009-08-23 15:40:59 +08:00
|
|
|
|
2012-12-12 05:19:13 +08:00
|
|
|
if CLIENT
|
2012-12-13 06:24:27 +08:00
|
|
|
bin_PROGRAMS += client/bluetoothctl
|
|
|
|
|
2013-07-03 20:29:20 +08:00
|
|
|
client_bluetoothctl_SOURCES = client/main.c \
|
2012-12-18 11:17:45 +08:00
|
|
|
client/display.h client/display.c \
|
2012-12-23 11:11:46 +08:00
|
|
|
client/agent.h client/agent.c \
|
2016-08-09 19:32:46 +08:00
|
|
|
client/advertising.h \
|
|
|
|
client/advertising.c \
|
2015-01-06 00:16:21 +08:00
|
|
|
client/gatt.h client/gatt.c \
|
2017-11-20 17:10:01 +08:00
|
|
|
monitor/uuid.h monitor/uuid.c
|
2017-07-03 18:49:19 +08:00
|
|
|
client_bluetoothctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \
|
|
|
|
@GLIB_LIBS@ @DBUS_LIBS@ -lreadline
|
2012-12-12 05:19:13 +08:00
|
|
|
endif
|
|
|
|
|
2017-08-15 02:24:41 +08:00
|
|
|
if MESH
|
|
|
|
bin_PROGRAMS += mesh/meshctl
|
|
|
|
|
|
|
|
mesh_meshctl_SOURCES = mesh/main.c \
|
2017-08-21 19:40:03 +08:00
|
|
|
mesh/mesh-net.h \
|
2017-08-15 02:24:41 +08:00
|
|
|
mesh/node.h mesh/node.c \
|
|
|
|
mesh/gatt.h mesh/gatt.c \
|
|
|
|
mesh/crypto.h mesh/crypto.c \
|
|
|
|
mesh/keys.h \
|
|
|
|
mesh/net.h mesh/net.c \
|
|
|
|
mesh/prov.h mesh/prov.c \
|
|
|
|
mesh/util.h mesh/util.c \
|
|
|
|
mesh/agent.h mesh/agent.c \
|
|
|
|
mesh/prov-db.h mesh/prov-db.c \
|
|
|
|
mesh/config-model.h mesh/config-client.c \
|
|
|
|
mesh/config-server.c \
|
|
|
|
mesh/onoff-model.h mesh/onoff-model.c \
|
|
|
|
monitor/uuid.h monitor/uuid.c
|
|
|
|
mesh_meshctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \
|
|
|
|
lib/libbluetooth-internal.la \
|
|
|
|
@GLIB_LIBS@ @DBUS_LIBS@ -ljson-c -lreadline
|
|
|
|
endif
|
|
|
|
|
2012-12-13 06:19:43 +08:00
|
|
|
if MONITOR
|
|
|
|
bin_PROGRAMS += monitor/btmon
|
|
|
|
|
|
|
|
monitor_btmon_SOURCES = monitor/main.c monitor/bt.h \
|
2014-02-12 03:53:00 +08:00
|
|
|
monitor/display.h monitor/display.c \
|
|
|
|
monitor/hcidump.h monitor/hcidump.c \
|
|
|
|
monitor/ellisys.h monitor/ellisys.c \
|
|
|
|
monitor/control.h monitor/control.c \
|
|
|
|
monitor/packet.h monitor/packet.c \
|
|
|
|
monitor/vendor.h monitor/vendor.c \
|
|
|
|
monitor/lmp.h monitor/lmp.c \
|
|
|
|
monitor/crc.h monitor/crc.c \
|
|
|
|
monitor/ll.h monitor/ll.c \
|
|
|
|
monitor/l2cap.h monitor/l2cap.c \
|
|
|
|
monitor/sdp.h monitor/sdp.c \
|
2014-07-28 22:24:29 +08:00
|
|
|
monitor/avctp.h monitor/avctp.c \
|
2015-11-23 04:20:14 +08:00
|
|
|
monitor/avdtp.h monitor/avdtp.c \
|
2015-11-23 04:20:30 +08:00
|
|
|
monitor/a2dp.h monitor/a2dp.c \
|
2014-11-07 23:43:35 +08:00
|
|
|
monitor/rfcomm.h monitor/rfcomm.c \
|
2015-04-02 19:32:05 +08:00
|
|
|
monitor/bnep.h monitor/bnep.c \
|
2014-02-12 03:53:00 +08:00
|
|
|
monitor/uuid.h monitor/uuid.c \
|
|
|
|
monitor/hwdb.h monitor/hwdb.c \
|
2014-02-17 16:21:59 +08:00
|
|
|
monitor/keys.h monitor/keys.c \
|
2015-10-08 04:42:29 +08:00
|
|
|
monitor/analyze.h monitor/analyze.c \
|
2015-10-10 04:39:00 +08:00
|
|
|
monitor/intel.h monitor/intel.c \
|
2016-05-03 14:11:04 +08:00
|
|
|
monitor/broadcom.h monitor/broadcom.c \
|
|
|
|
monitor/tty.h
|
2014-09-25 19:01:43 +08:00
|
|
|
monitor_btmon_LDADD = lib/libbluetooth-internal.la \
|
|
|
|
src/libshared-mainloop.la @UDEV_LIBS@
|
2012-12-16 02:47:02 +08:00
|
|
|
endif
|
|
|
|
|
2017-01-04 21:24:45 +08:00
|
|
|
if TESTING
|
2015-04-29 00:19:12 +08:00
|
|
|
noinst_PROGRAMS += emulator/btvirt emulator/b1ee emulator/hfp \
|
|
|
|
peripheral/btsensor tools/3dsp \
|
2013-05-20 01:19:05 +08:00
|
|
|
tools/mgmt-tester tools/gap-tester \
|
2013-11-05 17:33:27 +08:00
|
|
|
tools/l2cap-tester tools/sco-tester \
|
2014-01-10 17:18:11 +08:00
|
|
|
tools/smp-tester tools/hci-tester \
|
2015-04-29 02:21:11 +08:00
|
|
|
tools/rfcomm-tester tools/bnep-tester \
|
|
|
|
tools/userchan-tester
|
2012-12-13 06:19:43 +08:00
|
|
|
|
|
|
|
emulator_btvirt_SOURCES = emulator/main.c monitor/bt.h \
|
2014-07-12 21:52:24 +08:00
|
|
|
emulator/serial.h emulator/serial.c \
|
2014-02-17 18:05:21 +08:00
|
|
|
emulator/server.h emulator/server.c \
|
|
|
|
emulator/vhci.h emulator/vhci.c \
|
|
|
|
emulator/btdev.h emulator/btdev.c \
|
|
|
|
emulator/bthost.h emulator/bthost.c \
|
|
|
|
emulator/smp.c \
|
2014-12-14 08:04:59 +08:00
|
|
|
emulator/phy.h emulator/phy.c \
|
2014-02-17 18:05:21 +08:00
|
|
|
emulator/amp.h emulator/amp.c \
|
|
|
|
emulator/le.h emulator/le.c
|
2014-09-25 19:01:43 +08:00
|
|
|
emulator_btvirt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la
|
|
|
|
|
|
|
|
emulator_b1ee_SOURCES = emulator/b1ee.c
|
|
|
|
emulator_b1ee_LDADD = src/libshared-mainloop.la
|
|
|
|
|
|
|
|
emulator_hfp_SOURCES = emulator/hfp.c
|
|
|
|
emulator_hfp_LDADD = src/libshared-mainloop.la
|
|
|
|
|
2015-04-29 00:19:12 +08:00
|
|
|
peripheral_btsensor_SOURCES = peripheral/main.c \
|
|
|
|
peripheral/efivars.h peripheral/efivars.c \
|
|
|
|
peripheral/attach.h peripheral/attach.c \
|
|
|
|
peripheral/log.h peripheral/log.c \
|
|
|
|
peripheral/gap.h peripheral/gap.c \
|
|
|
|
peripheral/gatt.h peripheral/gatt.c
|
|
|
|
peripheral_btsensor_LDADD = src/libshared-mainloop.la \
|
|
|
|
lib/libbluetooth-internal.la
|
|
|
|
|
2014-09-25 19:01:43 +08:00
|
|
|
tools_3dsp_SOURCES = tools/3dsp.c monitor/bt.h
|
|
|
|
tools_3dsp_LDADD = src/libshared-mainloop.la
|
2013-12-28 11:36:04 +08:00
|
|
|
|
2013-01-02 04:35:09 +08:00
|
|
|
tools_mgmt_tester_SOURCES = tools/mgmt-tester.c monitor/bt.h \
|
2014-09-25 20:39:10 +08:00
|
|
|
emulator/hciemu.h emulator/hciemu.c \
|
2013-01-01 18:24:21 +08:00
|
|
|
emulator/btdev.h emulator/btdev.c \
|
|
|
|
emulator/bthost.h emulator/bthost.c \
|
2014-09-25 19:01:43 +08:00
|
|
|
emulator/smp.c
|
|
|
|
tools_mgmt_tester_LDADD = lib/libbluetooth-internal.la \
|
|
|
|
src/libshared-glib.la @GLIB_LIBS@
|
2013-01-01 18:24:21 +08:00
|
|
|
|
2013-05-20 01:19:05 +08:00
|
|
|
tools_l2cap_tester_SOURCES = tools/l2cap-tester.c monitor/bt.h \
|
2014-09-25 20:39:10 +08:00
|
|
|
emulator/hciemu.h emulator/hciemu.c \
|
2013-05-20 01:19:05 +08:00
|
|
|
emulator/btdev.h emulator/btdev.c \
|
|
|
|
emulator/bthost.h emulator/bthost.c \
|
2014-09-25 19:01:43 +08:00
|
|
|
emulator/smp.c
|
|
|
|
tools_l2cap_tester_LDADD = lib/libbluetooth-internal.la \
|
|
|
|
src/libshared-glib.la @GLIB_LIBS@
|
2013-05-20 01:19:05 +08:00
|
|
|
|
2014-01-10 17:18:12 +08:00
|
|
|
tools_rfcomm_tester_SOURCES = tools/rfcomm-tester.c monitor/bt.h \
|
2014-09-25 20:39:10 +08:00
|
|
|
emulator/hciemu.h emulator/hciemu.c \
|
2014-01-10 17:18:12 +08:00
|
|
|
emulator/btdev.h emulator/btdev.c \
|
|
|
|
emulator/bthost.h emulator/bthost.c \
|
2014-09-25 19:01:43 +08:00
|
|
|
emulator/smp.c
|
|
|
|
tools_rfcomm_tester_LDADD = lib/libbluetooth-internal.la \
|
|
|
|
src/libshared-glib.la @GLIB_LIBS@
|
2014-01-10 17:18:11 +08:00
|
|
|
|
2015-04-05 05:00:17 +08:00
|
|
|
tools_bnep_tester_SOURCES = tools/bnep-tester.c monitor/bt.h \
|
|
|
|
emulator/hciemu.h emulator/hciemu.c \
|
|
|
|
emulator/btdev.h emulator/btdev.c \
|
|
|
|
emulator/bthost.h emulator/bthost.c \
|
|
|
|
emulator/smp.c
|
|
|
|
tools_bnep_tester_LDADD = lib/libbluetooth-internal.la \
|
|
|
|
src/libshared-glib.la @GLIB_LIBS@
|
|
|
|
|
2013-11-05 17:33:27 +08:00
|
|
|
tools_smp_tester_SOURCES = tools/smp-tester.c monitor/bt.h \
|
2014-09-25 20:39:10 +08:00
|
|
|
emulator/hciemu.h emulator/hciemu.c \
|
2013-11-05 17:33:27 +08:00
|
|
|
emulator/btdev.h emulator/btdev.c \
|
|
|
|
emulator/bthost.h emulator/bthost.c \
|
2014-09-25 19:01:43 +08:00
|
|
|
emulator/smp.c
|
|
|
|
tools_smp_tester_LDADD = lib/libbluetooth-internal.la \
|
|
|
|
src/libshared-glib.la @GLIB_LIBS@
|
2013-11-05 17:33:27 +08:00
|
|
|
|
2013-07-03 20:29:20 +08:00
|
|
|
tools_gap_tester_SOURCES = tools/gap-tester.c monitor/bt.h \
|
2014-09-25 20:39:10 +08:00
|
|
|
emulator/hciemu.h emulator/hciemu.c \
|
2012-12-28 16:08:34 +08:00
|
|
|
emulator/btdev.h emulator/btdev.c \
|
2013-01-02 04:35:09 +08:00
|
|
|
emulator/bthost.h emulator/bthost.c \
|
2014-09-25 19:01:43 +08:00
|
|
|
emulator/smp.c
|
2014-01-07 17:34:49 +08:00
|
|
|
tools_gap_tester_LDADD = lib/libbluetooth-internal.la \
|
|
|
|
gdbus/libgdbus-internal.la \
|
2014-09-25 19:01:43 +08:00
|
|
|
src/libshared-glib.la \
|
2014-01-07 17:34:49 +08:00
|
|
|
@GLIB_LIBS@ @DBUS_LIBS@
|
2013-08-01 17:47:24 +08:00
|
|
|
|
|
|
|
tools_sco_tester_SOURCES = tools/sco-tester.c monitor/bt.h \
|
2014-09-25 20:39:10 +08:00
|
|
|
emulator/hciemu.h emulator/hciemu.c \
|
2013-08-01 17:47:24 +08:00
|
|
|
emulator/btdev.h emulator/btdev.c \
|
|
|
|
emulator/bthost.h emulator/bthost.c \
|
2014-09-25 19:01:43 +08:00
|
|
|
emulator/smp.c
|
|
|
|
tools_sco_tester_LDADD = lib/libbluetooth-internal.la \
|
|
|
|
src/libshared-glib.la @GLIB_LIBS@
|
|
|
|
|
|
|
|
tools_hci_tester_SOURCES = tools/hci-tester.c monitor/bt.h
|
|
|
|
tools_hci_tester_LDADD = src/libshared-glib.la @GLIB_LIBS@
|
2015-04-29 02:21:11 +08:00
|
|
|
|
|
|
|
tools_userchan_tester_SOURCES = tools/userchan-tester.c monitor/bt.h \
|
|
|
|
emulator/hciemu.h emulator/hciemu.c \
|
|
|
|
emulator/btdev.h emulator/btdev.c \
|
|
|
|
emulator/bthost.h emulator/bthost.c \
|
|
|
|
emulator/smp.c
|
|
|
|
tools_userchan_tester_LDADD = lib/libbluetooth-internal.la \
|
|
|
|
src/libshared-glib.la @GLIB_LIBS@
|
2012-12-13 06:19:43 +08:00
|
|
|
endif
|
|
|
|
|
2009-08-23 15:40:59 +08:00
|
|
|
if TOOLS
|
2017-01-04 20:23:58 +08:00
|
|
|
bin_PROGRAMS += tools/rctest tools/l2test tools/l2ping tools/bccmd \
|
2017-01-04 20:47:13 +08:00
|
|
|
tools/bluemoon tools/hex2hcd tools/mpris-proxy \
|
2017-09-14 17:32:43 +08:00
|
|
|
tools/btattach
|
2017-01-04 20:47:13 +08:00
|
|
|
|
|
|
|
noinst_PROGRAMS += tools/bdaddr tools/avinfo tools/avtest \
|
|
|
|
tools/scotest tools/amptest tools/hwdb \
|
|
|
|
tools/hcieventmask tools/hcisecfilter \
|
2017-09-14 17:32:43 +08:00
|
|
|
tools/btinfo tools/btconfig \
|
2017-01-04 20:47:13 +08:00
|
|
|
tools/btsnoop tools/btproxy \
|
|
|
|
tools/btiotest tools/bneptest tools/mcaptest \
|
2017-06-08 05:12:28 +08:00
|
|
|
tools/cltest tools/oobtest tools/advtest \
|
|
|
|
tools/seq2bseq tools/nokfw tools/create-image \
|
2017-01-04 20:47:13 +08:00
|
|
|
tools/eddystone tools/ibeacon \
|
|
|
|
tools/btgatt-client tools/btgatt-server \
|
|
|
|
tools/test-runner tools/check-selftest \
|
|
|
|
tools/gatt-service profiles/iap/iapd
|
|
|
|
|
|
|
|
tools_bdaddr_SOURCES = tools/bdaddr.c src/oui.h src/oui.c
|
|
|
|
tools_bdaddr_LDADD = lib/libbluetooth-internal.la @UDEV_LIBS@
|
|
|
|
|
|
|
|
tools_avinfo_LDADD = lib/libbluetooth-internal.la
|
|
|
|
|
|
|
|
tools_avtest_LDADD = lib/libbluetooth-internal.la
|
|
|
|
|
|
|
|
tools_scotest_LDADD = lib/libbluetooth-internal.la
|
|
|
|
|
|
|
|
tools_amptest_LDADD = lib/libbluetooth-internal.la
|
|
|
|
|
|
|
|
tools_hwdb_LDADD = lib/libbluetooth-internal.la
|
|
|
|
|
|
|
|
tools_hcieventmask_LDADD = lib/libbluetooth-internal.la
|
|
|
|
|
|
|
|
tools_btinfo_SOURCES = tools/btinfo.c monitor/bt.h
|
|
|
|
tools_btinfo_LDADD = src/libshared-mainloop.la
|
|
|
|
|
|
|
|
tools_btattach_SOURCES = tools/btattach.c monitor/bt.h
|
|
|
|
tools_btattach_LDADD = src/libshared-mainloop.la
|
|
|
|
|
2017-08-21 18:30:28 +08:00
|
|
|
tools_btconfig_SOURCES = tools/btconfig.c
|
|
|
|
tools_btconfig_LDADD = src/libshared-mainloop.la
|
|
|
|
|
2017-01-04 20:47:13 +08:00
|
|
|
tools_btsnoop_SOURCES = tools/btsnoop.c
|
|
|
|
tools_btsnoop_LDADD = src/libshared-mainloop.la
|
|
|
|
|
|
|
|
tools_btproxy_SOURCES = tools/btproxy.c monitor/bt.h
|
|
|
|
tools_btproxy_LDADD = src/libshared-mainloop.la
|
|
|
|
|
|
|
|
tools_btiotest_SOURCES = tools/btiotest.c btio/btio.h btio/btio.c
|
|
|
|
tools_btiotest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
|
|
|
|
|
|
|
|
tools_mcaptest_SOURCES = tools/mcaptest.c \
|
|
|
|
btio/btio.h btio/btio.c \
|
|
|
|
src/log.c src/log.h \
|
|
|
|
profiles/health/mcap.h profiles/health/mcap.c
|
|
|
|
tools_mcaptest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@ -lrt
|
|
|
|
|
|
|
|
tools_bneptest_SOURCES = tools/bneptest.c \
|
|
|
|
btio/btio.h btio/btio.c \
|
|
|
|
src/log.h src/log.c \
|
|
|
|
profiles/network/bnep.h profiles/network/bnep.c
|
|
|
|
tools_bneptest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
|
|
|
|
|
|
|
|
tools_cltest_SOURCES = tools/cltest.c
|
|
|
|
tools_cltest_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la
|
|
|
|
|
|
|
|
tools_oobtest_SOURCES = tools/oobtest.c
|
|
|
|
tools_oobtest_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la
|
|
|
|
|
2017-06-08 05:12:28 +08:00
|
|
|
tools_advtest_SOURCES = tools/advtest.c
|
|
|
|
tools_advtest_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la
|
|
|
|
|
2017-01-04 20:47:13 +08:00
|
|
|
tools_seq2bseq_SOURCES = tools/seq2bseq.c
|
|
|
|
|
|
|
|
tools_nokfw_SOURCES = tools/nokfw.c
|
|
|
|
|
|
|
|
tools_create_image_SOURCES = tools/create-image.c
|
|
|
|
|
|
|
|
tools_eddystone_SOURCES = tools/eddystone.c monitor/bt.h
|
|
|
|
tools_eddystone_LDADD = src/libshared-mainloop.la
|
|
|
|
|
|
|
|
tools_ibeacon_SOURCES = tools/ibeacon.c monitor/bt.h
|
|
|
|
tools_ibeacon_LDADD = src/libshared-mainloop.la
|
|
|
|
|
|
|
|
tools_btgatt_client_SOURCES = tools/btgatt-client.c src/uuid-helper.c
|
|
|
|
tools_btgatt_client_LDADD = src/libshared-mainloop.la \
|
|
|
|
lib/libbluetooth-internal.la
|
|
|
|
|
|
|
|
tools_btgatt_server_SOURCES = tools/btgatt-server.c src/uuid-helper.c
|
|
|
|
tools_btgatt_server_LDADD = src/libshared-mainloop.la \
|
|
|
|
lib/libbluetooth-internal.la
|
2012-12-09 21:44:19 +08:00
|
|
|
|
2017-01-04 20:23:58 +08:00
|
|
|
tools_rctest_LDADD = lib/libbluetooth-internal.la
|
|
|
|
|
|
|
|
tools_l2test_LDADD = lib/libbluetooth-internal.la
|
|
|
|
|
|
|
|
tools_l2ping_LDADD = lib/libbluetooth-internal.la
|
|
|
|
|
|
|
|
tools_bccmd_SOURCES = tools/bccmd.c tools/csr.h tools/csr.c \
|
|
|
|
tools/csr_hci.c tools/csr_usb.c \
|
|
|
|
tools/csr_h4.c tools/csr_3wire.c \
|
|
|
|
tools/csr_bcsp.c tools/ubcsp.h tools/ubcsp.c
|
|
|
|
tools_bccmd_LDADD = lib/libbluetooth-internal.la
|
|
|
|
|
|
|
|
tools_bluemoon_SOURCES = tools/bluemoon.c monitor/bt.h
|
|
|
|
tools_bluemoon_LDADD = src/libshared-mainloop.la
|
|
|
|
|
|
|
|
tools_hex2hcd_SOURCES = tools/hex2hcd.c
|
|
|
|
|
|
|
|
tools_mpris_proxy_SOURCES = tools/mpris-proxy.c
|
|
|
|
tools_mpris_proxy_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@
|
|
|
|
|
2017-01-04 20:47:13 +08:00
|
|
|
tools_gatt_service_SOURCES = tools/gatt-service.c
|
|
|
|
tools_gatt_service_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ gdbus/libgdbus-internal.la
|
|
|
|
|
|
|
|
profiles_iap_iapd_SOURCES = profiles/iap/main.c
|
|
|
|
profiles_iap_iapd_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@
|
|
|
|
|
|
|
|
dist_man_MANS += tools/rctest.1 tools/l2ping.1 tools/bccmd.1 tools/btattach.1
|
|
|
|
|
|
|
|
EXTRA_DIST += tools/bdaddr.1
|
2017-01-04 20:23:58 +08:00
|
|
|
|
|
|
|
if DEPRECATED
|
|
|
|
bin_PROGRAMS += tools/hciattach tools/hciconfig tools/hcitool tools/hcidump \
|
|
|
|
tools/rfcomm tools/sdptool tools/ciptool
|
|
|
|
|
2009-08-23 16:07:21 +08:00
|
|
|
tools_hciattach_SOURCES = tools/hciattach.c tools/hciattach.h \
|
|
|
|
tools/hciattach_st.c \
|
|
|
|
tools/hciattach_ti.c \
|
2010-08-18 17:29:28 +08:00
|
|
|
tools/hciattach_tialt.c \
|
2010-08-24 00:17:47 +08:00
|
|
|
tools/hciattach_ath3k.c \
|
2012-05-16 01:23:29 +08:00
|
|
|
tools/hciattach_qualcomm.c \
|
2014-04-05 00:26:08 +08:00
|
|
|
tools/hciattach_intel.c \
|
|
|
|
tools/hciattach_bcm43xx.c
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_hciattach_LDADD = lib/libbluetooth-internal.la
|
2009-08-23 16:07:21 +08:00
|
|
|
|
2012-12-09 22:10:51 +08:00
|
|
|
tools_hciconfig_SOURCES = tools/hciconfig.c tools/csr.h tools/csr.c
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_hciconfig_LDADD = lib/libbluetooth-internal.la
|
2009-08-23 16:07:21 +08:00
|
|
|
|
2012-12-09 22:10:51 +08:00
|
|
|
tools_hcitool_SOURCES = tools/hcitool.c src/oui.h src/oui.c
|
2014-03-31 07:29:27 +08:00
|
|
|
tools_hcitool_LDADD = lib/libbluetooth-internal.la @UDEV_LIBS@
|
2009-08-23 15:40:59 +08:00
|
|
|
|
2012-12-18 07:12:10 +08:00
|
|
|
tools_hcidump_SOURCES = tools/hcidump.c \
|
|
|
|
tools/parser/parser.h tools/parser/parser.c \
|
|
|
|
tools/parser/lmp.c \
|
|
|
|
tools/parser/hci.c \
|
|
|
|
tools/parser/l2cap.h tools/parser/l2cap.c \
|
|
|
|
tools/parser/amp.c \
|
|
|
|
tools/parser/smp.c \
|
|
|
|
tools/parser/att.c \
|
|
|
|
tools/parser/sdp.h tools/parser/sdp.c \
|
|
|
|
tools/parser/rfcomm.h tools/parser/rfcomm.c \
|
|
|
|
tools/parser/bnep.c \
|
|
|
|
tools/parser/cmtp.c \
|
|
|
|
tools/parser/hidp.c \
|
|
|
|
tools/parser/hcrp.c \
|
|
|
|
tools/parser/avdtp.c \
|
|
|
|
tools/parser/avctp.c \
|
|
|
|
tools/parser/avrcp.c \
|
|
|
|
tools/parser/sap.c \
|
|
|
|
tools/parser/obex.c \
|
|
|
|
tools/parser/capi.c \
|
|
|
|
tools/parser/ppp.c \
|
|
|
|
tools/parser/tcpip.c \
|
|
|
|
tools/parser/ericsson.c \
|
|
|
|
tools/parser/csr.c \
|
|
|
|
tools/parser/bpa.c
|
2012-12-16 02:47:02 +08:00
|
|
|
|
2009-08-29 13:24:04 +08:00
|
|
|
tools_sdptool_SOURCES = tools/sdptool.c src/sdp-xml.h src/sdp-xml.c
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_sdptool_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
|
2009-08-23 15:40:59 +08:00
|
|
|
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_ciptool_LDADD = lib/libbluetooth-internal.la
|
2017-01-04 20:23:58 +08:00
|
|
|
tools_hcidump_LDADD = lib/libbluetooth-internal.la
|
2009-08-23 15:40:59 +08:00
|
|
|
|
2017-01-04 20:23:58 +08:00
|
|
|
tools_rfcomm_LDADD = lib/libbluetooth-internal.la
|
2014-06-17 16:19:14 +08:00
|
|
|
|
2012-12-18 07:12:10 +08:00
|
|
|
dist_man_MANS += tools/hciattach.1 tools/hciconfig.1 \
|
|
|
|
tools/hcitool.1 tools/hcidump.1 \
|
2017-01-04 20:23:58 +08:00
|
|
|
tools/rfcomm.1 tools/sdptool.1 tools/ciptool.1
|
2012-12-16 02:47:02 +08:00
|
|
|
else
|
2012-12-18 07:12:10 +08:00
|
|
|
EXTRA_DIST += tools/hciattach.1 tools/hciconfig.1 \
|
|
|
|
tools/hcitool.1 tools/hcidump.1 \
|
2017-01-04 20:23:58 +08:00
|
|
|
tools/rfcomm.1 tools/sdptool.1 tools/ciptool.1
|
|
|
|
endif
|
|
|
|
else
|
2017-01-04 20:47:13 +08:00
|
|
|
EXTRA_DIST += tools/rctest.1 tools/l2ping.1 tools/bccmd.1 tools/btattach.1
|
2012-12-16 02:47:02 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HID2HCI
|
|
|
|
udevdir = @UDEV_DIR@
|
|
|
|
|
|
|
|
udev_PROGRAMS = tools/hid2hci
|
|
|
|
|
2013-08-29 05:15:22 +08:00
|
|
|
tools_hid2hci_LDADD = @UDEV_LIBS@
|
2012-12-16 02:47:02 +08:00
|
|
|
|
|
|
|
dist_man_MANS += tools/hid2hci.1
|
|
|
|
else
|
|
|
|
EXTRA_DIST += tools/hid2hci.1
|
|
|
|
endif
|
|
|
|
|
2011-03-31 23:59:10 +08:00
|
|
|
if READLINE
|
2017-04-28 14:43:21 +08:00
|
|
|
noinst_PROGRAMS += tools/btmgmt tools/obex-client-tool tools/obex-server-tool \
|
2013-08-12 20:13:22 +08:00
|
|
|
tools/bluetooth-player tools/obexctl
|
2012-12-16 02:47:02 +08:00
|
|
|
|
2012-12-01 22:08:06 +08:00
|
|
|
tools_obex_client_tool_SOURCES = $(gobex_sources) $(btio_sources) \
|
|
|
|
tools/obex-client-tool.c
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_obex_client_tool_LDADD = lib/libbluetooth-internal.la \
|
2012-12-11 04:31:55 +08:00
|
|
|
@GLIB_LIBS@ -lreadline
|
2012-12-01 22:08:06 +08:00
|
|
|
|
|
|
|
tools_obex_server_tool_SOURCES = $(gobex_sources) $(btio_sources) \
|
|
|
|
tools/obex-server-tool.c
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_obex_server_tool_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
|
2013-08-12 19:57:33 +08:00
|
|
|
|
2017-12-08 18:52:51 +08:00
|
|
|
tools_bluetooth_player_SOURCES = tools/bluetooth-player.c
|
2013-08-12 19:57:33 +08:00
|
|
|
tools_bluetooth_player_LDADD = gdbus/libgdbus-internal.la \
|
2017-12-08 18:52:51 +08:00
|
|
|
src/libshared-glib.la \
|
2013-08-12 19:57:33 +08:00
|
|
|
@GLIB_LIBS@ @DBUS_LIBS@ -lreadline
|
2013-08-12 20:13:22 +08:00
|
|
|
|
2017-12-08 18:52:50 +08:00
|
|
|
tools_obexctl_SOURCES = tools/obexctl.c
|
|
|
|
tools_obexctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \
|
2013-08-12 20:13:22 +08:00
|
|
|
@GLIB_LIBS@ @DBUS_LIBS@ -lreadline
|
2015-07-30 01:51:22 +08:00
|
|
|
|
|
|
|
tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c
|
|
|
|
tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \
|
|
|
|
-lreadline
|
2017-01-04 20:23:58 +08:00
|
|
|
if DEPRECATED
|
|
|
|
noinst_PROGRAMS += attrib/gatttool
|
|
|
|
|
|
|
|
attrib_gatttool_SOURCES = attrib/gatttool.c attrib/att.c attrib/gatt.c \
|
|
|
|
attrib/gattrib.c btio/btio.c \
|
|
|
|
attrib/gatttool.h attrib/interactive.c \
|
|
|
|
attrib/utils.c src/log.c client/display.c \
|
|
|
|
client/display.h
|
|
|
|
attrib_gatttool_LDADD = lib/libbluetooth-internal.la \
|
|
|
|
src/libshared-glib.la @GLIB_LIBS@ -lreadline
|
|
|
|
|
|
|
|
endif
|
2009-08-23 16:07:21 +08:00
|
|
|
endif
|
|
|
|
|
2009-08-23 15:40:59 +08:00
|
|
|
if CUPS
|
|
|
|
cupsdir = $(libdir)/cups/backend
|
|
|
|
|
2012-07-10 05:10:34 +08:00
|
|
|
cups_PROGRAMS = profiles/cups/bluetooth
|
2009-08-23 15:40:59 +08:00
|
|
|
|
2013-07-03 20:29:20 +08:00
|
|
|
profiles_cups_bluetooth_SOURCES = profiles/cups/main.c \
|
2012-07-10 05:10:34 +08:00
|
|
|
profiles/cups/cups.h \
|
|
|
|
profiles/cups/sdp.c \
|
|
|
|
profiles/cups/spp.c \
|
|
|
|
profiles/cups/hcrp.c
|
2009-08-23 15:40:59 +08:00
|
|
|
|
2012-07-10 05:10:34 +08:00
|
|
|
profiles_cups_bluetooth_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ \
|
2013-07-03 20:29:20 +08:00
|
|
|
lib/libbluetooth-internal.la \
|
|
|
|
gdbus/libgdbus-internal.la
|
2009-08-23 15:40:59 +08:00
|
|
|
endif
|
|
|
|
|
2012-12-12 05:28:15 +08:00
|
|
|
test_scripts += test/sap_client.py test/bluezutils.py \
|
2011-03-24 21:33:01 +08:00
|
|
|
test/dbusdef.py test/monitor-bluetooth test/list-devices \
|
|
|
|
test/test-discovery test/test-manager test/test-adapter \
|
2012-12-20 10:27:44 +08:00
|
|
|
test/test-device test/simple-agent \
|
2014-04-14 18:59:34 +08:00
|
|
|
test/simple-endpoint test/test-sap-server \
|
2017-08-31 20:35:03 +08:00
|
|
|
test/test-network test/test-profile test/test-health \
|
2012-11-14 20:52:25 +08:00
|
|
|
test/test-health-sink test/service-record.dtd \
|
2012-07-24 21:11:00 +08:00
|
|
|
test/service-did.xml test/service-spp.xml test/service-opp.xml \
|
2012-09-25 22:27:46 +08:00
|
|
|
test/service-ftp.xml test/simple-player test/test-nap \
|
2017-08-31 20:35:03 +08:00
|
|
|
test/test-hfp test/opp-client test/ftp-client \
|
2015-04-02 08:57:52 +08:00
|
|
|
test/pbap-client test/map-client test/example-advertisement \
|
2015-09-03 17:54:26 +08:00
|
|
|
test/example-gatt-server test/example-gatt-client \
|
|
|
|
test/test-gatt-profile
|
2017-12-07 19:43:44 +08:00
|
|
|
|
|
|
|
if BTPCLIENT
|
|
|
|
noinst_PROGRAMS += tools/btpclient
|
|
|
|
|
|
|
|
tools_btpclient_SOURCES = tools/btpclient.c src/shared/btp.c src/shared/btp.h
|
|
|
|
tools_btpclient_CFLAGS = $(AM_CFLAGS) @ELL_CFLAGS@
|
|
|
|
tools_btpclient_LDADD = @ELL_LIBS@
|
|
|
|
endif
|