1994-05-27 12:33:43 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
|
|
|
|
|
|
|
PROG= su
|
1994-09-29 20:54:41 +00:00
|
|
|
LDADD= -lcrypt -lskey
|
|
|
|
DPADD= ${LIBCRYPT} ${LIBSKEY}
|
|
|
|
SRCS= su.c login_skey.c
|
|
|
|
CFLAGS+=-DSKEY
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../login
|
1994-09-29 13:06:54 +00:00
|
|
|
|
|
|
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
|
|
|
|
|| defined(MAKE_EBONES))
|
|
|
|
CFLAGS+=-DKERBEROS
|
|
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
|
|
|
LDADD+= -lkrb -ldes
|
|
|
|
.endif
|
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
|
|
|
INSTALLFLAGS=-fschg
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|