diff options
author | ache <ache@FreeBSD.org> | 1996-03-09 13:36:34 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-03-09 13:36:34 +0000 |
commit | 14fe133184165583e4cf0402730b51e562aba465 (patch) | |
tree | 14b7061fc809308b81673e0d8193d707c85c1901 | |
parent | beb2bbfb7ab03630a9b297e2ca927db8068a590f (diff) | |
download | FreeBSD-src-14fe133184165583e4cf0402730b51e562aba465.zip FreeBSD-src-14fe133184165583e4cf0402730b51e562aba465.tar.gz |
Sense MAKE_EBONES, DESTDIR
SRCS cleanup
DPADD cleanup
-rw-r--r-- | eBones/lib/libtelnet/Makefile | 37 | ||||
-rw-r--r-- | secure/lib/libtelnet/Makefile | 37 |
2 files changed, 44 insertions, 30 deletions
diff --git a/eBones/lib/libtelnet/Makefile b/eBones/lib/libtelnet/Makefile index 013f3be..5bfc944 100644 --- a/eBones/lib/libtelnet/Makefile +++ b/eBones/lib/libtelnet/Makefile @@ -1,31 +1,38 @@ # From: @(#)Makefile 8.2 (Berkeley) 12/15/93 -# $Id: Makefile,v 1.10 1995/09/14 21:29:05 gibbs Exp $ +# $Id: Makefile,v 1.11 1995/10/11 00:03:59 gibbs Exp $ LIB= telnet -SRCS= auth.c encrypt.c genget.c getent.c misc.c -SRCS+= enc_des.c -SRCS+= spx.c rsaencpwd.c read_password.c +SRCS= encrypt.c genget.c getent.c misc.c CFLAGS+= -DHAS_CGETENT #ifdef ENCRYPTION -CFLAGS+= -DENCRYPTION -DAUTHENTICATION +CFLAGS+= -DENCRYPTION -.if exists(/usr/lib/libkrb.a) -CFLAGS+= -DKRB4 -I/usr/include/kerberosIV -DDES_ENCRYPTION +.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES) \ + || defined(MAKE_KERBEROS)) +CFLAGS+= -DDES_ENCRYPTION -DAUTHENTICATION +CFLAGS+= -DKRB4 -I/usr/include/kerberosIV # KRB4_ENCPWD not yet defined #CFLAGS+= -DKRB4_ENCPWD -SRCS+= kerberos.c +SRCS+= auth.c kerberos.c enc_des.c # KRB4_ENCPWD not yet defined -#SRCS+= krb4encpwd.c -LDADD+= -ldes -lkrb +#SRCS+= krb4encpwd.c read_password.c +LDADD+= -des -lkrb +DPADD+= ${LIBDES} ${LIBKRB} .endif -.if exists(/usr/lib/libkrb5.a) -CFLAGS+= -DKRB5 -DFORWARD -DDES_ENCRYPTION -SRCS+= kerberos5.c forward.c -LDADD+= -ldes -lkrb5 -.endif +#.if exists(${DESTDIR}/usr/lib/libkrb5.a) && (defined(MAKE_EBONES) \ +# || defined(MAKE_KERBEROS)) +#CFLAGS+= -DDES_ENCRYPTION -DAUTHENTICATION +#CFLAGS+= -DKRB5 -DFORWARD +#SRCS+= auth.c kerberos5.c forward.c enc_des.c +#LDADD+= -ldes -lkrb5 +#DPADD+= ${LIBDES} +#.endif + +# Not Yet +#SRCS += spx.c rsaencpwd.c read_password.c # Used only in krb4encpwd.c and rsaencpwd.c, not yet active #LDADD+= -ldescrypt diff --git a/secure/lib/libtelnet/Makefile b/secure/lib/libtelnet/Makefile index 013f3be..5bfc944 100644 --- a/secure/lib/libtelnet/Makefile +++ b/secure/lib/libtelnet/Makefile @@ -1,31 +1,38 @@ # From: @(#)Makefile 8.2 (Berkeley) 12/15/93 -# $Id: Makefile,v 1.10 1995/09/14 21:29:05 gibbs Exp $ +# $Id: Makefile,v 1.11 1995/10/11 00:03:59 gibbs Exp $ LIB= telnet -SRCS= auth.c encrypt.c genget.c getent.c misc.c -SRCS+= enc_des.c -SRCS+= spx.c rsaencpwd.c read_password.c +SRCS= encrypt.c genget.c getent.c misc.c CFLAGS+= -DHAS_CGETENT #ifdef ENCRYPTION -CFLAGS+= -DENCRYPTION -DAUTHENTICATION +CFLAGS+= -DENCRYPTION -.if exists(/usr/lib/libkrb.a) -CFLAGS+= -DKRB4 -I/usr/include/kerberosIV -DDES_ENCRYPTION +.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES) \ + || defined(MAKE_KERBEROS)) +CFLAGS+= -DDES_ENCRYPTION -DAUTHENTICATION +CFLAGS+= -DKRB4 -I/usr/include/kerberosIV # KRB4_ENCPWD not yet defined #CFLAGS+= -DKRB4_ENCPWD -SRCS+= kerberos.c +SRCS+= auth.c kerberos.c enc_des.c # KRB4_ENCPWD not yet defined -#SRCS+= krb4encpwd.c -LDADD+= -ldes -lkrb +#SRCS+= krb4encpwd.c read_password.c +LDADD+= -des -lkrb +DPADD+= ${LIBDES} ${LIBKRB} .endif -.if exists(/usr/lib/libkrb5.a) -CFLAGS+= -DKRB5 -DFORWARD -DDES_ENCRYPTION -SRCS+= kerberos5.c forward.c -LDADD+= -ldes -lkrb5 -.endif +#.if exists(${DESTDIR}/usr/lib/libkrb5.a) && (defined(MAKE_EBONES) \ +# || defined(MAKE_KERBEROS)) +#CFLAGS+= -DDES_ENCRYPTION -DAUTHENTICATION +#CFLAGS+= -DKRB5 -DFORWARD +#SRCS+= auth.c kerberos5.c forward.c enc_des.c +#LDADD+= -ldes -lkrb5 +#DPADD+= ${LIBDES} +#.endif + +# Not Yet +#SRCS += spx.c rsaencpwd.c read_password.c # Used only in krb4encpwd.c and rsaencpwd.c, not yet active #LDADD+= -ldescrypt |