2012-10-19 22:21:01 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
MDOCMLDIR= ${.CURDIR}/../../contrib/mdocml
|
|
|
|
.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
|
2014-11-23 22:28:46 +00:00
|
|
|
MAN= mandoc.1 eqn.7 mandoc_char.7 tbl.7 man.7 mdoc.7 # roff.7
|
2012-10-19 22:21:01 +00:00
|
|
|
MLINKS= mandoc.1 mdocml.1
|
2014-11-22 20:48:21 +00:00
|
|
|
|
|
|
|
HTML_SRCS= eqn_html.c \
|
|
|
|
html.c \
|
|
|
|
man_html.c \
|
|
|
|
mdoc_html.c \
|
|
|
|
tbl_html.c
|
2014-12-02 23:24:57 +00:00
|
|
|
|
2014-11-22 20:48:21 +00:00
|
|
|
MAN_SRCS= mdoc_man.c
|
2014-12-02 23:24:57 +00:00
|
|
|
|
2014-11-22 20:48:21 +00:00
|
|
|
TERM_SRCS= eqn_term.c \
|
|
|
|
man_term.c \
|
|
|
|
mdoc_term.c \
|
|
|
|
term.c \
|
|
|
|
term_ascii.c \
|
|
|
|
term_ps.c \
|
|
|
|
tbl_term.c
|
2014-12-02 23:24:57 +00:00
|
|
|
|
2014-12-25 21:56:56 +00:00
|
|
|
DB_SRCS= mandocdb.c \
|
|
|
|
mansearch.c \
|
|
|
|
mansearch_const.c \
|
|
|
|
manpath.c
|
|
|
|
|
2014-11-22 20:48:21 +00:00
|
|
|
SRCS= ${HTML_SRCS} \
|
|
|
|
${MAN_SRCS} \
|
|
|
|
${TERM_SRCS} \
|
|
|
|
main.c \
|
|
|
|
out.c \
|
|
|
|
tree.c
|
2012-10-19 22:21:01 +00:00
|
|
|
|
2014-12-25 21:56:56 +00:00
|
|
|
SRCS+= ${DB_SRCS}
|
2014-12-02 23:24:57 +00:00
|
|
|
|
2014-12-25 21:56:56 +00:00
|
|
|
WARNS?= 2
|
2014-12-02 23:24:57 +00:00
|
|
|
CFLAGS+= -DHAVE_CONFIG_H \
|
|
|
|
-I${.CURDIR}/../../lib/libohash/ \
|
|
|
|
-I${.CURDIR}/../../contrib/sqlite3
|
|
|
|
LIBADD= mandoc ohash sqlite3
|
2012-10-19 22:21:01 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|