Commit | Line | Data |
---|---|---|
5ca403ee | 1 | .PATH: ${.CURDIR}/../../contrib/mdocml |
589e7c1d | 2 | |
5ca403ee | 3 | PROG= mandoc |
1419a4e1 SW |
4 | MAN= apropos.1 mandoc.1 mandoc.db.5 eqn.7 man.7 mandoc_char.7 mdoc.7 roff.7 |
5 | MAN+= tbl.7 makewhatis.8 | |
589e7c1d SW |
6 | WARNS?= 3 |
7 | ||
d6e3d4fa | 8 | CFLAGS+=-I${.CURDIR} |
589e7c1d | 9 | |
f350b2d0 | 10 | # libmandoc |
d6e3d4fa SW |
11 | SRCS= man.c man_macro.c man_validate.c |
12 | SRCS+= att.c lib.c mdoc.c mdoc_argv.c mdoc_macro.c mdoc_state.c \ | |
13 | mdoc_validate.c st.c | |
14 | SRCS+= eqn.c roff.c roff_validate.c tbl.c tbl_data.c tbl_layout.c tbl_opts.c | |
15 | SRCS+= arch.c chars.c mandoc.c mandoc_aux.c mandoc_msg.c mandoc_ohash.c \ | |
16 | mandoc_xr.c msec.c preconv.c read.c | |
f350b2d0 SW |
17 | |
18 | # mandoc | |
d6e3d4fa SW |
19 | SRCS+= eqn_html.c html.c man_html.c mdoc_html.c roff_html.c tbl_html.c |
20 | SRCS+= eqn_term.c man_term.c mdoc_term.c roff_term.c term.c term_ascii.c \ | |
a6912a19 | 21 | term_ps.c term_tab.c term_tag.c tbl_term.c |
d6e3d4fa SW |
22 | SRCS+= dbm.c dbm_map.c mansearch.c |
23 | SRCS+= dba.c dba_array.c dba_read.c dba_write.c mandocdb.c | |
24 | SRCS+= main.c manpath.c mdoc_man.c mdoc_markdown.c out.c tag.c tree.c | |
25 | ||
8bfc56a1 | 26 | SRCS+= compat_ohash.c |
d6e3d4fa SW |
27 | |
28 | LDADD= -lz | |
29 | DPADD= ${LIBZ} | |
772ecab9 | 30 | |
105f26b5 SW |
31 | LINKS= ${BINDIR}/mandoc ${BINDIR}/apropos |
32 | LINKS+= ${BINDIR}/mandoc ${BINDIR}/makewhatis | |
a9e45c28 SW |
33 | LINKS+= ${BINDIR}/mandoc ${BINDIR}/whatis |
34 | MLINKS= apropos.1 whatis.1 | |
105f26b5 | 35 | |
589e7c1d | 36 | .include <bsd.prog.mk> |