Use -pthread instead of adding -lc_r for linking the thread library.
[dragonfly.git] / secure / libexec / telnetd / Makefile
1 # $FreeBSD: src/secure/libexec/telnetd/Makefile,v 1.19.2.4 2002/07/03 22:20:25 des Exp $
2 # $DragonFly: src/secure/libexec/telnetd/Makefile,v 1.3 2005/01/11 13:22:40 joerg Exp $
3
4 # Do not define -DKLUDGELINEMODE, as it does not interact well with many
5 # telnet implementations.
6
7 PROG=           telnetd
8 MAN=            telnetd.8
9
10 SRCS=           global.c slc.c state.c sys_term.c telnetd.c \
11                 termstat.c utility.c authenc.c
12
13 CFLAGS+=        -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
14                 -DENV_HACK -DAUTHENTICATION -DENCRYPTION \
15                 -I${TELNETDIR} -DINET6
16
17 WARNS?=         2
18 WFORMAT?=       0
19
20 DPADD=          ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBCRYPTO} \
21                 ${LIBCRYPT} ${LIBPAM}
22 LDADD=          -lutil -ltermcap ${LIBTELNET} -lcrypto -lcrypt ${MINUSLPAM}
23
24 .include <bsd.prog.mk>
25
26 .PATH:  ${TELNETDIR}/telnetd