summaryrefslogtreecommitdiffstats
path: root/input/Makefile.am
blob: 71beb94e9c2c017b817cb5c8bb604640cba88de6 (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

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

dbus_DATA = bluetooth-input.conf
endif

servicedir = $(libdir)/bluetooth

if GLIB
glib_cflags = @GLIB_CFLAGS@
glib_ldadd  = @GLIB_LIBS@
else
glib_cflags =
glib_ldadd  =
endif

service_PROGRAMS = bluetoothd-service-input

bluetoothd_service_input_SOURCES = \
		main.c input-service.h input-service.c

LDADD = $(top_builddir)/common/libhelper.a $(glib_ldadd) \
	@DBUS_LIBS@ @BLUEZ_LIBS@

AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ $(glib_cflags)

INCLUDES = -I$(top_srcdir)/common

EXTRA_DIST = bluetooth-input.conf

MAINTAINERCLEANFILES = Makefile.in