1 # $NetBSD: Makefile,v 1.44 2006/03/20 04:03:23 christos Exp $
2 # from: @(#)Makefile 8.2 (Berkeley) 12/15/93
4 WARNS?
= 2 # XXX: const issues in sys_term.c
11 CPPFLAGS
+=-DLINEMODE
-DKLUDGELINEMODE
-DDIAGNOSTICS
12 CPPFLAGS
+=-DOLD_ENVIRON
-DENV_HACK
-DSECURELOGIN
-DSUPPORT_UTMP
-DSUPPORT_UTMPX
13 SRCS
= authenc.c global.c slc.c state.c sys_term.c telnetd.c \
15 DPADD
= ${LIBTELNETDIR}/libtelnet.a
${LIBTERMCAP} ${LIBUTIL}
16 LDADD
+= ${LIBTELNETDIR}/libtelnet.a
-ltermcap
-lutil
18 CPPFLAGS
+=-I
${NETBSDSRCDIR}/lib
19 CPPFLAGS
+=-I
${.CURDIR
}
21 LIBTELNETDIR
!= cd
${.CURDIR
}/..
/..
/lib
/libtelnet
; ${PRINTOBJDIR}
23 .if
(${USE_KERBEROS} != "no")
24 CPPFLAGS
+=-I
${DESTDIR}/usr
/include/krb5
25 CPPFLAGS
+=-DKRB5
-DAUTHENTICATION
-DENCRYPTION
26 LDADD
+= -lkrb5
-lasn1
-lcrypto
-lcrypt
27 DPADD
+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT}
29 .if
(${USE_PAM} != "no")
30 LDADD
+= -lpam
${PAM_STATIC_LDADD}
31 DPADD
+= ${LIBPAM} ${PAM_STATIC_DPADD}
34 VERS
!= cd
${NETBSDSRCDIR}/lib
/libvers
&& ${PRINTOBJDIR}
36 LDADD
+= -ldes
-lcom_err
-L
${VERS} -lvers
-lroken
37 DPADD
+= ${LIBDES} ${LIBCOM_ERR} ${LIBROKEN}
41 .
include <bsd.prog.mk
>