summaryrefslogtreecommitdiffstats
path: root/daemon/Makefile.am
blob: 73f11f3d53c62bb1eddbe79693d63c445d91ae62 (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

if CONFIGFILES
confdir = $(sysconfdir)/bluetooth

conf_DATA = echo.service
endif

servicedir = $(libdir)/bluetooth

noinst_PROGRAMS = bluetoothd

service_PROGRAMS = bluetoothd-service-echo

bluetoothd_SOURCES = main.c system.h \
	manager.h manager.c database.h database.c \
	adapter.h adapter.c service.h service.c

bluetoothd_LDADD = \
	$(top_builddir)/common/libhelper.a \
	$(top_builddir)/sdpd/libsdpserver.a \
	@GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@

bluetoothd_service_echo_SOURCES = echo.c

bluetoothd_service_echo_LDADD = \
	$(top_builddir)/common/libhelper.a \
	@GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@

if EXPAT
bluetoothd_LDADD += -lexpat
endif

AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@

INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/sdpd

EXTRA_DIST = echo.service

MAINTAINERCLEANFILES = Makefile.in