diff options
author | assar <assar@FreeBSD.org> | 2001-12-17 01:33:20 +0000 |
---|---|---|
committer | assar <assar@FreeBSD.org> | 2001-12-17 01:33:20 +0000 |
commit | 51ff4e7d8ac9a1ad9158a7f595441d88dc01dd4b (patch) | |
tree | 8082eaaf4bc21cd8c9c00270feea627d675985cf /kerberos5 | |
parent | 3a6276ed89bada372c87aa7c47fada8209c421ec (diff) | |
download | FreeBSD-src-51ff4e7d8ac9a1ad9158a7f595441d88dc01dd4b.zip FreeBSD-src-51ff4e7d8ac9a1ad9158a7f595441d88dc01dd4b.tar.gz |
add krb4 libraries
Diffstat (limited to 'kerberos5')
-rw-r--r-- | kerberos5/lib/libtelnet/Makefile | 4 | ||||
-rw-r--r-- | kerberos5/libexec/telnetd/Makefile | 12 | ||||
-rw-r--r-- | kerberos5/usr.bin/telnet/Makefile | 12 |
3 files changed, 24 insertions, 4 deletions
diff --git a/kerberos5/lib/libtelnet/Makefile b/kerberos5/lib/libtelnet/Makefile index 3a6dfe1..d62356f 100644 --- a/kerberos5/lib/libtelnet/Makefile +++ b/kerberos5/lib/libtelnet/Makefile @@ -8,6 +8,10 @@ NOPIC= yes SRCS= genget.c getent.c misc.c encrypt.c auth.c \ enc_des.c sra.c pk.c +.if defined(MAKE_KERBEROS4) +SRCS+= kerberos.c +CFLAGS+= -DKRB4 -I${KRB4DIR}/lib/krb +.endif SRCS+= kerberos5.c #WARNS?= 2 diff --git a/kerberos5/libexec/telnetd/Makefile b/kerberos5/libexec/telnetd/Makefile index f44a63a..623cbfb 100644 --- a/kerberos5/libexec/telnetd/Makefile +++ b/kerberos5/libexec/telnetd/Makefile @@ -16,10 +16,18 @@ CFLAGS+= -DKRB5 WARNS?= 2 -DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} \ +DPADD= +LDADD= + +.if defined(MAKE_KERBEROS4) +DPADD+= ${LIBKRB} ${LIBCOM_ERR} +LDADD+= -lkrb -lcom_err +.endif + +DPADD+= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} \ ${LIBKRB5} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} \ ${LIBCRYPT} ${LIBPAM} -LDADD= -lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \ +LDADD+= -lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \ -L${KRB5OBJDIR} -lkrb5 -L${ASN1OBJDIR} -lasn1 \ -L${ROKENOBJDIR} -lroken -lcom_err \ -lcrypt ${MINUSLPAM} 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} |