1 # $NetBSD: Makefile,v 1.52 2011/04/24 21:42:06 elric Exp $
2 # @(#)Makefile 8.1 (Berkeley) 7/19/93
4 WARNS?
= 2 # XXX -Wcast-qual issues
11 USE_FORT?
= no
# setuid
14 DPADD
+= ${LIBUTIL} ${LIBCRYPT}
15 LDADD
+= -lutil
-lcrypt
20 .if
(${USE_PAM} != "no")
22 LDADD
+= -lpam
${PAM_STATIC_LDADD}
23 DPADD
+= ${LIBPAM} ${PAM_STATIC_DPADD}
26 CPPFLAGS
+= -DSUPPORT_UTMP
-DSUPPORT_UTMPX
#-DLOGIN_CAP
28 .if
(${USE_KERBEROS} != "no")
31 DPADD
+= ${LIBKRB5} ${LIBASN1}
34 DPADD
+= ${LIBCRYPTO} ${LIBROKEN} ${LIBCOM_ERR}
35 LDADD
+= -lcrypto
-lroken
-lcom_err
38 .if
(${USE_SKEY} != "no")
43 .
endif # USE_PAM == no
45 CLEANFILES
+= copyrightstr.c
47 copyrightstr.c
: ${NETBSDSRCDIR}/sys
/conf
/copyright
51 BEGIN { print "const char copyrightstr[] =" }\
52 { print "\""$$0"\\n\""}\
53 END { print "\"\\n\";" }\
54 ' ${.ALLSRC
} > ${.TARGET
}
57 .
include <bsd.prog.mk
>