Expand PMF_FN_* macros.
[netbsd-mini2440.git] / usr.sbin / kdc / Makefile
blobabf7cf662d9a10763d7fe62d4190665b449a3fa4
1 # $NetBSD: Makefile,v 1.16 2008/04/10 15:42:06 tsutsui Exp $
3 WARNS?= 1 # XXX -Wshadow -Wextra -Wsign-compare
4 NOLINT= # defined
6 .include <bsd.own.mk>
8 USE_FORT?= yes # network server
10 DIST= ${NETBSDSRCDIR}/crypto/dist
11 .PATH: ${DIST}/heimdal/kdc
13 PROG= kdc
15 SRCS+= 524.c \
16 config.c \
17 connect.c \
18 default_config.c \
19 digest.c \
20 kaserver.c \
21 kerberos4.c \
22 kerberos5.c \
23 krb5tgs.c \
24 kx509.c \
25 log.c \
26 main.c \
27 misc.c \
28 pkinit.c \
29 process.c \
30 set_dbinfo.c \
31 windc.c
33 CPPFLAGS+= -I. \
34 -I${DIST}/heimdal/kdc \
35 -I${NETBSDSRCDIR}/include/heimdal \
36 -I${DIST}/heimdal/lib/asn1 \
37 -I${DIST}/heimdal/lib/krb5 \
38 -I${DESTDIR}/usr/include/krb5 \
39 -DHAVE_CONFIG_H
41 .if (${USE_INET6} != "no")
42 CPPFLAGS+=-DHAVE_IPV6
43 .endif
45 VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
47 LDADD+= -lhdb -lkrb5 -lhx509 -lheimntlm -lcrypto -lasn1 -lcom_err \
48 -L${VERS} -lvers -lroken -lcrypt -lutil
49 DPADD+= ${LIBHDB} ${LIBKRB5} ${LIBHX509} ${LIBHEIMNTLM} ${LIBCRYPTO} \
50 ${LIBASN1} ${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} \
51 ${LIBCRYPT} ${LIBUTIL}
53 MAN= kdc.8
55 .include <bsd.prog.mk>