summaryrefslogtreecommitdiffstats
path: root/usr.bin/su/Makefile
blob: fff8503ef8943168c417df6c1090c3f089449d87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#	@(#)Makefile	8.1 (Berkeley) 7/19/93

PROG=	su
SRCS=	su.c

CFLAGS+=-DSKEY

LDADD=	-lcrypt -lskey -lmd
DPADD=	${LIBCRYPT} ${LIBSKEY} ${LIBMD}

.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
	|| defined(MAKE_EBONES))
CFLAGS+=-DKERBEROS
DPADD+=	${LIBKRB} ${LIBDES}
LDADD+=	-lkrb -ldes
DISTRIBUTION=	krb
.endif

BINOWN=	root
BINMODE=4555
INSTALLFLAGS=-fschg

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud