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

if GLIB
noinst_PROGRAMS = bluetoothd bt.echod

bluetoothd_SOURCES = main.c

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

bt_echod_SOURCES = echo.c

bt_echod_LDADD = @GLIB_LIBS@ @BLUEZ_LIBS@

AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@

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

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)/$<