1 # $NetBSD: Makefile,v 1.27 2008/03/22 08:37:26 mlelstv Exp $
3 USE_FORT?
= yes
# network protocol library
9 DIST
= ${NETBSDSRCDIR}/crypto
/dist
10 .PATH
: ${DIST}/heimdal
/lib
/kadm5
18 LIBDPLIBS
+= krb5
${.CURDIR
}/..
/libkrb5 \
19 hdb
${.CURDIR
}/..
/libhdb \
20 roken
${.CURDIR
}/..
/libroken
22 .if
${USETOOLS} != "yes"
23 COMPILEETOBJ
!= cd
${NETBSDSRCDIR}/lib
/libcom_err
/compile_et
&& ${PRINTOBJDIR}
24 TOOL_COMPILE_ET
= ${COMPILEETOBJ}/compile_et
27 kadm5_err.c kadm5_err.h
: kadm5_err.et
${TOOL_COMPILE_ET}
28 ${TOOL_COMPILE_ET} ${DIST}/heimdal
/lib
/kadm5
/kadm5_err.et
30 ERR_FILES
= kadm5_err.c
32 CLEANFILES
+= kadm5_err.h kadm5_err.c
79 ASN1
!= cd
${NETBSDSRCDIR}/lib
/libasn1
&& ${PRINTOBJDIR}
80 KRB5
!= cd
${NETBSDSRCDIR}/lib
/libkrb5
&& ${PRINTOBJDIR}
81 HDB
!= cd
${NETBSDSRCDIR}/lib
/libhdb
&& ${PRINTOBJDIR}
86 -I
${DIST}/heimdal
/lib
/krb5 \
87 -I
${DIST}/heimdal
/lib
/asn1 \
89 -I
${DIST}/heimdal
/lib
/hdb \
90 -I
${DIST}/heimdal
/lib
/asn1 \
91 -I
${DIST}/heimdal
/lib
/com_err \
92 -I
${NETBSDSRCDIR}/include/heimdal \
93 -I
${NETBSDSRCDIR}/lib
/libroken \
94 -I
${DIST}/heimdal
/lib
/roken \
97 .if
(${USE_INET6} != "no")
102 CPPFLAGS
+= -DNO_DLOPEN
105 .if
(defined
(HAVE_GCC
) && ${HAVE_GCC} == 4) || defined
(HAVE_PCC
)
106 COPTS.marshall.c
+= -Wno-pointer-sign
109 .
include <bsd.lib.mk
>