diff options
author | bapt <bapt@FreeBSD.org> | 2014-11-25 14:29:10 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-11-25 14:29:10 +0000 |
commit | 8d6c7a49a6d934aea5c5f8462780dbfda3749520 (patch) | |
tree | ddfef911600b923ca0abdbed4461a288b9249837 /usr.bin/telnet | |
parent | f28badddf72721ca05d713d86627fcde7866aaf9 (diff) | |
download | FreeBSD-src-8d6c7a49a6d934aea5c5f8462780dbfda3749520.zip FreeBSD-src-8d6c7a49a6d934aea5c5f8462780dbfda3749520.tar.gz |
Convert to usr.bin/ to LIBADD
Reduce overlinking
Diffstat (limited to 'usr.bin/telnet')
-rw-r--r-- | usr.bin/telnet/Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/usr.bin/telnet/Makefile b/usr.bin/telnet/Makefile index b88f8e1..a24a966 100644 --- a/usr.bin/telnet/Makefile +++ b/usr.bin/telnet/Makefile @@ -19,15 +19,11 @@ CFLAGS+= -DINET6 WARNS?= 2 -LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a - -DPADD= ${LIBTERMCAPW} ${LIBTELNET} -LDADD= -ltermcapw ${LIBTELNET} +LIBADD= telnet ncursesw .if !defined(RELEASE_CRUNCH) CFLAGS+= -DIPSEC -DPADD+= ${LIBIPSEC} -LDADD+= -lipsec +LIBADD+= ipsec .else .PATH: ${TELNETDIR}/libtelnet SRCS+= genget.c getent.c misc.c @@ -35,16 +31,14 @@ CFLAGS+= -DHAS_CGETENT .endif .if ${MK_OPENSSL} != "no" -SRCS+= authenc.c +SRCS+= authenc.c CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DIPSEC -DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM} -LDADD+= -lmp -lcrypto -lcrypt -lipsec ${MINUSLPAM} +LIBADD+= mp crypto ipsec pam .endif .if ${MK_KERBEROS_SUPPORT} != "no" CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write -DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} -LDADD+= -lkrb5 -lhx509 -lasn1 -lcom_err -lroken +LIBADD+= krb5 roken .endif .include <bsd.prog.mk> |