Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libcom_err / Makefile
blobd059d639f4693c3985f011dbbf9eae7d4b2a4980
1 # $NetBSD: Makefile,v 1.13 2005/01/10 03:11:17 lukem Exp $
3 NOLINT= # defined
5 .include <bsd.own.mk>
7 DIST= ${NETBSDSRCDIR}/crypto/dist
8 .PATH: ${DIST}/heimdal/lib/com_err
10 LIB= com_err
11 SRCS= error.c com_err.c roken_rename.h
13 INCS= com_err.h com_right.h
15 MAN= com_err.3
16 MLINKS= com_err.3 com_err_va.3 \
17 com_err.3 error_message.3 \
18 com_err.3 error_table_name.3 \
19 com_err.3 init_error_table.3 \
20 com_err.3 set_com_err_hook.3 \
21 com_err.3 reset_com_err_hook.3
23 .if ${USETOOLS} != "yes"
24 .PHONY: compile_et
25 includes: compile_et
26 SUBDIR= compile_et
28 compile_et:
29 @cd ${.CURDIR}/compile_et && ${MAKE}
30 .endif
32 INCSDIR= /usr/include/krb5
34 CPPFLAGS+= -I. \
35 -I${NETBSDSRCDIR}/include/heimdal \
36 -I${NETBSDSRCDIR}/lib/libroken \
37 -I${DIST}/heimdal/lib/com_err \
38 -I${DIST}/heimdal/lib/roken \
39 -DHAVE_CONFIG_H
41 .if (${USE_INET6} != "no")
42 CPPFLAGS+=-DHAVE_IPV6
43 .endif
45 .include <bsd.lib.mk>
46 .if ${USETOOLS} != "yes"
47 .include <bsd.subdir.mk>
48 .endif