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 \
|
2015-01-06 00:16:21 +08:00
|
|
|
client/gatt.h client/gatt.c \
|
2012-12-23 11:11:46 +08:00
|
|
|
monitor/uuid.h monitor/uuid.c
|
2013-07-03 20:29:20 +08:00
|
|
|
client_bluetoothctl_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@ \
|
|
|
|
-lreadline
|
2012-12-12 05:19:13 +08:00
|
|
|
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 \
|
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 \
|
2014-09-25 19:01:43 +08:00
|
|
|
monitor/analyze.h monitor/analyze.c
|
|
|
|
monitor_btmon_LDADD = lib/libbluetooth-internal.la \
|
|
|
|
src/libshared-mainloop.la @UDEV_LIBS@
|
2012-12-16 02:47:02 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
if EXPERIMENTAL
|
2014-01-26 04:17:09 +08:00
|
|
|
noinst_PROGRAMS += emulator/btvirt emulator/b1ee emulator/hfp 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-05 05:00:17 +08:00
|
|
|
tools/rfcomm-tester tools/bnep-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
|
|
|
|
|
|
|
|
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@
|
2012-12-13 06:19:43 +08:00
|
|
|
endif
|
|
|
|
|
2009-08-23 15:40:59 +08:00
|
|
|
if TOOLS
|
2012-12-18 07:12:10 +08:00
|
|
|
bin_PROGRAMS += tools/hciattach tools/hciconfig tools/hcitool tools/hcidump \
|
2012-12-16 02:47:02 +08:00
|
|
|
tools/rfcomm tools/rctest tools/l2test tools/l2ping \
|
2014-06-17 16:19:14 +08:00
|
|
|
tools/sdptool tools/ciptool tools/bccmd \
|
2015-01-24 13:31:55 +08:00
|
|
|
tools/bluemoon tools/hex2hcd tools/mpris-proxy
|
2012-12-09 21:44:19 +08:00
|
|
|
|
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
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_hcidump_LDADD = lib/libbluetooth-internal.la
|
2012-12-18 07:12:10 +08:00
|
|
|
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_rfcomm_LDADD = lib/libbluetooth-internal.la
|
2012-12-16 02:47:02 +08:00
|
|
|
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_rctest_LDADD = lib/libbluetooth-internal.la
|
2012-12-16 02:47:02 +08:00
|
|
|
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_l2test_LDADD = lib/libbluetooth-internal.la
|
2012-12-16 02:47:02 +08:00
|
|
|
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_l2ping_LDADD = lib/libbluetooth-internal.la
|
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
|
2009-08-23 15:40:59 +08:00
|
|
|
|
2012-12-16 02:47:02 +08:00
|
|
|
tools_bccmd_SOURCES = tools/bccmd.c tools/csr.h tools/csr.c \
|
2013-08-29 04:21:44 +08:00
|
|
|
tools/csr_hci.c tools/csr_usb.c \
|
|
|
|
tools/csr_h4.c tools/csr_3wire.c \
|
2012-12-16 02:47:02 +08:00
|
|
|
tools/csr_bcsp.c tools/ubcsp.h tools/ubcsp.c
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_bccmd_LDADD = lib/libbluetooth-internal.la
|
2012-12-16 02:47:02 +08:00
|
|
|
|
2014-09-25 19:01:43 +08:00
|
|
|
tools_bluemoon_SOURCES = tools/bluemoon.c monitor/bt.h
|
|
|
|
tools_bluemoon_LDADD = src/libshared-mainloop.la
|
2014-01-14 12:56:39 +08:00
|
|
|
|
2015-01-24 13:31:55 +08:00
|
|
|
tools_hex2hcd_SOURCES = tools/hex2hcd.c
|
|
|
|
|
2014-06-17 16:19:14 +08:00
|
|
|
tools_mpris_proxy_SOURCES = tools/mpris-proxy.c
|
|
|
|
tools_mpris_proxy_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@
|
|
|
|
|
2012-12-18 07:12:10 +08:00
|
|
|
dist_man_MANS += tools/hciattach.1 tools/hciconfig.1 \
|
|
|
|
tools/hcitool.1 tools/hcidump.1 \
|
2012-12-16 02:47:02 +08:00
|
|
|
tools/rfcomm.1 tools/rctest.1 tools/l2ping.1 \
|
|
|
|
tools/sdptool.1 tools/ciptool.1 tools/bccmd.1
|
|
|
|
else
|
2012-12-18 07:12:10 +08:00
|
|
|
EXTRA_DIST += tools/hciattach.1 tools/hciconfig.1 \
|
|
|
|
tools/hcitool.1 tools/hcidump.1 \
|
2012-12-16 02:47:02 +08:00
|
|
|
tools/rfcomm.1 tools/rctest.1 tools/l2ping.1 \
|
|
|
|
tools/sdptool.1 tools/ciptool.1 tools/bccmd.1
|
|
|
|
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
|
|
|
|
|
|
|
|
if EXPERIMENTAL
|
2013-10-10 01:50:39 +08:00
|
|
|
noinst_PROGRAMS += tools/bdaddr tools/avinfo tools/avtest \
|
|
|
|
tools/scotest tools/amptest tools/hwdb \
|
|
|
|
tools/hcieventmask tools/hcisecfilter \
|
2013-09-04 12:59:45 +08:00
|
|
|
tools/btmgmt tools/btinfo tools/btattach \
|
2014-12-29 05:30:31 +08:00
|
|
|
tools/btsnoop tools/btproxy \
|
2015-03-13 20:41:50 +08:00
|
|
|
tools/btiotest tools/bneptest tools/mcaptest \
|
|
|
|
tools/cltest tools/oobtest tools/seq2bseq \
|
2015-04-11 05:21:47 +08:00
|
|
|
tools/nokfw tools/create-image tools/ibeacon \
|
|
|
|
tools/btgatt-client tools/btgatt-server \
|
2015-04-02 04:07:12 +08:00
|
|
|
tools/test-runner tools/check-selftest
|
2012-12-16 02:47:02 +08:00
|
|
|
|
|
|
|
tools_bdaddr_SOURCES = tools/bdaddr.c src/oui.h src/oui.c
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_bdaddr_LDADD = lib/libbluetooth-internal.la @UDEV_LIBS@
|
2012-12-16 02:47:02 +08:00
|
|
|
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_avinfo_LDADD = lib/libbluetooth-internal.la
|
2009-08-23 15:40:59 +08:00
|
|
|
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_avtest_LDADD = lib/libbluetooth-internal.la
|
2012-12-09 21:30:33 +08:00
|
|
|
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_scotest_LDADD = lib/libbluetooth-internal.la
|
2012-12-09 21:47:43 +08:00
|
|
|
|
2013-10-10 01:50:39 +08:00
|
|
|
tools_amptest_LDADD = lib/libbluetooth-internal.la
|
2009-08-23 15:40:59 +08:00
|
|
|
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_hwdb_LDADD = lib/libbluetooth-internal.la
|
2012-12-28 15:42:42 +08:00
|
|
|
|
2013-10-10 01:50:39 +08:00
|
|
|
tools_hcieventmask_LDADD = lib/libbluetooth-internal.la
|
|
|
|
|
2015-02-11 04:04:49 +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
|
2014-09-25 19:01:43 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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
|
2013-12-31 12:48:31 +08:00
|
|
|
|
2012-12-16 02:47:02 +08:00
|
|
|
tools_btiotest_SOURCES = tools/btiotest.c btio/btio.h btio/btio.c
|
2013-07-03 20:29:19 +08:00
|
|
|
tools_btiotest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
|
2012-12-16 02:47:02 +08:00
|
|
|
|
2014-12-29 05:30:31 +08:00
|
|
|
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@
|
|
|
|
|
2015-03-13 20:41:50 +08:00
|
|
|
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@
|
|
|
|
|
2014-09-25 19:01:43 +08:00
|
|
|
tools_cltest_SOURCES = tools/cltest.c
|
|
|
|
tools_cltest_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la
|
2013-10-14 04:17:19 +08:00
|
|
|
|
2015-01-31 15:18:50 +08:00
|
|
|
tools_oobtest_SOURCES = tools/oobtest.c
|
|
|
|
tools_oobtest_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la
|
|
|
|
|
2014-01-11 16:50:41 +08:00
|
|
|
tools_seq2bseq_SOURCES = tools/seq2bseq.c
|
|
|
|
|
2015-04-11 05:21:47 +08:00
|
|
|
tools_nokfw_SOURCES = tools/nokfw.c
|
|
|
|
|
|
|
|
tools_create_image_SOURCES = tools/create-image.c
|
|
|
|
|
2014-09-25 19:01:43 +08:00
|
|
|
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
|
2014-11-15 04:20:23 +08:00
|
|
|
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
|
2014-08-31 00:51:43 +08:00
|
|
|
|
2012-12-16 02:47:02 +08:00
|
|
|
EXTRA_DIST += tools/bdaddr.1
|
|
|
|
endif
|
|
|
|
|
2011-03-31 23:59:10 +08:00
|
|
|
if READLINE
|
2012-12-16 02:47:02 +08:00
|
|
|
noinst_PROGRAMS += attrib/gatttool \
|
2013-08-12 19:57:33 +08:00
|
|
|
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
|
|
|
|
2011-03-31 23:59:10 +08:00
|
|
|
attrib_gatttool_SOURCES = attrib/gatttool.c attrib/att.c attrib/gatt.c \
|
|
|
|
attrib/gattrib.c btio/btio.c \
|
|
|
|
attrib/gatttool.h attrib/interactive.c \
|
2013-04-03 07:31:22 +08:00
|
|
|
attrib/utils.c src/log.c client/display.c \
|
2014-09-25 19:01:43 +08:00
|
|
|
client/display.h
|
|
|
|
attrib_gatttool_LDADD = lib/libbluetooth-internal.la \
|
|
|
|
src/libshared-glib.la @GLIB_LIBS@ -lreadline
|
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
|
|
|
|
|
|
|
tools_bluetooth_player_SOURCES = tools/bluetooth-player.c \
|
|
|
|
client/display.h client/display.c
|
|
|
|
tools_bluetooth_player_LDADD = gdbus/libgdbus-internal.la \
|
|
|
|
@GLIB_LIBS@ @DBUS_LIBS@ -lreadline
|
2013-08-12 20:13:22 +08:00
|
|
|
|
|
|
|
tools_obexctl_SOURCES = tools/obexctl.c \
|
|
|
|
client/display.h client/display.c
|
|
|
|
tools_obexctl_LDADD = gdbus/libgdbus-internal.la \
|
|
|
|
@GLIB_LIBS@ @DBUS_LIBS@ -lreadline
|
2009-08-23 16:07:21 +08:00
|
|
|
endif
|
|
|
|
|
2012-12-28 15:57:04 +08:00
|
|
|
if EXPERIMENTAL
|
2014-03-07 01:46:57 +08:00
|
|
|
noinst_PROGRAMS += tools/gatt-service
|
|
|
|
|
|
|
|
tools_gatt_service_SOURCES = tools/gatt-service.c
|
|
|
|
tools_gatt_service_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ gdbus/libgdbus-internal.la
|
|
|
|
|
2012-12-28 15:57:04 +08:00
|
|
|
noinst_PROGRAMS += profiles/iap/iapd
|
|
|
|
|
2013-07-03 20:29:20 +08:00
|
|
|
profiles_iap_iapd_SOURCES = profiles/iap/main.c
|
|
|
|
profiles_iap_iapd_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@
|
2012-12-28 15:57:04 +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 \
|
2012-12-21 15:25:03 +08:00
|
|
|
test/test-proximity test/test-network \
|
2012-11-14 20:52:25 +08:00
|
|
|
test/test-thermometer test/test-profile test/test-health \
|
|
|
|
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 \
|
2012-12-04 20:43:45 +08:00
|
|
|
test/test-heartrate test/test-alert test/test-hfp \
|
2013-12-15 19:47:49 +08:00
|
|
|
test/test-cyclingspeed test/opp-client test/ftp-client \
|
2015-04-02 08:57:52 +08:00
|
|
|
test/pbap-client test/map-client test/example-advertisement \
|
2015-04-02 09:01:26 +08:00
|
|
|
test/example-gatt-server test/example-gatt-client
|