summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Santa Cruz <Diego.SantaCruz@spinetix.com>2020-09-09 16:16:49 +0000
committerTobias Klauser <tobias.klauser@gmail.com>2020-09-10 11:53:38 +0200
commite496036b592c7c6d1bc419b5683a6a25bf46e193 (patch)
treee944870ae085aa99ce785f9fcfd9c0f6945f8864 /Makefile
parenta06a6349436ccddb2909715f495b53fe9a0f8969 (diff)
llmnrd: add command line option to log to syslog instead of stdio
When llmnrd daemonizes stdout and stderr are redirected to /dev/null and all logs are lost. This adds a cli option -s / --syslog to send the logs to syslog instead. Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 27492b1..b160b78 100644
--- a/Makefile
+++ b/Makefile
@@ -6,13 +6,13 @@ VERSION = 0.6
# llmnrd binary
D_P = llmnrd
-D_OBJS = llmnr.o iface.o socket.o util.o llmnrd.o
+D_OBJS = llmnr.o iface.o socket.o util.o log.o llmnrd.o
D_LIBS =
D_MAN = $(D_P).8
# llmnr-query binary
Q_P = llmnr-query
-Q_OBJS = util.o llmnr-query.o
+Q_OBJS = util.o log.o llmnr-query.o
Q_LIBS =
Q_MAN = $(Q_P).1