diff options
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r-- | tools/Makefile.am | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index ca0514ce..79871391 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -2,7 +2,20 @@ # $Id$ # -sbin_PROGRAMS = hciattach hciconfig hid2hci +manfiles = hid2hci.8 + +if HID2HCI +xbindir = $(sbindir) +xmandir = $(mandir) + +xbin_PROGRAMS = hid2hci + +hid2hci_LDADD = @USB_LIBS@ + +xman_MANS = $(manfiles) +endif + +sbin_PROGRAMS = hciattach hciconfig bin_PROGRAMS = hcitool l2ping sdptool ciptool @@ -22,12 +35,10 @@ ciptool_LDADD = @BLUEZ_LIBS@ ppporc_LDADD = @BLUEZ_LIBS@ -hid2hci_LDADD = @USB_LIBS@ - AM_CFLAGS = @BLUEZ_CFLAGS@ @USB_CFLAGS@ -man_MANS = hciattach.8 hciconfig.8 hid2hci.8 hcitool.1 l2ping.1 sdptool.1 ciptool.1 +man_MANS = hciattach.8 hciconfig.8 hcitool.1 l2ping.1 sdptool.1 ciptool.1 -EXTRA_DIST = $(man_MANS) +EXTRA_DIST = $(man_MANS) $(manfiles) MAINTAINERCLEANFILES = Makefile.in |