summaryrefslogtreecommitdiffstats
path: root/secure/lib
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1996-03-11 16:17:58 +0000
committermarkm <markm@FreeBSD.org>1996-03-11 16:17:58 +0000
commit135587ee9741d70e874e48d6ba3467827d2bfc90 (patch)
tree62ca0d4855f160ff9bb61380a0662dd89c8218aa /secure/lib
parenta30b0a83b7ea8a0a022098b93d8cb4522d0b4cae (diff)
downloadFreeBSD-src-135587ee9741d70e874e48d6ba3467827d2bfc90.zip
FreeBSD-src-135587ee9741d70e874e48d6ba3467827d2bfc90.tar.gz
Big clean-up job. Remove ancient and never-to-be used stuff.
The look much more like BSD Makefiles now.
Diffstat (limited to 'secure/lib')
-rw-r--r--secure/lib/libtelnet/Makefile35
1 files changed, 3 insertions, 32 deletions
diff --git a/secure/lib/libtelnet/Makefile b/secure/lib/libtelnet/Makefile
index d8df7be..94f7549 100644
--- a/secure/lib/libtelnet/Makefile
+++ b/secure/lib/libtelnet/Makefile
@@ -3,16 +3,11 @@
LIB= telnet
SRCS= encrypt.c genget.c getent.c misc.c
-CFLAGS+= -DHAS_CGETENT
-.if defined(MAKE_EBONES)
-
-CFLAGS+= -DENCRYPTION
+CFLAGS+= -DHAS_CGETENT -DENCRYPTION
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES)
-CFLAGS+= -DDES_ENCRYPTION -DAUTHENTICATION
-CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
-# KRB4_ENCPWD not yet defined
+CFLAGS+= -DDES_ENCRYPTION -DAUTHENTICATION -DKRB4 -I/usr/include/kerberosIV
SRCS+= auth.c kerberos.c enc_des.c
LDADD+= -ldes -lkrb
DPADD+= ${LIBDES} ${LIBKRB}
@@ -21,32 +16,8 @@ DPADD+= ${LIBDES} ${LIBKRB}
# Not Yet
#SRCS += spx.c rsaencpwd.c read_password.c
+# KRB4_ENCPWD not yet defined
# Used only in krb4encpwd.c and rsaencpwd.c, not yet active
#LDADD+= -ldescrypt
-.endif /* ENCRYPTION */
-
-# 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:
-.if defined(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
- @echo "Encryption code already removed."
-.endif
OpenPOWER on IntegriCloud