From a2ecd57dc6cdaed15efaebb3ea516e5a3891c6e7 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sat, 12 Nov 1994 12:57:34 +0000 Subject: Need -lcompat for insque() and remque() under NetBSD; don't build with -lhesiod unless specified. --- zhm/Imakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'zhm') diff --git a/zhm/Imakefile b/zhm/Imakefile index 02400b7..f008e04 100644 --- a/zhm/Imakefile +++ b/zhm/Imakefile @@ -13,11 +13,15 @@ SOBJS= ../clients/syslogd/syslog.o SINCLUDE= -I../clients/syslogd #endif +#ifdef __NetBSD__ +OSLIBS=-lcompat /* for insque() */ +#endif + SRCS= zhm.c zhm_server.c zhm_client.c queue.c OBJS= zhm.o zhm_server.o zhm_client.o queue.o XDEFS= $(SINCLUDE) -DPIDFILE=\"$(ZPIDDIR)/zhm.pid\" -SimpleProgram(zhm,$(OBJS) $(SOBJS) $(ZLIB),$(ZLIBS) $(LIB_HES),$(ATHRETCDIR)) +SimpleProgram(zhm,$(OBJS) $(SOBJS) $(ZLIB),$(ZLIBS) $(OSLIBS),$(ATHRETCDIR)) install_man(zhm.8,zhm.8) create_depend($(SRCS)) -- cgit v1.2.3