1*f3c74513SThomas Cort# $NetBSD: Makefile,v 1.14 2008/04/06 09:54:37 lukem Exp $ 2*f3c74513SThomas Cort# @(#)Makefile 8.1 (Berkeley) 6/6/93 3*f3c74513SThomas Cort 4*f3c74513SThomas Cort.include <bsd.own.mk> 5*f3c74513SThomas Cort 6*f3c74513SThomas CortUSE_FORT?= yes # setuid 7*f3c74513SThomas CortPROG= lock 8*f3c74513SThomas CortDPADD+= ${LIBCRYPT} 9*f3c74513SThomas CortLDADD+= -lcrypt 10*f3c74513SThomas CortBINOWN= root 11*f3c74513SThomas CortBINMODE=4555 12*f3c74513SThomas Cort 13*f3c74513SThomas Cort.if (${USE_PAM} != "no") 14*f3c74513SThomas CortCPPFLAGS+=-DUSE_PAM 15*f3c74513SThomas CortDPADD+= ${LIBPAM} ${PAM_STATIC_DPADD} 16*f3c74513SThomas CortLDADD+= -lpam ${PAM_STATIC_LDADD} 17*f3c74513SThomas Cort.else # USE_PAM == no 18*f3c74513SThomas Cort.if (${USE_SKEY} != "no") 19*f3c74513SThomas CortCPPFLAGS+=-DSKEY 20*f3c74513SThomas CortDPADD+= ${LIBSKEY} 21*f3c74513SThomas CortLDADD+= -lskey 22*f3c74513SThomas Cort.endif 23*f3c74513SThomas Cort.endif # USE_PAM == no 24*f3c74513SThomas Cort 25*f3c74513SThomas Cort.include <bsd.prog.mk> 26