diff options
author | markm <markm@FreeBSD.org> | 1996-03-11 16:17:58 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 1996-03-11 16:17:58 +0000 |
commit | 135587ee9741d70e874e48d6ba3467827d2bfc90 (patch) | |
tree | 62ca0d4855f160ff9bb61380a0662dd89c8218aa /secure/libexec/telnetd | |
parent | a30b0a83b7ea8a0a022098b93d8cb4522d0b4cae (diff) | |
download | FreeBSD-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/libexec/telnetd')
-rw-r--r-- | secure/libexec/telnetd/Makefile | 43 |
1 files changed, 4 insertions, 39 deletions
diff --git a/secure/libexec/telnetd/Makefile b/secure/libexec/telnetd/Makefile index 002dc3f..c0c82ee 100644 --- a/secure/libexec/telnetd/Makefile +++ b/secure/libexec/telnetd/Makefile @@ -1,4 +1,5 @@ # @(#)Makefile 8.2 (Berkeley) 12/15/93 +# $Id$ # Do not define -DKLUDGELINEMODE, as it does not interact well with many # telnet implementations. @@ -12,52 +13,16 @@ SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \ DPADD= ${TELNETOBJDIR}/libtelnet.a ${LIBUTIL} ${LIBTERMCAP} LDADD= -L${TELNETOBJDIR} -lutil -ltermcap -ltelnet -CFLAGS+=-DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -CFLAGS+=-I${.CURDIR}/../../lib +CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK +CFLAGS+= -DENCRYPTION -I${.CURDIR}/../../lib -#ifdef ENCRYPTION - -CFLAGS += -DENCRYPTION - -.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES) \ - || defined(MAKE_KERBEROS)) +.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES)) CFLAGS+=-DAUTHENTICATION LDADD+= -ldes -lkrb DPADD+= ${LIBDES} ${LIBKRB} .endif -#.if exists(${DESTDIR}/usr/lib/libkrb5.a) && (defined(MAKE_EBONES) \ -# || defined(MAKE_KERBEROS)) -#CFLAGS+=-DAUTHENTICATION -#LDADD+= -ldes -lkrb5 -#DPADD+= ${LIBDES} -#.endif - # Used only in krb4encpwd.c and rsaencpwd.c (libtelnet), not yet active #LDADD+= -ldescrypt -#endif /* ENCRYPTION */ - -# These are the sources that have encryption stuff in them. -CRYPT_SRC= authenc.c ext.h state.c telnetd.c termstat.c -CRYPT_SRC+= utility.c Makefile -NOCRYPT_DIR=${.CURDIR}/Nocrypt - .include <bsd.prog.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 */ |