summaryrefslogtreecommitdiffstats
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-04-21 21:53:11 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-04-21 21:53:11 +0000
commit1514cc3fbace6793f002737b08f9cfcb140bed70 (patch)
tree9d264057f25f527e4bb3f5283c880ab4d6ba3a69 /tools/Makefile.am
parentef776753184cd3eb25fd852284945c053094105d (diff)
Add the firmware upgrade utility
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am23
1 files changed, 17 insertions, 6 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 3dd69b68..9756a8d8 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -10,18 +10,24 @@ hid2hci_programs =
hid2hci_manfiles =
endif
+if DFUTOOL
+dfutool_programs = dfutool
+dfutool_manfiles = dfutool.1
+else
+dfutool_programs =
+dfutool_manfiles =
+endif
+
sbin_PROGRAMS = hciattach hciconfig $(hid2hci_programs)
-bin_PROGRAMS = hcitool l2ping sdptool ciptool
+bin_PROGRAMS = hcitool l2ping sdptool ciptool $(dfutool_programs)
noinst_PROGRAMS = hcisecfilter ppporc pskey
hciconfig_SOURCES = hciconfig.c csr.h csr.c
-
hciconfig_LDADD = @BLUEZ_LIBS@
hcitool_SOURCES = hcitool.c oui.h oui.c
-
hcitool_LDADD = @BLUEZ_LIBS@
l2ping_LDADD = @BLUEZ_LIBS@
@@ -33,17 +39,22 @@ ciptool_LDADD = @BLUEZ_LIBS@
ppporc_LDADD = @BLUEZ_LIBS@
pskey_SOURCES = pskey.c csr.h csr.c
-
pskey_LDADD = @BLUEZ_LIBS@
if HID2HCI
hid2hci_LDADD = @USB_LIBS@
endif
+if DFUTOOL
+dfutool_SOURCES = dfutool.c dfu.h dfu.c
+dfutool_LDADD = @USB_LIBS@
+endif
+
AM_CFLAGS = @BLUEZ_CFLAGS@ @USB_CFLAGS@
-man_MANS = hciattach.8 hciconfig.8 hcitool.1 l2ping.1 sdptool.1 ciptool.1 $(hid2hci_manfiles)
+man_MANS = hciattach.8 hciconfig.8 hcitool.1 l2ping.1 sdptool.1 ciptool.1 \
+ $(hid2hci_manfiles) $(dfutool_manfiles)
-EXTRA_DIST = $(man_MANS) hid2hci.8 hid2hci.c
+EXTRA_DIST = $(man_MANS) hid2hci.8 dfutool.1
MAINTAINERCLEANFILES = Makefile.in