2003-07-23 12:01:24 +04:00
|
|
|
# $NetBSD: Makefile,v 1.14 2003/07/23 08:01:33 itojun Exp $
|
2001-12-12 15:24:19 +03:00
|
|
|
|
|
|
|
NOLINT= # defined
|
2000-12-30 18:25:19 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2002-09-18 18:00:33 +04:00
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
2000-06-17 03:47:14 +04:00
|
|
|
.PATH: ${DIST}/heimdal/kuser
|
|
|
|
|
|
|
|
WARNS?= 1
|
|
|
|
|
|
|
|
PROG= kinit
|
|
|
|
|
2001-09-17 16:34:40 +04:00
|
|
|
SRCS= kinit.c
|
2000-06-17 03:47:14 +04:00
|
|
|
|
2003-07-23 12:01:24 +04:00
|
|
|
foo:
|
|
|
|
echo ${MKKERBEROS4}
|
|
|
|
|
|
|
|
.if ${MKKERBEROS4} != "no"
|
|
|
|
CPPFLAGS+= -DKRB4
|
|
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV
|
|
|
|
KRB4LDADD= -lkrb
|
|
|
|
KRB4DPADD= ${LIBKRB}
|
|
|
|
.endif
|
|
|
|
|
2000-06-17 03:47:14 +04:00
|
|
|
CPPFLAGS+= -I. \
|
|
|
|
-I${DIST}/heimdal/kuser \
|
2002-09-18 18:00:33 +04:00
|
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
2000-06-17 03:47:14 +04:00
|
|
|
-I${DESTDIR}/usr/include/krb5 \
|
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
2002-09-18 18:00:33 +04:00
|
|
|
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
|
2000-08-04 02:47:37 +04:00
|
|
|
|
2003-07-23 12:01:24 +04:00
|
|
|
LDADD+= -lkafs -lkrb5 ${KRB4LDADD} -lcrypto -lasn1 -lcom_err \
|
2002-10-23 05:25:35 +04:00
|
|
|
-L${VERS} -lvers -lroken -lcrypt
|
2003-07-23 12:01:24 +04:00
|
|
|
DPADD+= ${LIBKAFS} ${LIBKRB5} ${KRB4DPADD} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
|
2002-10-23 05:25:35 +04:00
|
|
|
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
|
2000-06-17 03:47:14 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|