summaryrefslogtreecommitdiffstats
path: root/libexec/telnetd
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-03-28 12:08:22 +0000
committerru <ru@FreeBSD.org>2001-03-28 12:08:22 +0000
commit98c6ecb383b916a560f33c7ea2a31eef6a9a408e (patch)
treee2334cdc0acdb67f74fc23b4d48794daac1dfb9b /libexec/telnetd
parent79cf991a6bd845fad54bd6a15892cb5aaf74b223 (diff)
downloadFreeBSD-src-98c6ecb383b916a560f33c7ea2a31eef6a9a408e.zip
FreeBSD-src-98c6ecb383b916a560f33c7ea2a31eef6a9a408e.tar.gz
Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness.
Approved by: markm
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 20acad9..f366f53 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>
OpenPOWER on IntegriCloud