summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mandoc/Makefile')
-rw-r--r--usr.bin/mandoc/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.bin/mandoc/Makefile b/usr.bin/mandoc/Makefile
index ef3c05f..a5d871b 100644
--- a/usr.bin/mandoc/Makefile
+++ b/usr.bin/mandoc/Makefile
@@ -15,7 +15,9 @@ HTML_SRCS= eqn_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 \
@@ -23,6 +25,7 @@ TERM_SRCS= eqn_term.c \
term_ascii.c \
term_ps.c \
tbl_term.c
+
SRCS= ${HTML_SRCS} \
${MAN_SRCS} \
${TERM_SRCS} \
@@ -30,8 +33,16 @@ SRCS= ${HTML_SRCS} \
out.c \
tree.c
+APROPOS_SRCS= mansearch.c \
+ mansearch_const.c \
+ manpath.c
+
+SRCS+= ${APROPOS_SRCS}
+
WARNS?= 3
-CFLAGS+= -DHAVE_CONFIG_H
-LIBADD= mandoc
+CFLAGS+= -DHAVE_CONFIG_H \
+ -I${.CURDIR}/../../lib/libohash/ \
+ -I${.CURDIR}/../../contrib/sqlite3
+LIBADD= mandoc ohash sqlite3
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud