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