summaryrefslogtreecommitdiffstats
path: root/secure/usr.bin
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-11-30 21:10:58 +0000
committermarkm <markm@FreeBSD.org>2001-11-30 21:10:58 +0000
commit7f33af3e59446f387cb44615881c175d92320581 (patch)
treee1cbbe5dfa994edf9086841d6eb68fe87b446aca /secure/usr.bin
parent4be6f18d14314b6a5e0e878e13a1fe937886cf0f (diff)
downloadFreeBSD-src-7f33af3e59446f387cb44615881c175d92320581.zip
FreeBSD-src-7f33af3e59446f387cb44615881c175d92320581.tar.gz
Clean up makefiles, and turn on WARNS=2. Take into account the telnet
#if cleanup.
Diffstat (limited to 'secure/usr.bin')
-rw-r--r--secure/usr.bin/telnet/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/secure/usr.bin/telnet/Makefile b/secure/usr.bin/telnet/Makefile
index dd900b7d..74cf075 100644
--- a/secure/usr.bin/telnet/Makefile
+++ b/secure/usr.bin/telnet/Makefile
@@ -2,17 +2,19 @@
PROG= telnet
+SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c \
+ telnet.c terminal.c utilities.c
+
CFLAGS+= -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE \
-DENCRYPTION -DAUTHENTICATION -DIPSEC -DINET6 \
- -I${TELNETDIR}
+ -I${TELNETDIR} -I${TELNETDIR}/libtelnet/
-SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c \
- telnet.c terminal.c tn3270.c utilities.c
+WARNS?= 2
-DPADD= ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} \
- ${LIBIPSEC} ${LIBPAM}
-LDADD= -ltermcap ${LIBTELNET} -lmp -lcrypto -lcrypt \
- -lipsec ${MINUSLPAM}
+DPADD= ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} \
+ ${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM}
+LDADD= -ltermcap ${LIBTELNET} -lmp \
+ -lcrypto -lcrypt -lipsec ${MINUSLPAM}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud