NetBSD/usr.bin/lock/Makefile

26 lines
488 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.14 2008/04/06 09:54:37 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
1993-03-21 12:45:37 +03:00
.include <bsd.own.mk>
2007-05-28 16:06:17 +04:00
USE_FORT?= yes # setuid
1993-03-21 12:45:37 +03:00
PROG= lock
1997-10-12 16:56:51 +04:00
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
1993-03-21 12:45:37 +03:00
BINOWN= root
BINMODE=4555
.if (${USE_PAM} != "no")
CPPFLAGS+=-DUSE_PAM
DPADD+= ${LIBPAM} ${PAM_STATIC_DPADD}
LDADD+= -lpam ${PAM_STATIC_LDADD}
.else # USE_PAM == no
.if (${USE_SKEY} != "no")
CPPFLAGS+=-DSKEY
1997-10-12 16:56:51 +04:00
DPADD+= ${LIBSKEY}
LDADD+= -lskey
.endif
.endif # USE_PAM == no
.include <bsd.prog.mk>