In xl_list_tx_init_90xB()
[dragonfly.git] / libexec / telnetd / Makefile
1 # $FreeBSD: src/libexec/telnetd/Makefile,v 1.13.2.2 2002/04/13 11:03:30 markm Exp $
2 # $DragonFly: src/libexec/telnetd/Makefile,v 1.2 2003/06/17 04:27:08 dillon 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
12
13 CFLAGS+=        -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
14                 -DENV_HACK \
15                 -I${.CURDIR}/../../lib -DINET6
16
17 WARNS?=         2
18 WFORMAT?=       0
19
20 .if exists(${.OBJDIR}/../../lib/libtelnet)
21 LIBTELNET=      ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
22 .else
23 LIBTELNET=      ${.CURDIR}/../../lib/libtelnet/libtelnet.a
24 .endif
25
26 DPADD=          ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
27 LDADD=          -lutil -ltermcap ${LIBTELNET}
28
29 unifdef:
30         -cd ${.CURDIR} ; \
31         ( for i in *.[ch] ; do \
32                 unifdef -UAUTHENTICATION -UENCRYPTION \
33                         ${.CURDIR}/../../crypto/telnet/telnetd/$$i \
34                                 > ${.CURDIR}/$$i ; \
35                 echo $$i ; \
36         done )
37
38 .include <bsd.prog.mk>