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