summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/Makefile
blob: ef3c05ff15f1fec335ff8e71495c9abf4188d37d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $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
SRCS=		${HTML_SRCS} \
		${MAN_SRCS} \
		${TERM_SRCS} \
		main.c \
		out.c \
		tree.c

WARNS?=	3
CFLAGS+= -DHAVE_CONFIG_H
LIBADD=	mandoc

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud