1 # $FreeBSD: src/usr.bin/telnet/Makefile,v 1.14.2.2 2002/04/13 11:03:30 markm Exp $
2 # $DragonFly: src/usr.bin/telnet/Makefile,v 1.3 2007/08/27 16:50:59 pavalos Exp $
6 SRCS
= commands.c main.c network.c ring.c sys_bsd.c \
7 telnet.c terminal.c utilities.c
9 CFLAGS
+= -DKLUDGELINEMODE
-DUSE_TERMIO
-DENV_HACK
-DOPIE \
10 -I
${.CURDIR
}/..
/..
/lib
-I
${.CURDIR
}/..
/..
/lib
/libtelnet
/
13 .if exists
(${.OBJDIR
}/..
/..
/lib
/libtelnet
)
14 LIBTELNET
= ${.OBJDIR
}/..
/..
/lib
/libtelnet
/libtelnet.a
16 LIBTELNET
= ${.CURDIR
}/..
/..
/lib
/libtelnet
/libtelnet.a
19 DPADD
= ${LIBTERMCAP} ${LIBTELNET}
20 LDADD
= -ltermcap
${LIBTELNET}
22 .if
!defined
(RELEASE_CRUNCH
)
23 CFLAGS
+= -DINET6
-DIPSEC
27 .PATH
: ${.CURDIR
}/..
/..
/lib
/libtelnet
28 # XXX This was copied from lib/libtelnet/Makefile.
29 SRCS
+= genget.c getent.c misc.c
30 CFLAGS
+= -DHAS_CGETENT
35 ( for i in
*.
[ch
] ; do \
36 unifdef
-UAUTHENTICATION
-UENCRYPTION \
37 ${.CURDIR
}/..
/..
/crypto
/telnet
/telnet
/$$i \
42 .
include <bsd.prog.mk
>