1 # $NetBSD: Makefile,v 1.50 2009/04/14 22:15:22 lukem Exp $
2 # @(#)Makefile 8.1 (Berkeley) 7/19/93
4 WARNS?
= 2 # XXX -Wcast-qual issues
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
+=-DLOGIN_CAP
-DSUPPORT_UTMP
-DSUPPORT_UTMPX
25 .if
(${USE_KERBEROS} != "no")
27 CPPFLAGS
+=-DKERBEROS5
-I
${DESTDIR}/usr
/include/krb5
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
>