1# $FreeBSD$ 2 3MDOCMLDIR= ${.CURDIR}/../../contrib/mdocml 4.PATH: ${MDOCMLDIR} 5 6PROG= mandoc 7FILES= example.style.css style.css 8FILESDIR= ${SHAREDIR}/mdocml 9MAN= mandoc.1 eqn.7 mandoc_char.7 tbl.7 man.7 mdoc.7 # roff.7 10MLINKS= mandoc.1 mdocml.1 11 12HTML_SRCS= eqn_html.c \ 13 html.c \ 14 man_html.c \ 15 mdoc_html.c \ 16 tbl_html.c 17 18MAN_SRCS= mdoc_man.c 19 20TERM_SRCS= eqn_term.c \ 21 man_term.c \ 22 mdoc_term.c \ 23 term.c \ 24 term_ascii.c \ 25 term_ps.c \ 26 tbl_term.c 27 28DB_SRCS= mandocdb.c \ 29 mansearch.c \ 30 mansearch_const.c \ 31 manpath.c 32 33SRCS= ${HTML_SRCS} \ 34 ${MAN_SRCS} \ 35 ${TERM_SRCS} \ 36 main.c \ 37 out.c \ 38 tree.c 39 40SRCS+= ${DB_SRCS} 41 42WARNS?= 2 43CFLAGS+= -DHAVE_CONFIG_H \ 44 -I${.CURDIR}/../../lib/libohash/ \ 45 -I${.CURDIR}/../../contrib/sqlite3 46LIBADD= mandoc ohash sqlite3 47 48.include <bsd.prog.mk> 49