1 1.13 christos # $NetBSD: Makefile,v 1.13 2018/08/14 08:53:06 christos Exp $ 2 1.1 joerg 3 1.1 joerg .include <bsd.own.mk> 4 1.1 joerg 5 1.1 joerg PROG= mandoc 6 1.1 joerg 7 1.13 christos SRCS= \ 8 1.13 christos eqn_html.c \ 9 1.13 christos eqn_term.c \ 10 1.13 christos html.c \ 11 1.13 christos main.c \ 12 1.13 christos man_html.c \ 13 1.13 christos man_term.c \ 14 1.13 christos mandoc_xr.c \ 15 1.13 christos manpath.c \ 16 1.13 christos mdoc_html.c \ 17 1.13 christos mdoc_markdown.c \ 18 1.13 christos mdoc_term.c \ 19 1.13 christos out.c \ 20 1.13 christos roff_html.c \ 21 1.13 christos roff_term.c \ 22 1.13 christos tbl_html.c \ 23 1.13 christos tbl_term.c \ 24 1.13 christos term.c \ 25 1.13 christos term_ascii.c \ 26 1.13 christos term_ps.c \ 27 1.13 christos term_tab.c \ 28 1.13 christos tree.c 29 1.1 joerg 30 1.1 joerg .ifndef HOSTPROG 31 1.11 christos DPADD+= ${MDOCMLLIB.mandoc} ${LIBZ} 32 1.11 christos LDADD+= -L${MDOCMLOBJDIR.mandoc} -lmandoc -lz 33 1.7 wiz CPPFLAGS+= -DUSE_WCHAR 34 1.1 joerg .else 35 1.12 christos SRCS.libmandoc!=cd ${.PARSEDIR}/../../lib/libmandoc && ${MAKE} -v SRCS 36 1.1 joerg 37 1.9 christos SRCS+= ${SRCS.libmandoc} compat_strtonum.c compat_reallocarray.c 38 1.1 joerg .endif 39 1.1 joerg 40 1.1 joerg .include <bsd.prog.mk> 41