• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2if CONFIGFILES
3dbusdir = $(sysconfdir)/dbus-1/system.d
4
5dbus_DATA = bluetooth.conf
6
7confdir = $(sysconfdir)/bluetooth
8
9conf_DATA = main.conf
10
11statedir = $(localstatedir)/lib/bluetooth
12
13state_DATA =
14endif
15
16sbin_PROGRAMS = bluetoothd
17
18bluetoothd_SOURCES = main.c security.c hcid.h sdpd.h \
19	sdpd-server.c sdpd-request.c sdpd-service.c sdpd-database.c \
20	plugin.h plugin.c storage.h storage.c agent.h agent.c rfkill.c \
21	error.h error.c manager.h manager.c adapter.h adapter.c \
22	device.h device.c dbus-common.c dbus-common.h dbus-hci.h dbus-hci.c
23
24bluetoothd_LDADD = $(top_builddir)/common/libhelper.a \
25			$(top_builddir)/plugins/libbuiltin.la \
26			@GDBUS_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ -ldl
27
28bluetoothd_LDFLAGS = -Wl,--export-dynamic
29
30if MAINTAINER_MODE
31plugindir = $(abs_top_srcdir)/plugins
32else
33plugindir = $(libdir)/bluetooth/plugins
34endif
35
36AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ \
37						-DPLUGINDIR=\""$(plugindir)"\"
38
39INCLUDES = -I$(top_srcdir)/common -I$(top_builddir)/plugins
40
41if MANPAGES
42man_MANS = bluetoothd.8
43endif
44
45EXTRA_DIST = bluetooth.conf bluetoothd.8 main.conf
46
47MAINTAINERCLEANFILES = Makefile.in
48