freebsd-dev/usr.bin/login/Makefile
Bruce Evans 42f9157b63 Work around world breakage in previous commit. The bug is in
<security/pam_misc.h>.  It declares a function parameter named 'send',
so nothing that includes both <unistd.h> (which declares send(2)) and
<security/pam_misc.h> be compiled with WARNS=2 unless NO_WERRROR is
set.

Fixed order of WARNS.
2001-12-01 19:48:59 +00:00

21 lines
360 B
Makefile

# From: @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
PROG= login
SRCS= login.c login_access.c login_fbtab.c
MAN= login.1 login.access.5
CFLAGS+=-DLOGIN_ACCESS -DLOGALL
WARNS?= 2
NO_WERROR=
DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBPAM}
LDADD= -lutil -lcrypt ${MINUSLPAM}
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
NEED_LIBNAMES= yes
.include <bsd.prog.mk>