blob: f6494bdef14a109fb231a9fca20c4b886faf7ab1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $NetBSD: Makefile,v 1.7 2014/03/13 09:13:32 wiz Exp $
.include <bsd.own.mk>
PROG= mandoc
SRCS= chars.c main.c out.c tree.c \
eqn_html.c eqn_term.c \
html.c man_html.c mdoc_html.c tbl_html.c \
man_term.c mdoc_term.c term.c term_ascii.c \
term_ps.c tbl_term.c
.ifndef HOSTPROG
DPADD+= ${MDOCMLLIB.mandoc}
LDADD+= -L${MDOCMLOBJDIR.mandoc} -lmandoc
CPPFLAGS+= -DUSE_WCHAR
.else
SRCS.libmandoc!=cd ${.PARSEDIR}/../../lib/libmandoc && ${MAKE} -V '$${SRCS}'
SRCS+= ${SRCS.libmandoc}
.endif
.include <bsd.prog.mk>
|