summaryrefslogtreecommitdiffstats
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-07-03 10:42:56 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-07-03 10:42:56 +0000
commitbee17a8b3e9f220f4064069e3cc9a485663ce057 (patch)
tree2e5e2cdc61a59191a44b26d708c85ec7a4ccc65e /tools/Makefile.am
parentab788511066ea30c788d907fd44c8427f97b6e54 (diff)
Add Audio/Video control utility
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am18
1 files changed, 15 insertions, 3 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 66839dd7..adff35b9 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -2,6 +2,14 @@
# $Id$
#
+if AVCTRL
+avctrl_programs = avctrl
+avctrl_manfiles = avctrl.8
+else
+avctrl_programs =
+avctrl_manfiles =
+endif
+
if HID2HCI
hid2hci_programs = hid2hci
hid2hci_manfiles = hid2hci.8
@@ -18,7 +26,7 @@ dfutool_programs =
dfutool_manfiles =
endif
-sbin_PROGRAMS = hciattach hciconfig $(hid2hci_programs)
+sbin_PROGRAMS = hciattach hciconfig $(avctrl_programs) $(hid2hci_programs)
bin_PROGRAMS = hcitool l2ping sdptool ciptool $(dfutool_programs)
@@ -44,6 +52,10 @@ pskey_LDADD = @BLUEZ_LIBS@
bccmd_SOURCES = bccmd.c csr.h csr.c
bccmd_LDADD = @BLUEZ_LIBS@
+if AVCTRL
+avctrl_LDADD = @USB_LIBS@
+endif
+
if HID2HCI
hid2hci_LDADD = @USB_LIBS@
endif
@@ -58,8 +70,8 @@ AM_CFLAGS = @BLUEZ_CFLAGS@ @USB_CFLAGS@
INCLUDES = -I$(top_srcdir)/common
man_MANS = hciattach.8 hciconfig.8 hcitool.1 l2ping.1 sdptool.1 ciptool.1 \
- $(hid2hci_manfiles) $(dfutool_manfiles)
+ $(avctrl_manfiles) $(hid2hci_manfiles) $(dfutool_manfiles)
-EXTRA_DIST = $(man_MANS) hid2hci.8 dfutool.1
+EXTRA_DIST = $(man_MANS) avctrl.8 hid2hci.8 dfutool.1
MAINTAINERCLEANFILES = Makefile.in