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

if GLIB
noinst_PROGRAMS = bluetoothd bt.echod

bluetoothd_SOURCES = main.c

bluetoothd_LDADD = @GLIB_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a

bt_echod_SOURCES = echo.c

bt_echod_LDADD = @GLIB_LIBS@ @BLUEZ_LIBS@

AM_CFLAGS = @BLUEZ_CFLAGS@ @GLIB_CFLAGS@

INCLUDES = -I$(top_srcdir)/common

BUILT_SOURCES = service-agent-glue.h

CLEANFILES = $(BUILT_SOURCES)
endif

EXTRA_DIST = service-agent.xml

MAINTAINERCLEANFILES = Makefile.in

service-agent-glue.h: service-agent.xml
	$(DBUS_BINDING_TOOL) --prefix=service_agent --mode=glib-server --output=$@ $(srcdir)/$<