diff options
author | Theodore Tso <tytso@mit.edu> | 1994-06-10 18:33:58 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1994-06-10 18:33:58 +0000 |
commit | 5ef43beff03aa2cd77c7248356b9cb2ae17137a1 (patch) | |
tree | f9077fa94dce77e857c0a690f9af55954703a131 /src/appl/telnet/libtelnet/Makefile.4.4 | |
parent | 62d4c19ae4464d001d5736b813d02286f2fe32ce (diff) | |
download | krb5-5ef43beff03aa2cd77c7248356b9cb2ae17137a1.tar.gz krb5-5ef43beff03aa2cd77c7248356b9cb2ae17137a1.tar.xz krb5-5ef43beff03aa2cd77c7248356b9cb2ae17137a1.zip |
Updated telnet to be the 94.02.07 version, with some bugfixes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3704 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/telnet/libtelnet/Makefile.4.4')
-rw-r--r-- | src/appl/telnet/libtelnet/Makefile.4.4 | 36 |
1 files changed, 25 insertions, 11 deletions
diff --git a/src/appl/telnet/libtelnet/Makefile.4.4 b/src/appl/telnet/libtelnet/Makefile.4.4 index 47f7022c6..495dd73c5 100644 --- a/src/appl/telnet/libtelnet/Makefile.4.4 +++ b/src/appl/telnet/libtelnet/Makefile.4.4 @@ -1,19 +1,33 @@ -# -# Copyright (c) 1991 The Regents of the University of California. -# All rights reserved. -# -# %sccs.include.redist.sh -# -# @(#)Makefile 5.3 (Berkeley) 3/22/91 -# +# @(#)Makefile 8.2 (Berkeley) 12/15/93 LIB= telnet -SRCS= auth.c encrypt.c genget.c getent.c gettytab.c misc.c +SRCS= auth.c encrypt.c genget.c getent.c misc.c SRCS+= kerberos.c enc_des.c #SRCS+= kerberos5.c -CFLAGS+= -DENCRYPTION -DAUTHENTICATION +CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DHAS_CGETENT CFLAGS+= -DKRB4 -DDES_ENCRYPTION -I/usr/include/kerberosIV -.PATH: ${.CURDIR}/../../libexec/getty +# These are the sources that have encryption stuff in them. +CRYPT_SRC= auth.c enc-proto.h enc_des.c encrypt.c +CRYPT_SRC+= encrypt.h kerberos.c kerberos5.c krb4encpwd.c +CRYPT_SRC+= misc.c spx.c Makefile +NOCRYPT_DIR=${.CURDIR}/Nocrypt + .include <bsd.lib.mk> +nocrypt: +#ifdef ENCRYPTION + @for i in ${CRYPT_SRC}; do \ + if [ ! -d ${NOCRYPT_DIR} ]; then \ + echo Creating subdirectory ${NOCRYPT_DIR}; \ + mkdir ${NOCRYPT_DIR}; \ + fi; \ + echo ${NOCRYPT_DIR}/$$i; \ + unifdef -UENCRYPTION ${.CURDIR}/$$i | \ + sed "s/ || defined(ENCRYPTION)//" > ${NOCRYPT_DIR}/$$i; \ + done + +placeholder: +#else /* ENCRYPTION */ + @echo "Encryption code already removed." +#endif /* ENCRYPTION */ |