diff options
Diffstat (limited to 'serial')
-rw-r--r-- | serial/Makefile.am | 14 | ||||
-rw-r--r-- | serial/serial.service | 5 |
2 files changed, 17 insertions, 2 deletions
diff --git a/serial/Makefile.am b/serial/Makefile.am index 24506088..240429a6 100644 --- a/serial/Makefile.am +++ b/serial/Makefile.am @@ -1,15 +1,25 @@ -noinst_PROGRAMS = bluetoothd-service-serial +if SERIALSERVICE +if CONFIGFILES +confdir = $(sysconfdir)/bluetooth + +conf_DATA = serial.service +endif + +servicedir = $(libdir)/bluetooth + +service_PROGRAMS = bluetoothd-service-serial bluetoothd_service_serial_SOURCES = main.c manager.h manager.c LDADD = $(top_builddir)/common/libhelper.a \ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ +endif AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ INCLUDES = -I$(top_srcdir)/common -EXTRA_DIST = serial-api.txt +EXTRA_DIST = serial.service serial-api.txt MAINTAINERCLEANFILES = Makefile.in diff --git a/serial/serial.service b/serial/serial.service new file mode 100644 index 00000000..926e5064 --- /dev/null +++ b/serial/serial.service @@ -0,0 +1,5 @@ +[Bluetooth Service] +Identifier=serial +Name=Serial service +Description=Bluetooth Serial Port service +Autostart=false |