5 MANDOCDIR= ${SRCTOP}/contrib/mandoc
9 MAN= mandoc.1 eqn.7 mandoc_char.7 tbl.7 man.7 mdoc.7 roff.7
10 MLINKS= mandoc.1 mdocml.1
11 .if ${MK_MAN_UTILS} != no
12 MAN+= apropos.1 makewhatis.8
13 MLINKS+= apropos.1 whatis.1
14 LINKS= ${BINDIR}/mandoc ${BINDIR}/whatis \
15 ${BINDIR}/mandoc ${BINDIR}/makewhatis \
16 ${BINDIR}/mandoc ${BINDIR}/apropos
17 .elif defined(BOOTSTRAPPING)
18 .error "MK_MAN_UTILS should be set to yes when bootstrapping"
25 LIBMDOC_SRCS= arch.c \
46 LIB_SRCS= ${LIBMAN_SRCS} \
58 compat_recallocarray.c \
60 HTML_SRCS= eqn_html.c \
68 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>