summaryrefslogtreecommitdiffstats
path: root/hcid/Makefile.am
blob: 3c3c52b1970fe66089d87119e84ff3b1b2c7f343 (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

if CONFIGFILES
confdir = $(sysconfdir)/bluetooth

conf_DATA = hcid.conf

statedir = $(localstatedir)/lib/bluetooth

state_DATA =

dbusdir = $(sysconfdir)/dbus-1/system.d

dbus_DATA = bluez-hcid.conf
endif

sbin_PROGRAMS = hcid

noinst_PROGRAMS = passkey-agent

noinst_SCRIPTS = dbus-test

hcid_SOURCES = main.c security.c device.c logging.c storage.c \
		sdp.c sdp.h hcid.h parser.h parser.y \
		lexer.l kword.c kword.h \
		dbus.h dbus.c dbus-common.c \
		dbus-error.c dbus-manager.c dbus-adapter.c \
		dbus-device.c dbus-service.c dbus-security.c \
		dbus-sdp.c dbus-rfcomm.c

hcid_LDADD = @DBUS_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a

passkey_agent_SOURCES = passkey-agent.c

passkey_agent_LDADD = @DBUS_LIBS@

AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@

INCLUDES = -I$(top_srcdir)/common

man_MANS = hcid.8 hcid.conf.5

AM_YFLAGS = -d

CLEANFILES = lexer.c parser.c parser.h

EXTRA_DIST = $(man_MANS) hcid.conf bluez-hcid.conf dbus-test dbus-api.txt

MAINTAINERCLEANFILES = Makefile.in