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

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

noinst_PROGRAMS = bluetoothd bluetoothd_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 = $(glib_ldadd) @DBUS_LIBS@ @BLUEZ_LIBS@ \
			$(top_builddir)/sdpd/libsdpserver.a \
			$(top_builddir)/common/libhelper.a

bluetoothd_echo_SOURCES = echo.c

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

if EXPAT
bluetoothd_LDADD += -lexpat
endif

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

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

MAINTAINERCLEANFILES = Makefile.in