1 # $NetBSD: Makefile,v 1.42 2011/04/24 21:42:06 elric Exp $
2 # from: @(#)Makefile 8.3 (Berkeley) 4/2/94
7 # LSC Until it compiles cleanly...
11 USE_FORT?
= yes
# setuid
13 SRCS
= local_passwd.c passwd.c
16 # LSC No LOGIN_CAP on Minix?
17 CPPFLAGS
+=-I
${.CURDIR
} #-DLOGIN_CAP
19 .if
(${USE_YP} != "no")
24 LINKS
+= ${BINDIR}/passwd
${BINDIR}/yppasswd
28 DPADD
+= ${LIBCRYPT} ${LIBUTIL}
29 LDADD
+= -lcrypt
-lutil
34 .if
(${USE_KERBEROS} != "no")
35 CPPFLAGS
+= -DKERBEROS5
38 DPADD
+= ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} ${LIBCRYPT}
39 LDADD
+= -lkrb5
-lcrypto
-lasn1
-lcom_err
-lroken
-lcrypt
40 LINKS
+= ${BINDIR}/passwd
${BINDIR}/kpasswd
44 .if
(${USE_PAM} != "no")
47 LDADD
+=-lpam
${PAM_STATIC_LDADD}
48 DPADD
+=${LIBPAM} ${PAM_STATIC_DPADD}
51 .
include <bsd.prog.mk
>