1 # $NetBSD: Makefile,v 1.49 2012/01/09 16:36:48 christos Exp $
2 # from: @(#)Makefile 8.2 (Berkeley) 12/15/93
4 WARNS?
= 4 # XXX: const issues in sys_term.c
12 CPPFLAGS
+=-DDIAGNOSTICS
13 .
else # !defined(__MINIX)
14 CPPFLAGS
+=-DLINEMODE
-DKLUDGELINEMODE
-DDIAGNOSTICS
15 .
endif # !defined(__MINIX)
16 CPPFLAGS
+=-DOLD_ENVIRON
-DENV_HACK
-DSECURELOGIN
-DSUPPORT_UTMP
-DSUPPORT_UTMPX
17 SRCS
= authenc.c global.c slc.c state.c sys_term.c telnetd.c \
19 DPADD
= ${LIBTELNETDIR}/libtelnet.a
${LIBTERMINFO} ${LIBUTIL}
20 LDADD
+= ${LIBTELNETDIR}/libtelnet.a
-lterminfo
-lutil
22 CPPFLAGS
+=-I
${NETBSDSRCDIR}/lib
23 CPPFLAGS
+=-I
${.CURDIR
}
25 LIBTELNETDIR
!= cd
${.CURDIR
}/..
/..
/lib
/libtelnet
; ${PRINTOBJDIR}
27 .if
(${USE_KERBEROS} != "no")
28 CPPFLAGS
+=-DKRB5
-DAUTHENTICATION
-DENCRYPTION
29 LDADD
+= -lkrb5
-lasn1
-lcom_err
-lroken
30 DPADD
+= ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN}
33 .if
(${MKCRYPTO} != "no")
34 LDADD
+=-ldes
-lcrypto
-lcrypt
35 DPADD
+=${LIBDES} ${LIBCRYPTO} ${LIBCRYPT}
38 .if
(${USE_PAM} != "no")
39 LDADD
+= -lpam
${PAM_STATIC_LDADD}
40 DPADD
+= ${LIBPAM} ${PAM_STATIC_DPADD}
43 .
include <bsd.prog.mk
>