xref: /minix/usr.bin/lock/Makefile (revision ebfedea0)
1#	$NetBSD: Makefile,v 1.14 2008/04/06 09:54:37 lukem Exp $
2#	@(#)Makefile	8.1 (Berkeley) 6/6/93
3
4.include <bsd.own.mk>
5
6USE_FORT?= yes	# setuid
7PROG=	lock
8DPADD+= ${LIBCRYPT}
9LDADD+= -lcrypt
10BINOWN= root
11BINMODE=4555
12
13.if (${USE_PAM} != "no")
14CPPFLAGS+=-DUSE_PAM
15DPADD+= ${LIBPAM} ${PAM_STATIC_DPADD}
16LDADD+= -lpam ${PAM_STATIC_LDADD}
17.else	# USE_PAM == no
18.if (${USE_SKEY} != "no")
19CPPFLAGS+=-DSKEY
20DPADD+= ${LIBSKEY}
21LDADD+= -lskey
22.endif
23.endif	# USE_PAM == no
24
25.include <bsd.prog.mk>
26