2012-10-19 22:21:01 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
MDOCMLDIR= ${.CURDIR}/../../contrib/mdocml
|
|
|
|
LIBMANDOC= ${.OBJDIR}/../../lib/libmandoc/libmandoc.a
|
|
|
|
.PATH: ${MDOCMLDIR}
|
|
|
|
|
|
|
|
PROG= mandoc
|
2014-11-22 18:57:23 +00:00
|
|
|
FILES= example.style.css style.css
|
2012-10-19 22:21:01 +00:00
|
|
|
FILESDIR= ${SHAREDIR}/mdocml
|
|
|
|
LINKS= mdocml
|
|
|
|
MAN= mandoc.1 eqn.7 mandoc_char.7 tbl.7 # man.7 mdoc.7 roff.7
|
|
|
|
MLINKS= mandoc.1 mdocml.1
|
2014-11-22 18:57:23 +00:00
|
|
|
SRCS= main.c mdoc_term.c chars.c term.c tree.c man_term.c eqn_term.c \
|
|
|
|
mdoc_man.c
|
|
|
|
SRCS+= html.c mdoc_html.c man_html.c out.c eqn_html.c
|
|
|
|
SRCS+= term_ps.c term_ascii.c tbl_term.c tbl_html.c
|
|
|
|
SRCS+= manpath.c compat_reallocarray.c
|
2012-10-19 22:21:01 +00:00
|
|
|
|
|
|
|
WARNS?= 3
|
2014-02-01 09:27:57 +00:00
|
|
|
CFLAGS+= -DHAVE_CONFIG_H
|
2012-10-19 22:21:01 +00:00
|
|
|
DPADD= ${LIBMANDOC}
|
|
|
|
LDADD= ${LIBMANDOC}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|