4 MANDOCDIR= ${SRCTOP}/contrib/mandoc
8 MAN= mandoc.1 eqn.7 mandoc_char.7 tbl.7 man.7 mdoc.7 roff.7
9 MLINKS= mandoc.1 mdocml.1
10 .if ${MK_MAN_UTILS} != no
11 MAN+= apropos.1 makewhatis.8
12 MLINKS+= apropos.1 whatis.1
13 LINKS= ${BINDIR}/mandoc ${BINDIR}/whatis \
14 ${BINDIR}/mandoc ${BINDIR}/makewhatis \
15 ${BINDIR}/mandoc ${BINDIR}/apropos
16 .elif defined(BOOTSTRAPPING)
17 .error MK_MAN_UTILS should be set to yes when bootstrapping
24 LIBMDOC_SRCS= arch.c \
45 LIB_SRCS= ${LIBMAN_SRCS} \
57 compat_recallocarray.c \
59 HTML_SRCS= eqn_html.c \
67 TERM_SRCS= eqn_term.c \
100 CFLAGS+= -DHAVE_CONFIG_H \
101 -I${SRCTOP}/lib/libopenbsd/
102 # This can be removed after swtiching to newer gcc
103 CFLAGS.gcc+= -Wno-format
106 .include <bsd.prog.mk>