NetBSD/usr.bin/su/Makefile

30 lines
530 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.10 1997/07/02 05:42:11 lukem Exp $
1997-01-09 14:43:05 +03:00
# from: @(#)Makefile 8.1 (Berkeley) 7/19/93
1993-03-21 12:45:37 +03:00
PROG= su
BINOWN= root
BINMODE=4555
1997-01-09 14:43:05 +03:00
INSTALLFLAGS=-fschg
# Uncomment the following line to change the group that may su root to "sugroup"
#
#CFLAGS+=-DSUGROUP=\"sugroup\"
.include <bsd.prog.mk>
.ifdef SKEY
1994-05-24 10:52:17 +04:00
CFLAGS+=-DSKEY
LDADD+= -lcrypt -lskey
DPADD+= ${LIBCRYPT} ${LIBSKEY}
.endif
1993-03-21 12:45:37 +03:00
.ifdef KERBEROS
1997-01-09 14:43:05 +03:00
.ifdef AFS
LDADD+= -lkafs
DPADD+= ${LIBKAFS}
.endif
CFLAGS+=-DKERBEROS
LDADD+= -lkrb -ldes
DPADD+= ${LIBKRB} ${LIBDES}
.endif