xref: /dragonfly/usr.bin/login/Makefile (revision b7367ef6)
1# From:	@(#)Makefile	8.1 (Berkeley) 7/19/93
2# $FreeBSD: src/usr.bin/login/Makefile,v 1.31.2.2 2001/07/16 07:02:39 markm Exp $
3# $DragonFly: src/usr.bin/login/Makefile,v 1.4 2007/08/27 16:50:56 pavalos Exp $
4
5PROG=	login
6SRCS=	login.c login_access.c login_fbtab.c
7MAN=	login.1 login.access.5
8WARNS?=	2
9
10CFLAGS+=-DLOGIN_ACCESS -DLOGALL
11
12DPADD=	${LIBUTIL} ${LIBCRYPT}
13LDADD=	-lutil -lcrypt
14
15.if !defined(NOPAM)
16CFLAGS+= -DUSE_PAM
17DPADD+=	${LIBPAM}
18LDADD+=	${MINUSLPAM}
19.endif
20
21BINMODE=4555
22.if !defined(NOFSCHG)
23INSTALLFLAGS=-fschg
24.endif
25NEED_LIBNAMES= yes
26
27.include <bsd.prog.mk>
28