aboutsummaryrefslogtreecommitdiff
path: root/eBones/lib
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1996-03-11 16:17:58 +0000
committerMark Murray <markm@FreeBSD.org>1996-03-11 16:17:58 +0000
commit6dd8a382021a379669e762016fd8e4a89e167389 (patch)
tree62ca0d4855f160ff9bb61380a0662dd89c8218aa /eBones/lib
parentbe24e9e8fa3f637cfda9d3304ae601ea2d8c6646 (diff)
downloadsrc-6dd8a382021a379669e762016fd8e4a89e167389.tar.gz
src-6dd8a382021a379669e762016fd8e4a89e167389.zip
Big clean-up job. Remove ancient and never-to-be used stuff.
The look much more like BSD Makefiles now.
Notes
Notes: svn path=/head/; revision=14548
Diffstat (limited to 'eBones/lib')
-rw-r--r--eBones/lib/libtelnet/Makefile35
1 files changed, 3 insertions, 32 deletions
diff --git a/eBones/lib/libtelnet/Makefile b/eBones/lib/libtelnet/Makefile
index d8df7be81ef3..94f75499080e 100644
--- a/eBones/lib/libtelnet/Makefile
+++ b/eBones/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