2001-03-05 11:18:35 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2003-03-09 21:56:55 +00:00
|
|
|
PROG= ksu
|
2002-02-19 15:53:33 +00:00
|
|
|
SRCS= su.c asn1_err.h krb5_err.h heim_err.h k524_err.h
|
2001-03-05 11:18:35 +00:00
|
|
|
CFLAGS+= -I${KRB5DIR}/include \
|
|
|
|
-I${KRB5DIR}/lib/roken \
|
|
|
|
-I${KRB5DIR}/lib/kafs \
|
|
|
|
-I${KRB5DIR}/lib/krb5 \
|
|
|
|
-I${KRB5DIR}/lib/asn1 \
|
|
|
|
-I${KRB5DIR}/kuser \
|
|
|
|
-I${ASN1OBJDIR} \
|
|
|
|
-I${.OBJDIR}
|
|
|
|
NOMAN= true
|
|
|
|
LDADD= -L${KRB5OBJDIR} -lkrb5 \
|
|
|
|
-L${ROKENOBJDIR} -lroken \
|
|
|
|
-L${VERSOBJDIR} -lvers \
|
2002-08-04 22:23:48 +00:00
|
|
|
-L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err
|
2003-03-09 21:56:55 +00:00
|
|
|
DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} \
|
2002-08-04 22:23:48 +00:00
|
|
|
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
|
2002-05-12 03:17:31 +00:00
|
|
|
.if defined(ENABLE_SUID_K5SU)
|
|
|
|
BINMODE=4555
|
|
|
|
.endif
|
2001-06-04 19:54:35 +00:00
|
|
|
INSTALLFLAGS=-fschg
|
2001-03-05 11:18:35 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
.PATH: ${KRB5DIR}/appl/su
|