blob: 2e5ecd68608c5c5a101badab71891e8aa2876466 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
if BCCMD
bccmd_programs = bccmd
bccmd_manfiles = bccmd.8
else
bccmd_programs =
bccmd_manfiles =
endif
if AVCTRL
avctrl_programs = avctrl
avctrl_manfiles = avctrl.8
else
avctrl_programs =
avctrl_manfiles =
endif
if HID2HCI
hid2hci_programs = hid2hci
hid2hci_manfiles = hid2hci.8
else
hid2hci_programs =
hid2hci_manfiles =
endif
if DFUTOOL
dfutool_programs = dfutool
dfutool_manfiles = dfutool.1
else
dfutool_programs =
dfutool_manfiles =
endif
if DFUBABEL
dfubabel_programs = dfubabel
dfubabel_manfiles = dfubabel.1
else
dfubabel_programs =
dfubabel_manfiles =
endif
sbin_PROGRAMS = hciattach hciconfig $(bccmd_programs) $(avctrl_programs) $(hid2hci_programs)
bin_PROGRAMS = hcitool l2ping sdptool ciptool $(dfutool_programs) $(dfubabel_programs)
noinst_PROGRAMS = hcisecfilter ppporc
hciattach_SOURCES = hciattach.c hciattach_st.c
hciattach_LDADD = @BLUEZ_LIBS@
hciconfig_SOURCES = hciconfig.c csr.h csr.c
hciconfig_LDADD = @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a
hcitool_SOURCES = hcitool.c
hcitool_LDADD = @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a
l2ping_LDADD = @BLUEZ_LIBS@
sdptool_LDADD = @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a
ciptool_LDADD = @BLUEZ_LIBS@
ppporc_LDADD = @BLUEZ_LIBS@
if BCCMD
bccmd_SOURCES = bccmd.c csr.h csr.c csr_hci.c csr_bcsp.c csr_h4.c csr_3wire.c ubcsp.h ubcsp.c
bccmd_LDADD = @BLUEZ_LIBS@
if USB
bccmd_SOURCES += csr_usb.c
bccmd_LDADD += @USB_LIBS@
endif
endif
if AVCTRL
avctrl_LDADD = @USB_LIBS@
endif
if HID2HCI
hid2hci_LDADD = @USB_LIBS@
endif
if DFUTOOL
dfutool_SOURCES = dfutool.c dfu.h dfu.c
dfutool_LDADD = @USB_LIBS@
endif
if DFUBABEL
dfubabel_SOURCES = dfubabel.c
dfubabel_LDADD = @USB_LIBS@
endif
AM_CFLAGS = @BLUEZ_CFLAGS@ @USB_CFLAGS@
INCLUDES = -I$(top_srcdir)/common
if MANPAGES
man_MANS = hciattach.8 hciconfig.8 hcitool.1 l2ping.1 sdptool.1 ciptool.1 \
$(bccmd_manfiles) $(avctrl_manfiles) $(hid2hci_manfiles) \
$(dfutool_manfiles) $(dfubabel_manfiles)
endif
EXTRA_DIST = hciattach.8 hciconfig.8 hcitool.1 l2ping.1 sdptool.1 ciptool.1 \
bccmd.8 avctrl.8 hid2hci.8 dfutool.1 dfubabel.1 example.psr
MAINTAINERCLEANFILES = Makefile.in
|