17b3a275d4
Fix PR/2839: su will not build with Kerberos. - Also: -Don't coredump when $TERM is not set. -Add prototypes, remove local old style declarations of system functions. -Recognize shells that contain "csh" as being csh alike. -Don't build with SKEY unconditionally. Obey bsd.own.mk.
21 lines
341 B
Makefile
21 lines
341 B
Makefile
# from: @(#)Makefile 5.5 (Berkeley) 5/11/90
|
|
# $Id: Makefile,v 1.7 1996/10/12 23:54:38 christos Exp $
|
|
|
|
PROG= su
|
|
BINOWN= root
|
|
BINMODE=4555
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.ifdef SKEY
|
|
CFLAGS+=-DSKEY
|
|
LDADD+= -lcrypt -lskey
|
|
DPADD+= ${LIBCRYPT} ${LIBSKEY}
|
|
.endif
|
|
|
|
.ifdef KERBEROS
|
|
CFLAGS+=-DKERBEROS
|
|
LDADD+= -lkrb -ldes
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
|
.endif
|