Constify iicbus_write()'s buf argument.
[dragonfly.git] / libexec / telnetd / Makefile
blob0edff863ea34636ca640c6d58999df4da84d562f
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 $
4 # Do not define -DKLUDGELINEMODE, as it does not interact well with many
5 # telnet implementations.
7 PROG= telnetd
8 MAN= telnetd.8
10 SRCS= global.c slc.c state.c sys_term.c telnetd.c \
11 termstat.c utility.c
13 CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
14 -DENV_HACK \
15 -I${.CURDIR}/../../lib -DINET6
17 WARNS?= 2
18 WFORMAT?= 0
20 .if exists(${.OBJDIR}/../../lib/libtelnet)
21 LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
22 .else
23 LIBTELNET= ${.CURDIR}/../../lib/libtelnet/libtelnet.a
24 .endif
26 DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
27 LDADD= -lutil -ltermcap ${LIBTELNET}
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 )
38 .include <bsd.prog.mk>