mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
50 lines
812 B
Makefile
50 lines
812 B
Makefile
# $FreeBSD$
|
|
|
|
MDOCMLDIR= ${.CURDIR}/../../contrib/mdocml
|
|
.PATH: ${MDOCMLDIR}
|
|
|
|
PROG= mandoc
|
|
FILES= example.style.css style.css
|
|
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
|
|
|
|
HTML_SRCS= eqn_html.c \
|
|
html.c \
|
|
man_html.c \
|
|
mdoc_html.c \
|
|
tbl_html.c
|
|
|
|
MAN_SRCS= mdoc_man.c
|
|
|
|
TERM_SRCS= eqn_term.c \
|
|
man_term.c \
|
|
mdoc_term.c \
|
|
term.c \
|
|
term_ascii.c \
|
|
term_ps.c \
|
|
tbl_term.c
|
|
|
|
DB_SRCS= mandocdb.c \
|
|
mansearch.c \
|
|
mansearch_const.c \
|
|
manpath.c
|
|
|
|
SRCS= ${HTML_SRCS} \
|
|
${MAN_SRCS} \
|
|
${TERM_SRCS} \
|
|
main.c \
|
|
out.c \
|
|
tree.c
|
|
|
|
SRCS+= ${DB_SRCS}
|
|
|
|
WARNS?= 2
|
|
CFLAGS+= -DHAVE_CONFIG_H \
|
|
-I${.CURDIR}/../../lib/libohash/ \
|
|
-I${.CURDIR}/../../contrib/sqlite3
|
|
LIBADD= mandoc ohash sqlite3
|
|
|
|
.include <bsd.prog.mk>
|