Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libheimntlm / Makefile
blob7f9f9842fe9e4f4bf2f8478c7bb583ebb565c002
1 # $NetBSD: Makefile,v 1.2 2008/08/29 00:02:22 gmcgarry Exp $
3 USE_FORT?= yes # cryptographic software
5 NOLINT= # defined
7 .include <bsd.own.mk>
9 DIST= ${NETBSDSRCDIR}/crypto/dist
10 .PATH: ${DIST}/heimdal/lib/ntlm
11 WARNS?= 1
13 LIB= heimntlm
15 LIBDPLIBS+= asn1 ${.CURDIR}/../libasn1 \
16 krb5 ${.CURDIR}/../libkrb5 \
17 roken ${.CURDIR}/../libroken
20 SRCS= ntlm.c
22 INCS= heimntlm.h heimntlm-protos.h
24 INCSDIR= /usr/include/krb5
26 ASN1!= cd ${NETBSDSRCDIR}/lib/libasn1 && ${PRINTOBJDIR}
27 KRB5!= cd ${NETBSDSRCDIR}/lib/libkrb5 && ${PRINTOBJDIR}
29 CPPFLAGS+= -I. \
30 -I${DIST}/heimdal/lib/ntlm \
31 -I${ASN1} \
32 -I${KRB5} \
33 -I${DIST}/heimdal/lib/asn1 \
34 -I${DIST}/heimdal/lib/krb5 \
35 -I${DIST}/heimdal/include \
36 -I${NETBSDSRCDIR}/include/heimdal \
37 -I${NETBSDSRCDIR}/lib/libroken \
38 -I${DIST}/heimdal/lib/roken \
39 -DHAVE_CONFIG_H
41 .if (${USE_INET6} != "no")
42 CPPFLAGS+=-DHAVE_IPV6
43 .endif
45 .if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
46 COPTS+= -Wno-pointer-sign
47 .endif
49 .include <bsd.lib.mk>