1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
34 lines
735 B
Makefile
34 lines
735 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
|
|
|
|
#Uncomment to activate login_auth
|
|
#Warning: requires src/libexec/login_* auth modules
|
|
#LC_AUTH=-DLOGIN_CAP_AUTH
|
|
CFLAGS+=-DSKEY -DLOGIN_ACCESS -DLOGALL -DLOGIN_CAP $(LC_AUTH)
|
|
|
|
.if defined(KLOGIN_PARANOID)
|
|
CFLAGS+=-DKLOGIN_PARANOID
|
|
.endif
|
|
|
|
DPADD= ${LIBUTIL} ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
|
|
LDADD= -lutil -lskey -lmd -lcrypt
|
|
|
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES) && !defined(LC_AUTH)
|
|
CFLAGS+=-DKERBEROS
|
|
SRCS+= klogin.c
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
|
LDADD+= -lkrb -ldes
|
|
DISTRIBUTION= krb
|
|
.endif
|
|
|
|
BINOWN= root
|
|
BINMODE=4555
|
|
INSTALLFLAGS=-fschg
|
|
|
|
.include <bsd.prog.mk>
|