1 # $NetBSD: Makefile,v 1.44 2013/02/13 23:19:14 christos Exp $
2 # from: @(#)Makefile 8.3 (Berkeley) 4/2/94
6 USE_FORT?
= yes
# setuid
8 SRCS
= local_passwd.c passwd.c
11 # LSC No LOGIN_CAP on Minix?
12 CPPFLAGS
+=-I
${.CURDIR
} #-DLOGIN_CAP
14 .if
(${USE_YP} != "no")
19 LINKS
+= ${BINDIR}/passwd
${BINDIR}/yppasswd
23 DPADD
+= ${LIBCRYPT} ${LIBUTIL}
24 LDADD
+= -lcrypt
-lutil
29 .if
(${USE_KERBEROS} != "no")
30 CPPFLAGS
+= -DKERBEROS5
33 DPADD
+= ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} ${LIBCRYPT}
34 LDADD
+= -lkrb5
-lcrypto
-lasn1
-lcom_err
-lroken
-lcrypt
35 .
ifdef OVERRIDE_HEIMDAL_KPASSWD
36 LINKS
+= ${BINDIR}/passwd
${BINDIR}/kpasswd
41 .if
(${USE_PAM} != "no")
44 LDADD
+=-lpam
${PAM_STATIC_LDADD}
45 DPADD
+=${LIBPAM} ${PAM_STATIC_DPADD}
48 .
include <bsd.prog.mk
>