1# $NetBSD$
2
3.include <bsd.own.mk>
4.include <${.CURDIR}/../../Makefile.inc>
5
6.PATH:		${HEIMDIST}/lib/com_err
7
8LIB=		com_err
9SRCS=		error.c com_err.c
10
11INCSDIR=	/usr/include/krb5
12INCS=		com_err.h com_right.h
13
14MAN=		com_err.3
15MLINKS=		com_err.3 com_err_va.3 \
16		com_err.3 error_message.3 \
17		com_err.3 error_table_name.3 \
18		com_err.3 init_error_table.3 \
19		com_err.3 set_com_err_hook.3 \
20		com_err.3 reset_com_err_hook.3
21
22.if ${USETOOLS} != "yes"
23.PHONY:		compile_et
24includes:	compile_et
25SUBDIR=		compile_et
26
27compile_et:
28	@cd ${.CURDIR}/compile_et && ${MAKE}
29.endif
30
31.include <${HEIMBASE}/Makefile.rules.inc>
32.include <bsd.lib.mk>
33.if ${USETOOLS} != "yes"
34.include <bsd.subdir.mk>
35.endif
36