blob: 474a69edb81b672a7b1d75dface846bfaa1ffce5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# @(#)Makefile 8.1 (Berkeley) 7/19/93
PROG= su
SRCS= su.c
#LC_AUTH=-DLOGIN_CAP_AUTH
COPTS+= -DLOGIN_CAP $(LC_AUTH)
LDADD+= -lutil
DPADD+= ${LIBUTIL}
.if !defined(LC_AUTH)
COPTS+= -DSKEY
LDADD+= -lskey -lcrypt
DPADD+= ${LIBSKEY} ${LIBCRYPT}
.endif
.if defined(WHEELSU)
COPTS+= -DWHEELSU
.endif
CFLAGS+= -Wall
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
|| defined(MAKE_EBONES)) && !defined(LC_AUTH)
CFLAGS+=-DKERBEROS
DPADD+= ${LIBKRB} ${LIBDES}
LDADD+= -lkrb -ldes
DISTRIBUTION= krb
.endif
# Do we have to provide an implementation for libskey.so?
.if ${BINFORMAT} != elf
LDADD+= -lmd
DPADD+= ${LIBMD}
.endif
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
.include <bsd.prog.mk>
|