diff options
author | Szymon Janc <szymon.janc@codecoup.pl> | 2018-01-19 16:23:20 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@codecoup.pl> | 2018-04-24 10:41:47 +0200 |
commit | 07384fa47a27485e1c7294f4372be4068d3a6310 (patch) | |
tree | d8eb7c38620fa12482cf393abee645f2be63f364 /Makefile.tools | |
parent | 37a30b5435a45c3f8e233309fc70fc7de92b2e76 (diff) | |
download | bluez-07384fa47a27485e1c7294f4372be4068d3a6310.tar.gz |
tools: Add initial code for btmon-logger
This is intended for use for automated logging or unatrended systems.
It doesn't contain any packet decoding functionality which results
in much smaller binary.
Diffstat (limited to 'Makefile.tools')
-rw-r--r-- | Makefile.tools | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile.tools b/Makefile.tools index f7ab77de1..59f307624 100644 --- a/Makefile.tools +++ b/Makefile.tools @@ -66,6 +66,23 @@ monitor_btmon_LDADD = lib/libbluetooth-internal.la \ src/libshared-mainloop.la @UDEV_LIBS@ endif +if LOGGER +libexec_PROGRAMS += tools/btmon-logger + +tools_btmon_logger_SOURCES = tools/btmon-logger.c src/systemd.c src/systemd.h \ + lib/monitor.h +tools_btmon_logger_LDADD = src/libshared-mainloop.la +tools_btmon_logger_DEPENDENCIES = src/libshared-mainloop.la \ + tools/bluetooth-logger.service + +if SYSTEMD +systemdsystemunit_DATA += tools/bluetooth-logger.service +endif +endif + +CLEANFILES += tools/bluetooth-logger.service +EXTRA_DIST += tools/bluetooth-logger.service.in + if TESTING noinst_PROGRAMS += emulator/btvirt emulator/b1ee emulator/hfp \ peripheral/btsensor tools/3dsp \ |