From 3aed3fb33ab7d79275c216e93989cad01981565e Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Mon, 12 Oct 1998 16:57:53 +0000 Subject: [PATCH] Added support for tklogd and tsyslogd which are testing environments. --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c80256a..5b39686 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ DEB = all: syslogd klogd -test: syslog_tst ksym oops_test +test: syslog_tst ksym oops_test tsyslogd install: install_man install_exec @@ -69,6 +69,12 @@ klogd: klogd.o syslog.o pidfile.o ksym.o ksym_mod.o syslog_tst: syslog_tst.o ${CC} ${LDFLAGS} -o syslog_tst syslog_tst.o +tsyslogd: syslogd.c version.h + $(CC) $(CFLAGS) -g -DTESTING $(SYSLOGD_FLAGS) -o tsyslogd syslogd.c + +tklogd: klogd.c syslog.c ksym.c ksym_mod.c version.h + $(CC) $(CFLAGS) -g -DTESTING $(KLOGD_FLAGS) -o tklogd klogd.c syslog.c ksym.c ksym_mod.c + syslogd.o: syslogd.c version.h ${CC} ${CFLAGS} ${SYSLOGD_FLAGS} $(DEB) -c syslogd.c @@ -103,7 +109,7 @@ clean: rm -f *.o *.log *~ *.orig clobber: clean - rm -f syslogd klogd ksym syslog_tst oops_test TAGS + rm -f syslogd klogd ksym syslog_tst oops_test TAGS tsyslogd install_exec: syslogd klogd ${INSTALL} -m 500 -s syslogd ${BINDIR}/syslogd