diff options
Diffstat (limited to 'kerberos5/usr.bin')
-rw-r--r-- | kerberos5/usr.bin/telnet/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/kerberos5/usr.bin/telnet/Makefile b/kerberos5/usr.bin/telnet/Makefile index 03c0fa9..79f7f11 100644 --- a/kerberos5/usr.bin/telnet/Makefile +++ b/kerberos5/usr.bin/telnet/Makefile @@ -13,10 +13,18 @@ CFLAGS+= -DKRB5 WARNS?= 2 -DPADD= ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} \ +DPADD= +LDADD= + +.if defined(MAKE_KERBEROS4) +DPADD+= ${LIBKRB} ${LIBCOM_ERR} +LDADD+= -lkrb -lcom_err +.endif + +DPADD+= ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} \ ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} \ ${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM} -LDADD= -ltermcap ${LIBTELNET} -lmp \ +LDADD+= -ltermcap ${LIBTELNET} -lmp \ -L${KRB5OBJDIR} -lkrb5 -L${ASN1OBJDIR} -lasn1 -lcom_err \ -L${ROKENOBJDIR} -lroken \ -lcrypto -lcrypt -lipsec ${MINUSLPAM} |