1 # $NetBSD: Makefile,v 1.56 2013/08/11 06:32:13 dholland Exp $
2 # @(#)Makefile 8.1 (Berkeley) 7/19/93
6 USE_FORT?
= yes
# setuid
9 DPADD
+= ${LIBUTIL} ${LIBCRYPT}
10 LDADD
+= -lutil
-lcrypt
15 .if
(${USE_PAM} != "no")
17 LDADD
+= -lpam
${PAM_STATIC_LDADD}
18 DPADD
+= ${LIBPAM} ${PAM_STATIC_DPADD}
22 CPPFLAGS
+= -DSUPPORT_UTMP
-DSUPPORT_UTMPX
24 .if
(${USE_KERBEROS} != "no")
27 DPADD
+= ${LIBKRB5} ${LIBASN1}
30 DPADD
+= ${LIBCRYPTO} ${LIBROKEN} ${LIBCOM_ERR}
31 LDADD
+= -lcrypto
-lroken
-lcom_err
34 .if
(${USE_SKEY} != "no")
39 .
endif # USE_PAM == no
41 CLEANFILES
+= copyrightstr.c
43 copyrightstr.c
: ${NETBSDSRCDIR}/sys
/conf
/copyright
47 BEGIN { print "const char copyrightstr[] =" }\
48 { print "\""$$0"\\n\""}\
49 END { print "\"\\n\";" }\
50 ' ${.ALLSRC
} > ${.TARGET
}
53 .
include <bsd.prog.mk
>