1 # $NetBSD: Makefile,v 1.55 2012/04/24 16:52:26 christos Exp $
2 # @(#)Makefile 8.1 (Berkeley) 7/19/93
8 USE_FORT?
= yes
# setuid
11 DPADD
+= ${LIBUTIL} ${LIBCRYPT}
12 LDADD
+= -lutil
-lcrypt
17 .if
(${USE_PAM} != "no")
19 LDADD
+= -lpam
${PAM_STATIC_LDADD}
20 DPADD
+= ${LIBPAM} ${PAM_STATIC_DPADD}
23 CPPFLAGS
+= -DSUPPORT_UTMP
-DSUPPORT_UTMPX
#-DLOGIN_CAP
25 .if
(${USE_KERBEROS} != "no")
28 DPADD
+= ${LIBKRB5} ${LIBASN1}
31 DPADD
+= ${LIBCRYPTO} ${LIBROKEN} ${LIBCOM_ERR}
32 LDADD
+= -lcrypto
-lroken
-lcom_err
35 .if
(${USE_SKEY} != "no")
40 .
endif # USE_PAM == no
42 CLEANFILES
+= copyrightstr.c
44 copyrightstr.c
: ${NETBSDSRCDIR}/sys
/conf
/copyright
48 BEGIN { print "const char copyrightstr[] =" }\
49 { print "\""$$0"\\n\""}\
50 END { print "\"\\n\";" }\
51 ' ${.ALLSRC
} > ${.TARGET
}
54 .
include <bsd.prog.mk
>