NetBSD/usr.sbin/kdc/Makefile

56 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2009/04/22 15:23:04 lukem Exp $
WARNS?= 1 # XXX -Wshadow -Wextra -Wsign-compare
NOLINT= # defined
2001-01-11 16:15:06 +03:00
.include <bsd.own.mk>
2007-05-28 16:06:17 +04:00
USE_FORT?= yes # network server
2002-09-18 07:54:26 +04:00
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/kdc
PROG= kdc
2008-03-22 11:36:48 +03:00
SRCS+= 524.c \
config.c \
connect.c \
default_config.c \
digest.c \
kaserver.c \
kerberos4.c \
kerberos5.c \
krb5tgs.c \
kx509.c \
log.c \
main.c \
misc.c \
pkinit.c \
process.c \
set_dbinfo.c \
windc.c
CPPFLAGS+= -I. \
-I${DIST}/heimdal/kdc \
2002-09-18 07:54:26 +04:00
-I${NETBSDSRCDIR}/include/heimdal \
-I${DIST}/heimdal/lib/asn1 \
-I${DIST}/heimdal/lib/krb5 \
-I${DESTDIR}/usr/include/krb5 \
-DHAVE_CONFIG_H
.if (${USE_INET6} != "no")
CPPFLAGS+=-DHAVE_IPV6
.endif
2002-09-18 07:54:26 +04:00
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
2000-08-04 02:47:37 +04:00
LDADD+= -lhdb -lkrb5 -lhx509 -lheimntlm -lcrypto -lasn1 -lcom_err \
2002-10-23 05:09:37 +04:00
-L${VERS} -lvers -lroken -lcrypt -lutil
DPADD+= ${LIBHDB} ${LIBKRB5} ${LIBHX509} ${LIBHEIMNTLM} ${LIBCRYPTO} \
${LIBASN1} ${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} \
${LIBCRYPT} ${LIBUTIL}
MAN= kdc.8
.include <bsd.prog.mk>