Remove building with NOCRYPTO option
[minix3.git] / usr.bin / lock / Makefile
blobe7c4776aed1c8b53b5fcf7d680779e2b3b236643
1 # $NetBSD: Makefile,v 1.14 2008/04/06 09:54:37 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>