Makefile revision 39495
1# From: @(#)Makefile 8.1 (Berkeley) 7/19/93 2# $Id: Makefile,v 1.20 1998/08/06 21:37:04 markm Exp $ 3 4PROG= login 5MAN1= login.1 6MAN5= login.access.5 7SRCS= login.c login_access.c login_fbtab.c 8 9#Uncomment to activate login_auth 10#Warning: requires src/libexec/login_* auth modules 11#LC_AUTH=-DLOGIN_CAP_AUTH 12CFLAGS+=-Wall -DSKEY -DLOGIN_ACCESS -DLOGALL -DLOGIN_CAP $(LC_AUTH) 13 14.if defined(KLOGIN_PARANOID) 15CFLAGS+=-DKLOGIN_PARANOID 16.endif 17 18DPADD= ${LIBUTIL} ${LIBSKEY} ${LIBMD} ${LIBCRYPT} 19LDADD= -lutil -lskey -lmd -lcrypt 20 21.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4) && !defined(LC_AUTH) 22CFLAGS+=-DKERBEROS 23SRCS+= klogin.c 24DPADD+= ${LIBKRB} ${LIBDES} 25LDADD+= -lkrb -ldes 26DISTRIBUTION= krb 27.endif 28 29BINMODE=4555 30INSTALLFLAGS=-fschg 31 32.include <bsd.prog.mk> 33