867d6c75919347923e5ce1377d1178d87683e491
[dragonfly.git] / kerberos5 / usr.bin / k5su / Makefile
1 # $FreeBSD: src/kerberos5/usr.bin/k5su/Makefile,v 1.1.2.6 2002/07/25 09:33:16 ru Exp $
2 # $DragonFly: src/kerberos5/usr.bin/k5su/Attic/Makefile,v 1.3 2003/08/05 07:45:41 asmodai Exp $
3
4 PROG=           k5su
5 SRCS=           su.c asn1_err.h krb5_err.h heim_err.h k524_err.h
6 CFLAGS+=        -I${KRB5DIR}/include \
7                 -I${KRB5DIR}/lib/roken \
8                 -I${KRB5DIR}/lib/kafs \
9                 -I${KRB5DIR}/lib/krb5 \
10                 -I${KRB5DIR}/lib/asn1 \
11                 -I${KRB5DIR}/kuser \
12                 -I${ASN1OBJDIR} \
13                 -I${.OBJDIR}
14 NOMAN=          true
15 LDADD=          -L${KRB5OBJDIR} -lkrb5 \
16                 -L${ROKENOBJDIR} -lroken \
17                 -L${VERSOBJDIR} -lvers \
18                 ${_krb4libs} \
19                 -L${ASN1OBJDIR} -lasn1 -lcrypto -lmd -lcrypt -lcom_err
20 DPADD=          ${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} ${_krb4deps} \
21                 ${LIBASN1} ${LIBCRYPTO} ${LIBMD} ${LIBCRYPT} ${LIBCOM_ERR}
22 .if defined(ENABLE_SUID_K5SU)
23 BINMODE=4555
24 .endif
25 INSTALLFLAGS=-fschg
26
27 .include <bsd.prog.mk>
28
29 .PATH:  ${KRB5DIR}/appl/su