1 # $NetBSD: Makefile,v 1.40 2005/03/04 20:41:09 he Exp $
2 # from: @(#)Makefile 8.3 (Berkeley) 4/2/94
6 USE_FORT?
= yes
# setuid
8 SRCS
= local_passwd.c passwd.c
11 CPPFLAGS
+=-I
${.CURDIR
} -DLOGIN_CAP
13 .if
(${USE_YP} != "no")
18 LINKS
+= ${BINDIR}/passwd
${BINDIR}/yppasswd
22 DPADD
+= ${LIBCRYPT} ${LIBUTIL}
23 LDADD
+= -lcrypt
-lutil
28 .if
(${USE_KERBEROS} != "no")
29 CPPFLAGS
+= -DKERBEROS5
-I
${DESTDIR}/usr
/include/krb5
32 DPADD
+= ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} ${LIBCRYPT}
33 LDADD
+= -lkrb5
-lcrypto
-lasn1
-lcom_err
-lroken
-lcrypt
34 LINKS
+= ${BINDIR}/passwd
${BINDIR}/kpasswd
38 .if
(${USE_PAM} != "no")
41 LDADD
+=-lpam
${PAM_STATIC_LDADD}
42 DPADD
+=${LIBPAM} ${PAM_STATIC_DPADD}
45 .
include <bsd.prog.mk
>