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

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 service-agent auth-agent

hcid_SOURCES = main.c security.c device.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-test.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@

service_agent_SOURCES = service-agent.c

service_agent_LDADD = @DBUS_LIBS@

auth_agent_SOURCES = auth-agent.c

auth_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 \
	service-record.dtd service-opp.xml dbus-api.txt

MAINTAINERCLEANFILES = Makefile.in