Sense MAKE_EBONES, DESTDIR

SRCS cleanup
DPADD cleanup
This commit is contained in:
Andrey A. Chernov 1996-03-09 13:36:34 +00:00
parent f6d9ce2bae
commit a0e2ca089a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14438
2 changed files with 44 additions and 30 deletions

View File

@ -1,31 +1,38 @@
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
# $Id: Makefile,v 1.10 1995/09/14 21:29:05 gibbs Exp $
# $Id: Makefile,v 1.11 1995/10/11 00:03:59 gibbs Exp $
LIB= telnet
SRCS= auth.c encrypt.c genget.c getent.c misc.c
SRCS+= enc_des.c
SRCS+= spx.c rsaencpwd.c read_password.c
SRCS= encrypt.c genget.c getent.c misc.c
CFLAGS+= -DHAS_CGETENT
#ifdef ENCRYPTION
CFLAGS+= -DENCRYPTION -DAUTHENTICATION
CFLAGS+= -DENCRYPTION
.if exists(/usr/lib/libkrb.a)
CFLAGS+= -DKRB4 -I/usr/include/kerberosIV -DDES_ENCRYPTION
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES) \
|| defined(MAKE_KERBEROS))
CFLAGS+= -DDES_ENCRYPTION -DAUTHENTICATION
CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
# KRB4_ENCPWD not yet defined
#CFLAGS+= -DKRB4_ENCPWD
SRCS+= kerberos.c
SRCS+= auth.c kerberos.c enc_des.c
# KRB4_ENCPWD not yet defined
#SRCS+= krb4encpwd.c
LDADD+= -ldes -lkrb
#SRCS+= krb4encpwd.c read_password.c
LDADD+= -des -lkrb
DPADD+= ${LIBDES} ${LIBKRB}
.endif
.if exists(/usr/lib/libkrb5.a)
CFLAGS+= -DKRB5 -DFORWARD -DDES_ENCRYPTION
SRCS+= kerberos5.c forward.c
LDADD+= -ldes -lkrb5
.endif
#.if exists(${DESTDIR}/usr/lib/libkrb5.a) && (defined(MAKE_EBONES) \
# || defined(MAKE_KERBEROS))
#CFLAGS+= -DDES_ENCRYPTION -DAUTHENTICATION
#CFLAGS+= -DKRB5 -DFORWARD
#SRCS+= auth.c kerberos5.c forward.c enc_des.c
#LDADD+= -ldes -lkrb5
#DPADD+= ${LIBDES}
#.endif
# Not Yet
#SRCS += spx.c rsaencpwd.c read_password.c
# Used only in krb4encpwd.c and rsaencpwd.c, not yet active
#LDADD+= -ldescrypt

View File

@ -1,31 +1,38 @@
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
# $Id: Makefile,v 1.10 1995/09/14 21:29:05 gibbs Exp $
# $Id: Makefile,v 1.11 1995/10/11 00:03:59 gibbs Exp $
LIB= telnet
SRCS= auth.c encrypt.c genget.c getent.c misc.c
SRCS+= enc_des.c
SRCS+= spx.c rsaencpwd.c read_password.c
SRCS= encrypt.c genget.c getent.c misc.c
CFLAGS+= -DHAS_CGETENT
#ifdef ENCRYPTION
CFLAGS+= -DENCRYPTION -DAUTHENTICATION
CFLAGS+= -DENCRYPTION
.if exists(/usr/lib/libkrb.a)
CFLAGS+= -DKRB4 -I/usr/include/kerberosIV -DDES_ENCRYPTION
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES) \
|| defined(MAKE_KERBEROS))
CFLAGS+= -DDES_ENCRYPTION -DAUTHENTICATION
CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
# KRB4_ENCPWD not yet defined
#CFLAGS+= -DKRB4_ENCPWD
SRCS+= kerberos.c
SRCS+= auth.c kerberos.c enc_des.c
# KRB4_ENCPWD not yet defined
#SRCS+= krb4encpwd.c
LDADD+= -ldes -lkrb
#SRCS+= krb4encpwd.c read_password.c
LDADD+= -des -lkrb
DPADD+= ${LIBDES} ${LIBKRB}
.endif
.if exists(/usr/lib/libkrb5.a)
CFLAGS+= -DKRB5 -DFORWARD -DDES_ENCRYPTION
SRCS+= kerberos5.c forward.c
LDADD+= -ldes -lkrb5
.endif
#.if exists(${DESTDIR}/usr/lib/libkrb5.a) && (defined(MAKE_EBONES) \
# || defined(MAKE_KERBEROS))
#CFLAGS+= -DDES_ENCRYPTION -DAUTHENTICATION
#CFLAGS+= -DKRB5 -DFORWARD
#SRCS+= auth.c kerberos5.c forward.c enc_des.c
#LDADD+= -ldes -lkrb5
#DPADD+= ${LIBDES}
#.endif
# Not Yet
#SRCS += spx.c rsaencpwd.c read_password.c
# Used only in krb4encpwd.c and rsaencpwd.c, not yet active
#LDADD+= -ldescrypt