NetBSD/usr.bin/su/Makefile

32 lines
554 B
Makefile
Raw Normal View History

1997-10-12 17:10:16 +04:00
# $NetBSD: Makefile,v 1.12 1997/10/12 13:11:13 mycroft 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
1997-10-12 16:54:20 +04:00
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
1993-03-21 12:45:37 +03:00
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"
#
1997-10-12 16:54:20 +04:00
#CPPFLAGS+=-DSUGROUP=\"sugroup\"
.include <bsd.prog.mk>
.ifdef SKEY
1997-10-12 16:54:20 +04:00
CPPFLAGS+=-DSKEY
DPADD+= ${LIBSKEY}
LDADD+= -lskey
.endif
1993-03-21 12:45:37 +03:00
.ifdef KERBEROS
1997-01-09 14:43:05 +03:00
.ifdef AFS
DPADD+= ${LIBKAFS}
1997-10-12 16:54:20 +04:00
LDADD+= -lkafs
1997-01-09 14:43:05 +03:00
.endif
1997-10-12 17:10:16 +04:00
CPPFLAGS+=-DKERBEROS
DPADD+= ${LIBKRB} ${LIBDES}
1997-10-12 16:54:20 +04:00
LDADD+= -lkrb -ldes
.endif