summaryrefslogtreecommitdiff
path: root/console-client/Makefile
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-07-26 18:52:43 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-08-28 23:30:50 +0200
commit4f6fe9c7ebc571602ab74858a8fda40d6d7fd908 (patch)
treeb03a9995281a48fe25d2ac48e9efa5b9552dfe0f /console-client/Makefile
parent9a73a3142aebe0bfe910a8cf5455d6739d89899d (diff)
console-client: add daemonizing support
This patch adds daemonizing support using libdaemon. * console-client/console.c (daemonize): New variable. (options): Add --daemonize argument. (parse_opt): Handle --daemonize argument. (daemon_error): New error(3) like macro. (main): Daemonize. * console-client/Makefile: Use libdaemon specific build flags.
Diffstat (limited to 'console-client/Makefile')
-rw-r--r--console-client/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/console-client/Makefile b/console-client/Makefile
index 69a7e371..65a04e0d 100644
--- a/console-client/Makefile
+++ b/console-client/Makefile
@@ -37,11 +37,11 @@ SRCS = $(CONSOLE_SRCS) \
VPATH += $(srcdir)/xkb
OBJS = $(addsuffix .o,$(basename $(notdir $(SRCS)))) kdioctlServer.o
HURDLIBS = cons ports netfs fshelp iohelp ihash shouldbeinlibc
-LDLIBS = -ldl -lpthread
+LDLIBS = -ldl -lpthread $(libdaemon_LIBS)
module-dir = $(libdir)/hurd/console
console-LDFLAGS = -Wl,-E
-CPPFLAGS += -I$(CURDIR)/xkb -I$(srcdir)/xkb
+CPPFLAGS += -I$(CURDIR)/xkb -I$(srcdir)/xkb $(libdaemon_CFLAGS)
LFLAGS = -i
YFLAGS = -by
XKB_DATA_FILES = keymap/hurd types/hurd symbols/hurd