freebsd-nq/usr.bin/login/Makefile
John Polstra cc4b11542b Work around the problem that login won't link if NOSHARED=yes,
because libpam is built shared only.  There is a way to build PAM
into a static library that contains all (or a selected subset) of
the modules.  But our Makefiles don't support that yet.  Until I get
that working, just force NOSHARED=no in login's Makefile.  Of
course, it still won't work if NOPIC is set.

Submitted by:	bde
1998-11-21 18:27:15 +00:00

19 lines
366 B
Makefile

# From: @(#)Makefile 8.1 (Berkeley) 7/19/93
# $Id: Makefile,v 1.24 1998/11/21 02:22:14 jdp Exp $
PROG= login
MAN1= login.1
MAN5= login.access.5
SRCS= login.c login_access.c login_fbtab.c
CFLAGS+=-Wall -DLOGIN_ACCESS -DLOGALL
DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBPAM}
LDADD= -lutil -lcrypt -lpam
NOSHARED=no
BINMODE=4555
INSTALLFLAGS=-fschg
.include <bsd.prog.mk>