freebsd-dev/usr.bin/login/Makefile
Marcel Moolenaar 7c99ddf2cc Add libmd (or move it after libcrypt). We don't want the linker to be
smart because it will definitely get it wrong. This popped up during
cross-linking.
1999-12-16 10:55:45 +00:00

26 lines
420 B
Makefile

# From: @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
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} ${LIBMD}
LDADD= -lutil -lcrypt -lmd
.if defined(NOPAM)
CFLAGS+= -DNO_PAM
.else
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}
.endif
BINMODE=4555
INSTALLFLAGS=-fschg
NEED_LIBNAMES= yes
.include <bsd.prog.mk>