Expand PMF_FN_* macros.
[netbsd-mini2440.git] / libexec / kadmind / Makefile
blob1070219bed8f3d611ac57863a5da6ee9e48d30d3
1 # $NetBSD: Makefile,v 1.20 2008/04/10 14:26:33 tsutsui Exp $
3 NOLINT= # defined
5 .include <bsd.own.mk>
7 DIST= ${NETBSDSRCDIR}/crypto/dist
8 .PATH: ${DIST}/heimdal/kadmin
10 WARNS?= 1
12 PROG= kadmind
13 MAN= kadmind.8
15 SRCS+= kadmind.c \
16 server.c \
17 kadm_conn.c
19 CPPFLAGS+= -I. \
20 -I${DIST}/heimdal/kadmin \
21 -I${DIST}/heimdal/lib/krb5 \
22 -I${DIST}/heimdal/lib/asn1 \
23 -I${NETBSDSRCDIR}/include/heimdal \
24 -I${DESTDIR}/usr/include/kadm5 \
25 -I${DESTDIR}/usr/include/krb5 \
26 -DHAVE_CONFIG_H
28 .if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
29 COPTS.server.c+= -Wno-pointer-sign
30 .endif
32 .if (${USE_INET6} != "no")
33 CPPFLAGS+=-DHAVE_IPV6
34 .endif
36 VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
38 LDADD+= -lkadm5srv -lhdb -lkrb5 -lhx509 \
39 -lcrypto -lasn1 -lcom_err -L${VERS} -lvers \
40 -lroken -lcrypt -lutil
41 DPADD+= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBHX509} \
42 ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${VERS}/libvers.a \
43 ${LIBROKEN} ${LIBCRYPT} ${LIBUTIL}
45 .include <bsd.prog.mk>