Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / usr.bin / lock / Makefile
blob8578f14568f0ab8ab627262b0ad3aad989ba7353
1 # $NetBSD: Makefile,v 1.13 2008/03/30 15:30:15 lukem Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/6/93
4 .include <bsd.own.mk>
6 USE_FORT?= yes # setuid
7 PROG= lock
8 DPADD+= ${LIBCRYPT}
9 LDADD+= -lcrypt
10 BINOWN= root
11 BINMODE=4555
13 .if (${USE_PAM} != "no")
14 CPPFLAGS+=-DUSE_PAM
15 DPADD+= ${LIBPAM} ${PAM_STATIC_DPADD}
16 LDADD+= -lpam ${PAM_STATIC_LDADD}
17 .else # USE_PAM == no
18 .if (${USE_SKEY} != "no")
19 CPPFLAGS+=-DSKEY
20 DPADD+= ${LIBSKEY}
21 LDADD+= -lskey
22 .endif
23 .endif # USE_PAM == no
25 .include <bsd.prog.mk>