1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

Sense MAKE_EBONES, DESTDIR

SRCS cleanup
DPADD cleanup
This commit is contained in:
Andrey A. Chernov 1996-03-09 13:26:21 +00:00
parent d91680ea37
commit f6d9ce2bae
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14437
2 changed files with 26 additions and 14 deletions

View File

@ -43,24 +43,30 @@ DPADD+= ${TELNETOBJDIR}/libtelnet.a
#ifdef ENCRYPTION
CFLAGS+=-DAUTHENTICATION -DENCRYPTION
CFLAGS += -DENCRYPTION
.if exists(/usr/lib/libkrb.a)
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES) \
|| defined(MAKE_KERBEROS))
CFLAGS+=-DAUTHENTICATION
CFLAGS+= -DKRB4
LDADD+= -ldes -lkrb
DPADD+= ${LIBDES} ${LIBKRB}
.endif
.if exists(/usr/lib/libkrb5.a)
CFLAGS+= -DKRB5 -DFORWARD
LDADD+= -ldes -lkrb5
.endif
#.if exists(${DESTDIR}/usr/lib/libkrb5.a) && (defined(MAKE_EBONES) \
# || defined(MAKE_KERBEROS))
#CFLAGS+=-DAUTHENTICATION
#CFLAGS+= -DKRB5 -DFORWARD
#LDADD+= -ldes -lkrb5
#DPADD+= ${LIBDES}
#.endif
# Used only in krb4encpwd.c and rsaencpwd.c (libtelnet), not yet active
#LDADD+= -ldescrypt
#endif /* ENCRYPTION */
DPADD= ${LIBTERMCAP}
DPADD+= ${LIBTERMCAP}
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \
terminal.c tn3270.c utilities.c

View File

@ -43,24 +43,30 @@ DPADD+= ${TELNETOBJDIR}/libtelnet.a
#ifdef ENCRYPTION
CFLAGS+=-DAUTHENTICATION -DENCRYPTION
CFLAGS += -DENCRYPTION
.if exists(/usr/lib/libkrb.a)
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES) \
|| defined(MAKE_KERBEROS))
CFLAGS+=-DAUTHENTICATION
CFLAGS+= -DKRB4
LDADD+= -ldes -lkrb
DPADD+= ${LIBDES} ${LIBKRB}
.endif
.if exists(/usr/lib/libkrb5.a)
CFLAGS+= -DKRB5 -DFORWARD
LDADD+= -ldes -lkrb5
.endif
#.if exists(${DESTDIR}/usr/lib/libkrb5.a) && (defined(MAKE_EBONES) \
# || defined(MAKE_KERBEROS))
#CFLAGS+=-DAUTHENTICATION
#CFLAGS+= -DKRB5 -DFORWARD
#LDADD+= -ldes -lkrb5
#DPADD+= ${LIBDES}
#.endif
# Used only in krb4encpwd.c and rsaencpwd.c (libtelnet), not yet active
#LDADD+= -ldescrypt
#endif /* ENCRYPTION */
DPADD= ${LIBTERMCAP}
DPADD+= ${LIBTERMCAP}
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \
terminal.c tn3270.c utilities.c