summaryrefslogtreecommitdiff
path: root/zhm
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1994-11-12 12:57:34 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1994-11-12 12:57:34 +0000
commita2ecd57dc6cdaed15efaebb3ea516e5a3891c6e7 (patch)
tree2f138a52b98500345aaed249e1112fc773f748c1 /zhm
parent008c6e1185342bc765f78f008b57ee3eeaa07e37 (diff)
Need -lcompat for insque() and remque() under NetBSD; don't build with
-lhesiod unless specified.
Diffstat (limited to 'zhm')
-rw-r--r--zhm/Imakefile6
1 files changed, 5 insertions, 1 deletions
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))