f61dcf5281
directly (except in the definition of MINUSLPAM in bsd.libnames.mk) since it doesn't give all the lbraries necessary for static linkage. Fixed new and old bugs in DPADD. ${LIBPAM} was missing, and the library order was different from that in LDADD so `make checkdpadd' reported a non-bug.
24 lines
590 B
Makefile
24 lines
590 B
Makefile
# $FreeBSD$
|
|
|
|
# Do not define -DKLUDGELINEMODE, as it does not interact well with many
|
|
# telnet implementations.
|
|
|
|
PROG= telnetd
|
|
MAN= telnetd.8
|
|
|
|
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
|
|
-DENV_HACK -DAUTHENTICATION -DENCRYPTION \
|
|
-I${TELNETDIR} -DINET6
|
|
|
|
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
|
|
termstat.c utility.c authenc.c
|
|
|
|
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBCRYPTO} \
|
|
${LIBCRYPT} ${LIBMP} ${LIBPAM}
|
|
LDADD= -lutil -ltermcap ${LIBTELNET} -lcrypto \
|
|
-lcrypt -lmp ${MINUSLPAM}
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${TELNETDIR}/telnetd
|