summaryrefslogtreecommitdiffstats
path: root/lib/libmandoc/Makefile
blob: 276c46396ca5165546ab8664ca8673885742d577 (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
38
39
40
41
42
43
44
45
46
# $FreeBSD$

MDOCMLDIR=	${.CURDIR}/../../contrib/mdocml
.PATH: ${MDOCMLDIR}

LIB=	mandoc
#NO_PIC=
INTERNALLIB=
MAN=	mandoc.3 mandoc_headers.3
LIBMAN_SRCS=	man.c \
		man_hash.c \
		man_macro.c \
		man_validate.c

LIBMDOC_SRCS=	att.c \
		lib.c \
		mdoc.c \
		mdoc_argv.c \
		mdoc_hash.c \
		mdoc_macro.c \
		mdoc_validate.c \
		st.c

LIBROFF_SRCS=	eqn.c \
		roff.c \
		tbl.c \
		tbl_data.c \
		tbl_layout.c \
		tbl_opts.c

COMPAT_SRCS=	compat_reallocarray.c
SRCS=		${LIBMAN_SRCS} \
		${LIBMDOC_SRCS} \
		${LIBROFF_SRCS} \
		${COMPAT_SRCS} \
		chars.c \
		mandoc.c \
		mandoc_aux.c \
		msec.c \
		preconv.c \
		read.c

WARNS?=	3
CFLAGS+= -DHAVE_CONFIG_H

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