add krb4 libraries

This commit is contained in:
Assar Westerlund 2001-12-17 01:33:20 +00:00
parent 9b8f90ce35
commit 515d0f1f97
3 changed files with 24 additions and 4 deletions

View File

@ -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

View File

@ -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}

View File

@ -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}