[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / login

File: [local] / src / usr.bin / login / Makefile (download)

Revision 1.3, Thu Feb 15 05:02:24 1996 UTC (28 years, 4 months ago) by etheisen
Branch: MAIN
Changes since 1.2: +6 -3 lines

libcrypt no longer a link dependancy.

#	$NetBSD: Makefile,v 1.10 1994/12/23 06:52:56 jtc Exp $
#	from: @(#)Makefile	8.1 (Berkeley) 7/19/93
#	$Id: Makefile,v 1.3 1996/02/15 05:02:24 etheisen Exp $

PROG=	login
SRCS=	login.c
#LDADD=	-lutil -lcrypt
LDADD=	-lutil
#DPADD=	${LIBUTIL} ${LIBCRYPT}
DPADD=	${LIBUTIL}

.include <bsd.own.mk>	# For SKEY, KERBEROS and KERBEROS5

.if defined(SKEY)
CFLAGS+=-DSKEY
LDADD+=	-lskey
DPADD+=	${LIBSKEY}
.endif

.if defined(KERBEROS5)
CFLAGS+= -DKERBEROS5
SRCS+=	k5login.c
LDADD+=	-lkrb5 -lcrypto
DPADD+=	${LIBKRB5} ${LIBCRYPTO}
.elif defined(KERBEROS)
CFLAGS+= -DKERBEROS
SRCS+=	klogin.c
LDADD+=	-lkrb -ldes
DPADD+=	${LIBKRB} ${LIBDES}
.endif

BINOWN=	root
BINMODE=4555
INSTALLFLAGS=-fschg

.include <bsd.prog.mk>