Fix section ref.
[dragonfly.git] / usr.bin / su / Makefile
blob9f9ca6a23e6e39010b636239cd8d4d2e24347dc5
1 # @(#)Makefile 8.1 (Berkeley) 7/19/93
2 # $FreeBSD: src/usr.bin/su/Makefile,v 1.29.2.2 2002/07/17 19:08:23 ru Exp $
3 # $DragonFly: src/usr.bin/su/Makefile,v 1.8 2007/10/01 08:12:43 swildner Exp $
5 PROG= su
7 COPTS+= -DLOGIN_CAP -DSKEY
8 DPADD= ${LIBUTIL} ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
9 LDADD= -lutil -lskey -lmd -lcrypt
11 .if defined(WHEELSU)
12 COPTS+= -DWHEELSU
13 .endif
15 .if defined(WANT_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
16 CFLAGS+=-DKERBEROS5
17 DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} \
18 ${LIBROKEN}
19 LDADD+= -lkrb5 -lasn1 -lcrypto -lcrypt -lcom_err \
20 -L${.OBJDIR}/../../../../kerberos5/lib/libroken -lroken
21 DISTRIBUTION= krb5
22 .endif
24 BINMODE=4555
25 .if !defined(NOFSCHG)
26 INSTALLFLAGS=-fschg
27 .endif
29 .include <bsd.prog.mk>