1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
29 lines
761 B
Makefile
29 lines
761 B
Makefile
# @(#)Makefile 8.2 (Berkeley) 12/15/93
|
|
# $FreeBSD$
|
|
|
|
# Do not define -DKLUDGELINEMODE, as it does not interact well with many
|
|
# telnet implementations.
|
|
|
|
PROG= telnetd
|
|
MAN8= telnetd.8
|
|
|
|
SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \
|
|
termstat.c utility.c
|
|
|
|
DPADD= ${TELNETOBJDIR}/libtelnet.a ${LIBUTIL} ${LIBTERMCAP}
|
|
LDADD= -L${TELNETOBJDIR} -lutil -ltermcap -ltelnet
|
|
|
|
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK
|
|
CFLAGS+= -DENCRYPTION -I${.CURDIR}/../../lib
|
|
|
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES))
|
|
CFLAGS+=-DAUTHENTICATION
|
|
LDADD+= -ldes -lkrb
|
|
DPADD+= ${LIBDES} ${LIBKRB}
|
|
.endif
|
|
|
|
# Used only in krb4encpwd.c and rsaencpwd.c (libtelnet), not yet active
|
|
#LDADD+= -ldescrypt
|
|
|
|
.include <bsd.prog.mk>
|