NetBSD/usr.bin/su/Makefile

40 lines
764 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.19 2000/06/23 06:01:17 thorpej 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
.include <bsd.own.mk>
1993-03-21 12:45:37 +03:00
PROG= su
1997-10-12 16:54:20 +04:00
DPADD+= ${LIBCRYPT}
2000-01-14 05:39:14 +03:00
LDADD+= -lcrypt -lutil
1993-03-21 12:45:37 +03:00
BINOWN= root
BINMODE=4555
1997-01-09 14:43:05 +03:00
INSTALLFLAGS=-fschg
2000-01-14 05:39:14 +03:00
CPPFLAGS+=-DLOGIN_CAP
# 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\"
.if (${MKKERBEROS} != "no")
.ifdef AFS
DPADD+= ${LIBKAFS}
LDADD+= -lkafs
1999-07-13 02:11:37 +04:00
.endif
CPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV
DPADD+= ${LIBKRB} ${LIBDES} ${LIBCOM_ERR} ${LIBROKEN}
LDADD+= -lkrb -ldes -lcom_err -lroken
.endif
.include <bsd.prog.mk>
.ifdef SKEY
1997-10-12 16:54:20 +04:00
CPPFLAGS+=-DSKEY
DPADD+= ${LIBSKEY}
LDADD+= -lskey
.endif
.ifdef SUROOTAUTH
CPPFLAGS+=-DROOTAUTH=\"${SUROOTAUTH}\"
.endif