aboutsummaryrefslogtreecommitdiff
path: root/libexec/telnetd/Makefile
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-11-30 21:34:51 +0000
committerMark Murray <markm@FreeBSD.org>2001-11-30 21:34:51 +0000
commitb3c1c587b64b09f5acaec7fd72efae50bb8d633a (patch)
tree3585eef952fedaf1f5d29ce536ee06a70ec21383 /libexec/telnetd/Makefile
parentd912c694ee00de5ea0f46743295a0fc603cab562 (diff)
Notes
Diffstat (limited to 'libexec/telnetd/Makefile')
-rw-r--r--libexec/telnetd/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile
index b6ac1e029dbb..0c5b23ed7eeb 100644
--- a/libexec/telnetd/Makefile
+++ b/libexec/telnetd/Makefile
@@ -6,12 +6,14 @@
PROG= telnetd
MAN= telnetd.8
+SRCS= global.c slc.c state.c sys_term.c telnetd.c \
+ termstat.c utility.c
+
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
-DENV_HACK \
-I${.CURDIR}/../../lib -DINET6
-SRCS= global.c slc.c state.c sys_term.c telnetd.c \
- termstat.c utility.c
+WARNS?= 2
.if exists(${.OBJDIR}/../../lib/libtelnet)
LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
@@ -22,4 +24,13 @@ LIBTELNET= ${.CURDIR}/../../lib/libtelnet/libtelnet.a
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
LDADD= -lutil -ltermcap ${LIBTELNET}
+unifdef:
+ -cd ${.CURDIR} ; \
+ ( for i in *.[ch] ; do \
+ unifdef -UAUTHENTICATION -UENCRYPTION \
+ ${.CURDIR}/../../crypto/telnet/telnetd/$$i \
+ > ${.CURDIR}/$$i ; \
+ echo $$i ; \
+ done )
+
.include <bsd.prog.mk>