4 conf_DATA += tools/rfcomm.conf
7 bin_PROGRAMS += tools/rfcomm tools/l2ping \
8 tools/hcitool tools/sdptool tools/ciptool
10 sbin_PROGRAMS += tools/hciattach tools/hciconfig
12 noinst_PROGRAMS += tools/avinfo tools/ppporc \
13 tools/hcieventmask tools/hcisecfilter
15 tools/kword.c: tools/parser.h
17 tools_rfcomm_SOURCES = tools/rfcomm.c tools/parser.y tools/lexer.l \
18 tools/kword.h tools/kword.c
19 EXTRA_tools_rfcomm_SOURCES = tools/parser.h tools/parser.c \
21 tools_rfcomm_LDADD = lib/libbluetooth-private.la
23 tools_l2ping_LDADD = lib/libbluetooth-private.la
25 tools_hciattach_SOURCES = tools/hciattach.c tools/hciattach.h \
26 tools/hciattach_st.c \
27 tools/hciattach_ti.c \
28 tools/hciattach_tialt.c \
29 tools/hciattach_ath3k.c \
30 tools/hciattach_qualcomm.c \
31 tools/hciattach_intel.c
32 tools_hciattach_LDADD = lib/libbluetooth-private.la
34 tools_hciconfig_SOURCES = tools/hciconfig.c tools/csr.h tools/csr.c \
35 src/textfile.h src/textfile.c
36 tools_hciconfig_LDADD = lib/libbluetooth-private.la
38 tools_hcitool_SOURCES = tools/hcitool.c src/oui.h src/oui.c \
39 src/textfile.h src/textfile.c
40 tools_hcitool_LDADD = lib/libbluetooth-private.la
42 tools_sdptool_SOURCES = tools/sdptool.c src/sdp-xml.h src/sdp-xml.c
43 tools_sdptool_LDADD = lib/libbluetooth-private.la
45 tools_ciptool_LDADD = lib/libbluetooth-private.la
47 tools_avinfo_LDADD = lib/libbluetooth-private.la
49 tools_ppporc_LDADD = lib/libbluetooth-private.la
51 tools_hcieventmask_LDADD = lib/libbluetooth-private.la
53 noinst_PROGRAMS += mgmt/btmgmt monitor/btmon emulator/btvirt
55 mgmt_btmgmt_SOURCES = mgmt/main.c src/glib-helper.c
56 mgmt_btmgmt_LDADD = lib/libbluetooth-private.la @GLIB_LIBS@
58 monitor_btmon_SOURCES = monitor/main.c monitor/bt.h \
59 monitor/mainloop.h monitor/mainloop.c \
60 monitor/hcidump.h monitor/hcidump.c \
61 monitor/btsnoop.h monitor/btsnoop.c \
62 monitor/control.h monitor/control.c \
63 monitor/packet.h monitor/packet.c
64 monitor_btmon_LDADD = lib/libbluetooth-private.la
66 emulator_btvirt_SOURCES = emulator/main.c monitor/bt.h \
67 monitor/mainloop.h monitor/mainloop.c \
68 emulator/server.h emulator/server.c \
69 emulator/vhci.h emulator/vhci.c \
70 emulator/btdev.h emulator/btdev.c
73 bin_PROGRAMS += attrib/gatttool
75 attrib_gatttool_SOURCES = attrib/gatttool.c attrib/att.c attrib/gatt.c \
76 attrib/gattrib.c btio/btio.c \
77 attrib/gatttool.h attrib/interactive.c \
78 attrib/utils.c src/log.c
79 attrib_gatttool_LDADD = lib/libbluetooth-private.la @GLIB_LIBS@ @READLINE_LIBS@
82 dist_man_MANS += tools/rfcomm.1 tools/l2ping.8 \
83 tools/hciattach.8 tools/hciconfig.8 \
84 tools/hcitool.1 tools/sdptool.1 tools/ciptool.1
86 EXTRA_DIST += tools/rfcomm.1 tools/l2ping.8 \
87 tools/hciattach.8 tools/hciconfig.8 \
88 tools/hcitool.1 tools/sdptool.1 tools/ciptool.1
91 CLEANFILES += tools/lexer.c tools/parser.c tools/parser.h
93 EXTRA_DIST += tools/rfcomm.conf
96 sbin_PROGRAMS += tools/bccmd
98 tools_bccmd_SOURCES = tools/bccmd.c tools/csr.h tools/csr.c \
99 tools/csr_hci.c tools/csr_h4.c tools/csr_3wire.c \
100 tools/csr_bcsp.c tools/ubcsp.h tools/ubcsp.c
101 tools_bccmd_LDADD = lib/libbluetooth-private.la
104 tools_bccmd_SOURCES += tools/csr_usb.c
105 tools_bccmd_LDADD += @USB_LIBS@
108 dist_man_MANS += tools/bccmd.8
110 EXTRA_DIST += tools/bccmd.8
116 udev_PROGRAMS = tools/hid2hci
118 tools_hid2hci_LDADD = @USB_LIBS@ @UDEV_LIBS@
120 dist_man_MANS += tools/hid2hci.8
122 EXTRA_DIST += tools/hid2hci.8
126 bin_PROGRAMS += tools/dfutool
128 tools_dfutool_SOURCES = tools/dfutool.c tools/dfu.h tools/dfu.c
129 tools_dfutool_LDADD = @USB_LIBS@
131 dist_man_MANS += tools/dfutool.1
133 EXTRA_DIST += tools/dfutool.1
138 noinst_PROGRAMS += tools/dfubabel tools/avctrl
140 tools_dfubabel_LDADD = @USB_LIBS@
142 tools_avctrl_LDADD = @USB_LIBS@
145 EXTRA_DIST += tools/dfubabel.1 tools/avctrl.8
149 cupsdir = $(libdir)/cups/backend
151 cups_PROGRAMS = cups/bluetooth
153 cups_bluetooth_SOURCES = $(gdbus_sources) cups/main.c cups/cups.h \
154 cups/sdp.c cups/spp.c cups/hcrp.c
156 cups_bluetooth_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ lib/libbluetooth-private.la
161 sbin_PROGRAMS += test/hciemu
163 bin_PROGRAMS += test/l2test test/rctest
165 noinst_PROGRAMS += test/gaptest test/sdptest test/scotest \
166 test/attest test/hstest test/avtest test/ipctest \
167 test/lmptest test/bdaddr test/agent \
168 test/btiotest test/test-textfile \
169 test/uuidtest test/mpris-player
171 test_hciemu_LDADD = lib/libbluetooth-private.la
173 test_l2test_LDADD = lib/libbluetooth-private.la
175 test_rctest_LDADD = lib/libbluetooth-private.la
177 test_gaptest_LDADD = @DBUS_LIBS@
179 test_sdptest_LDADD = lib/libbluetooth-private.la
181 test_scotest_LDADD = lib/libbluetooth-private.la
183 test_attest_LDADD = lib/libbluetooth-private.la
185 test_hstest_LDADD = lib/libbluetooth-private.la
187 test_avtest_LDADD = lib/libbluetooth-private.la
189 test_lmptest_LDADD = lib/libbluetooth-private.la
191 test_ipctest_SOURCES = test/ipctest.c audio/ipc.h audio/ipc.c
192 test_ipctest_LDADD= @GLIB_LIBS@ sbc/libsbc.la
194 test_bdaddr_SOURCES = test/bdaddr.c src/oui.h src/oui.c
195 test_bdaddr_LDADD = lib/libbluetooth-private.la
197 test_agent_LDADD = @DBUS_LIBS@
199 test_btiotest_SOURCES = test/btiotest.c btio/btio.h btio/btio.c
200 test_btiotest_LDADD = @GLIB_LIBS@ lib/libbluetooth-private.la
202 test_uuidtest_SOURCES = test/uuidtest.c
203 test_uuidtest_LDADD = lib/libbluetooth-private.la
205 test_mpris_player_SOURCES = test/mpris-player.c
206 test_mpris_player_LDADD = @DBUS_LIBS@ @GLIB_LIBS@
208 test_test_textfile_SOURCES = test/test-textfile.c src/textfile.h src/textfile.c
210 dist_man_MANS += test/rctest.1 test/hciemu.1
212 EXTRA_DIST += test/bdaddr.8
214 EXTRA_DIST += test/rctest.1 test/hciemu.1 test/bdaddr.8
217 EXTRA_DIST += test/sap-client test/hsplay test/hsmicro \
218 test/dbusdef.py test/monitor-bluetooth test/list-devices \
219 test/test-discovery test/test-manager test/test-adapter \
220 test/test-device test/test-service test/test-serial \
221 test/test-telephony test/test-network test/simple-agent \
222 test/simple-service test/simple-endpoint test/test-audio \
223 test/test-input test/test-sap-server test/test-oob \
224 test/test-attrib test/test-proximity test/test-thermometer \
225 test/test-serial-proxy test/test-health test/test-health-sink \
226 test/service-record.dtd test/service-did.xml \
227 test/service-spp.xml test/service-opp.xml test/service-ftp.xml \
228 test/simple-player test/test-nap
231 bin_PROGRAMS += compat/hidd
233 compat_hidd_SOURCES = compat/hidd.c compat/hidd.h src/uinput.h \
234 compat/sdp.h compat/sdp.c compat/fakehid.c \
235 src/textfile.h src/textfile.c
236 compat_hidd_LDADD = -lm lib/libbluetooth-private.la
238 dist_man_MANS += compat/hidd.1
240 EXTRA_DIST += compat/hidd.1
244 bin_PROGRAMS += compat/pand
246 compat_pand_SOURCES = compat/pand.c compat/pand.h \
247 compat/bnep.c compat/sdp.h compat/sdp.c \
248 src/textfile.h src/textfile.c
249 compat_pand_LDADD = lib/libbluetooth-private.la
251 dist_man_MANS += compat/pand.1
253 EXTRA_DIST += compat/pand.1
257 bin_PROGRAMS += compat/dund
259 compat_dund_SOURCES = compat/dund.c compat/dund.h compat/lib.h \
260 compat/sdp.h compat/sdp.c compat/dun.c compat/msdun.c \
261 src/textfile.h src/textfile.c
262 compat_dund_LDADD = lib/libbluetooth-private.la
264 dist_man_MANS += compat/dund.1
266 EXTRA_DIST += compat/dund.1