mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-24 07:40:52 +00:00
Style clean-up, and diff-reduce WRT src/secure/*/telnet/Makefile
This commit is contained in:
parent
f3c99bd05e
commit
acf4d74a74
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87142
@ -10,21 +10,26 @@ SRCS= genget.c getent.c misc.c encrypt.c auth.c \
|
||||
enc_des.c sra.c pk.c
|
||||
SRCS+= kerberos.c
|
||||
|
||||
CFLAGS+= -DHAS_CGETENT -DENCRYPTION -DDES_ENCRYPTION -DAUTHENTICATION \
|
||||
-DSRA -I${TELNETDIR}
|
||||
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA -I${TELNETDIR}
|
||||
CFLAGS+= -DKRB4 -I${KRB4DIR}/lib/krb
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
INCS= ${TELNETDIR}/arpa/telnet.h
|
||||
INCDIR= /usr/include/arpa
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
.PATH: ${TELNETDIR}/libtelnet
|
||||
|
||||
#
|
||||
# Remove obsolete shared libraries, if any. We don't bother moving them
|
||||
# to /usr/lib/compat, since they were only used by telnet, telnetd and
|
||||
# tn3270.
|
||||
#
|
||||
beforeinstall:
|
||||
beforeinstall: __remove-stale-libs
|
||||
__remove-stale-libs: .PHONY
|
||||
.if exists(${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0)
|
||||
-chflags noschg ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0
|
||||
rm -f ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
.PATH: ${TELNETDIR}/libtelnet
|
||||
.endif
|
||||
|
@ -6,18 +6,22 @@
|
||||
PROG= telnetd
|
||||
MAN= telnetd.8
|
||||
|
||||
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
|
||||
termstat.c utility.c authenc.c
|
||||
|
||||
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
|
||||
-DENV_HACK -DAUTHENTICATION -DENCRYPTION \
|
||||
-I${TELNETDIR} -DINET6
|
||||
CFLAGS+= -DKRB4
|
||||
|
||||
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
|
||||
termstat.c utility.c authenc.c
|
||||
WARNS?= 2
|
||||
|
||||
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} \
|
||||
${LIBKRB} ${LIBCRYPT} ${LIBCOM_ERR} ${LIBPAM}
|
||||
${LIBKRB} ${LIBCOM_ERR} \
|
||||
${LIBCRYPT} ${LIBPAM}
|
||||
LDADD= -lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \
|
||||
-L${KRBOBJDIR} -lkrb -lcrypt -lcom_err ${MINUSLPAM}
|
||||
-L${KRBOBJDIR} -lkrb -lcom_err \
|
||||
-lcrypt ${MINUSLPAM}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
@ -2,18 +2,23 @@
|
||||
|
||||
PROG= telnet
|
||||
|
||||
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c \
|
||||
telnet.c terminal.c utilities.c
|
||||
|
||||
CFLAGS+= -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE \
|
||||
-DENCRYPTION -DAUTHENTICATION -DIPSEC -DINET6 \
|
||||
-I${TELNETDIR}
|
||||
-I${TELNETDIR} -I${TELNETDIR}/libtelnet/
|
||||
|
||||
CFLAGS+= -DKRB4
|
||||
|
||||
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c \
|
||||
telnet.c terminal.c tn3270.c utilities.c
|
||||
WARNS?= 2
|
||||
|
||||
DPADD= ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} ${LIBKRB} \
|
||||
${LIBCRYPT} ${LIBCOM_ERR} ${LIBIPSEC} ${LIBPAM}
|
||||
LDADD= -ltermcap ${LIBTELNET} -lmp -lcrypto \
|
||||
-L${KRBOBJDIR} -lkrb -lcrypt -lcom_err -lipsec ${MINUSLPAM}
|
||||
DPADD= ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} \
|
||||
${LIBKRB} ${LIBCOM_ERR} \
|
||||
${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM}
|
||||
LDADD= -ltermcap ${LIBTELNET} -lmp \
|
||||
-lkrb -lcom_err \
|
||||
-lcrypto -lcrypt -lipsec ${MINUSLPAM}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user