| |
| if ECHOSERVICE |
| if CONFIGFILES |
| confdir = $(sysconfdir)/bluetooth |
| |
| conf_DATA = echo.service |
| endif |
| |
| servicedir = $(libdir)/bluetooth |
| |
| service_PROGRAMS = bluetoothd-service-echo |
| |
| bluetoothd_service_echo_SOURCES = echo.c |
| |
| bluetoothd_service_echo_LDADD = \ |
| $(top_builddir)/common/libhelper.a \ |
| @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ |
| endif |
| |
| if CONFIGFILES |
| dbusdir = $(sysconfdir)/dbus-1/system.d |
| |
| dbus_DATA = bluetooth.conf |
| endif |
| |
| noinst_PROGRAMS = bluetoothd passkey-agent auth-agent |
| |
| bluetoothd_SOURCES = main.c system.h \ |
| manager.h manager.c database.h database.c \ |
| adapter.h adapter.c service.h service.c |
| |
| bluetoothd_LDADD = \ |
| $(top_builddir)/common/libhelper.a \ |
| $(top_builddir)/sdpd/libsdpserver.a \ |
| @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ |
| |
| if EXPAT |
| bluetoothd_LDADD += -lexpat |
| endif |
| |
| passkey_agent_SOURCES = passkey-agent.c |
| |
| passkey_agent_LDADD = @DBUS_LIBS@ |
| |
| auth_agent_SOURCES = auth-agent.c |
| |
| auth_agent_LDADD = @DBUS_LIBS@ |
| |
| AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ |
| |
| INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/sdpd |
| |
| EXTRA_DIST = bluetooth.conf echo.service \ |
| test-manager test-database hal-namespace.txt |
| |
| MAINTAINERCLEANFILES = Makefile.in |