aboutsummaryrefslogtreecommitdiff
path: root/libexec/telnetd
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-03-28 12:08:22 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-03-28 12:08:22 +0000
commit4ecbb303465d9a56a783068c2bcd2cf6255b6d4f (patch)
tree76b10b0143fafad620c24bc602b75b051186f1c9 /libexec/telnetd
parent1005a129e5ff4af4709d281023e8a101a28fcb82 (diff)
Notes
Diffstat (limited to 'libexec/telnetd')
-rw-r--r--libexec/telnetd/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile
index 20acad94933a4..f366f5360725e 100644
--- a/libexec/telnetd/Makefile
+++ b/libexec/telnetd/Makefile
@@ -9,8 +9,15 @@ CFLAGS+=-I${.CURDIR}/../../lib
CFLAGS+=-DINET6
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
termstat.c utility.c
+
+.if exists(${.OBJDIR}/../../lib/libtelnet)
+LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
+.else
+LIBTELNET= ${.CURDIR}/../../lib/libtelnet/libtelnet.a
+.endif
+
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
-LDADD= -lutil -ltermcap -ltelnet
+LDADD= -lutil -ltermcap ${LIBTELNET}
MAN= telnetd.8
.include <bsd.prog.mk>