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

noinst_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