diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1994-05-27 05:00:24 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1994-05-27 05:00:24 +0000 |
commit | be22b15ae2ff8d7fe06b6e14fddf0c5b444a95da (patch) | |
tree | a18a706dffa5baf86a3b12bbfb4f81caa097f349 /lib/libtelnet/Makefile | |
parent | 2a27bd86e6002c871e3b5561a5334653bb222a77 (diff) | |
download | FreeBSD-src-be22b15ae2ff8d7fe06b6e14fddf0c5b444a95da.zip FreeBSD-src-be22b15ae2ff8d7fe06b6e14fddf0c5b444a95da.tar.gz |
BSD 4.4 Lite Lib Sources
Diffstat (limited to 'lib/libtelnet/Makefile')
-rw-r--r-- | lib/libtelnet/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/libtelnet/Makefile b/lib/libtelnet/Makefile new file mode 100644 index 0000000..495dd73 --- /dev/null +++ b/lib/libtelnet/Makefile @@ -0,0 +1,33 @@ +# @(#)Makefile 8.2 (Berkeley) 12/15/93 + +LIB= telnet +SRCS= auth.c encrypt.c genget.c getent.c misc.c +SRCS+= kerberos.c enc_des.c +#SRCS+= kerberos5.c +CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DHAS_CGETENT +CFLAGS+= -DKRB4 -DDES_ENCRYPTION -I/usr/include/kerberosIV + +# 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 */ |