2002-03-09 05:12:35 +08:00
|
|
|
|
2005-11-07 05:00:58 +08:00
|
|
|
if BCCMD
|
|
|
|
bccmd_programs = bccmd
|
|
|
|
bccmd_manfiles = bccmd.8
|
|
|
|
else
|
|
|
|
bccmd_programs =
|
|
|
|
bccmd_manfiles =
|
|
|
|
endif
|
|
|
|
|
2005-07-03 18:42:56 +08:00
|
|
|
if AVCTRL
|
|
|
|
avctrl_programs = avctrl
|
|
|
|
avctrl_manfiles = avctrl.8
|
|
|
|
else
|
|
|
|
avctrl_programs =
|
|
|
|
avctrl_manfiles =
|
|
|
|
endif
|
|
|
|
|
2004-07-27 21:01:42 +08:00
|
|
|
if HID2HCI
|
2004-07-29 01:45:58 +08:00
|
|
|
hid2hci_programs = hid2hci
|
2004-07-27 21:58:40 +08:00
|
|
|
hid2hci_manfiles = hid2hci.8
|
|
|
|
else
|
2004-07-29 01:45:58 +08:00
|
|
|
hid2hci_programs =
|
2004-07-27 21:58:40 +08:00
|
|
|
hid2hci_manfiles =
|
2004-07-27 21:01:42 +08:00
|
|
|
endif
|
|
|
|
|
2005-04-22 05:53:11 +08:00
|
|
|
if DFUTOOL
|
|
|
|
dfutool_programs = dfutool
|
|
|
|
dfutool_manfiles = dfutool.1
|
|
|
|
else
|
|
|
|
dfutool_programs =
|
|
|
|
dfutool_manfiles =
|
|
|
|
endif
|
|
|
|
|
2005-11-07 05:00:58 +08:00
|
|
|
sbin_PROGRAMS = hciattach hciconfig $(bccmd_programs) $(avctrl_programs) $(hid2hci_programs)
|
2004-04-01 04:14:52 +08:00
|
|
|
|
2005-04-22 05:53:11 +08:00
|
|
|
bin_PROGRAMS = hcitool l2ping sdptool ciptool $(dfutool_programs)
|
2002-03-09 05:12:35 +08:00
|
|
|
|
2005-11-07 05:00:58 +08:00
|
|
|
noinst_PROGRAMS = hcisecfilter ppporc
|
2004-04-24 19:16:58 +08:00
|
|
|
|
2006-03-21 06:32:32 +08:00
|
|
|
hciattach_SOURCES = hciattach.c hciattach_st.c
|
|
|
|
|
2003-07-03 06:27:41 +08:00
|
|
|
hciconfig_SOURCES = hciconfig.c csr.h csr.c
|
2006-06-04 20:09:30 +08:00
|
|
|
hciconfig_LDADD = @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a
|
2004-04-03 14:04:35 +08:00
|
|
|
|
2006-06-04 20:09:30 +08:00
|
|
|
hcitool_SOURCES = hcitool.c
|
|
|
|
hcitool_LDADD = @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a
|
2004-04-24 19:16:58 +08:00
|
|
|
|
2004-05-23 18:41:37 +08:00
|
|
|
l2ping_LDADD = @BLUEZ_LIBS@
|
2004-04-24 19:16:58 +08:00
|
|
|
|
2004-05-23 18:41:37 +08:00
|
|
|
sdptool_LDADD = @BLUEZ_LIBS@
|
2004-04-03 14:04:35 +08:00
|
|
|
|
2004-05-23 18:41:37 +08:00
|
|
|
ciptool_LDADD = @BLUEZ_LIBS@
|
2004-04-24 19:16:58 +08:00
|
|
|
|
2004-05-23 18:41:37 +08:00
|
|
|
ppporc_LDADD = @BLUEZ_LIBS@
|
2004-04-24 19:16:58 +08:00
|
|
|
|
2005-11-07 05:00:58 +08:00
|
|
|
if BCCMD
|
2005-12-03 03:34:29 +08:00
|
|
|
bccmd_SOURCES = bccmd.c csr.h csr.c csr_hci.c csr_usb.c csr_bcsp.c csr_h4.c csr_3wire.c ubcsp.h ubcsp.c
|
2005-11-11 04:23:47 +08:00
|
|
|
bccmd_LDADD = @USB_LIBS@ @BLUEZ_LIBS@
|
2005-11-07 05:00:58 +08:00
|
|
|
endif
|
2005-05-16 19:51:27 +08:00
|
|
|
|
2005-07-03 18:42:56 +08:00
|
|
|
if AVCTRL
|
|
|
|
avctrl_LDADD = @USB_LIBS@
|
|
|
|
endif
|
|
|
|
|
2004-07-29 01:45:58 +08:00
|
|
|
if HID2HCI
|
|
|
|
hid2hci_LDADD = @USB_LIBS@
|
|
|
|
endif
|
|
|
|
|
2005-04-22 05:53:11 +08:00
|
|
|
if DFUTOOL
|
|
|
|
dfutool_SOURCES = dfutool.c dfu.h dfu.c
|
|
|
|
dfutool_LDADD = @USB_LIBS@
|
|
|
|
endif
|
|
|
|
|
2004-07-27 04:57:01 +08:00
|
|
|
AM_CFLAGS = @BLUEZ_CFLAGS@ @USB_CFLAGS@
|
2002-03-19 03:39:45 +08:00
|
|
|
|
2005-04-22 20:18:52 +08:00
|
|
|
INCLUDES = -I$(top_srcdir)/common
|
|
|
|
|
2005-04-22 05:53:11 +08:00
|
|
|
man_MANS = hciattach.8 hciconfig.8 hcitool.1 l2ping.1 sdptool.1 ciptool.1 \
|
2005-11-07 05:00:58 +08:00
|
|
|
$(bccmd_manfiles) $(avctrl_manfiles) $(hid2hci_manfiles) $(dfutool_manfiles)
|
2005-09-30 21:05:09 +08:00
|
|
|
|
2005-11-07 05:00:58 +08:00
|
|
|
EXTRA_DIST = $(man_MANS) bccmd.8 avctrl.8 hid2hci.8 dfutool.1 example.psr
|
2004-07-21 23:20:28 +08:00
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|