2012-10-19 22:21:01 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
MDOCMLDIR= ${.CURDIR}/../../contrib/mdocml
|
|
|
|
.PATH: ${MDOCMLDIR}
|
|
|
|
|
|
|
|
LIB= mandoc
|
|
|
|
#NO_PIC=
|
|
|
|
INTERNALLIB=
|
2014-12-25 21:56:56 +00:00
|
|
|
MAN= mandoc.3 mandoc_headers.3
|
2014-11-22 20:42:32 +00:00
|
|
|
LIBMAN_SRCS= man.c \
|
|
|
|
man_hash.c \
|
|
|
|
man_macro.c \
|
|
|
|
man_validate.c
|
2014-12-02 23:24:57 +00:00
|
|
|
|
|
|
|
LIBMDOC_SRCS= att.c \
|
2014-11-22 20:42:32 +00:00
|
|
|
lib.c \
|
|
|
|
mdoc.c \
|
|
|
|
mdoc_argv.c \
|
|
|
|
mdoc_hash.c \
|
|
|
|
mdoc_macro.c \
|
|
|
|
mdoc_validate.c \
|
2014-12-02 23:24:57 +00:00
|
|
|
st.c
|
|
|
|
|
2014-11-22 20:42:32 +00:00
|
|
|
LIBROFF_SRCS= eqn.c \
|
|
|
|
roff.c \
|
|
|
|
tbl.c \
|
|
|
|
tbl_data.c \
|
|
|
|
tbl_layout.c \
|
|
|
|
tbl_opts.c
|
2014-12-02 23:24:57 +00:00
|
|
|
|
2014-11-22 20:48:21 +00:00
|
|
|
COMPAT_SRCS= compat_reallocarray.c
|
2014-11-22 20:42:32 +00:00
|
|
|
SRCS= ${LIBMAN_SRCS} \
|
|
|
|
${LIBMDOC_SRCS} \
|
|
|
|
${LIBROFF_SRCS} \
|
2014-11-22 20:48:21 +00:00
|
|
|
${COMPAT_SRCS} \
|
2014-11-22 20:42:32 +00:00
|
|
|
chars.c \
|
|
|
|
mandoc.c \
|
|
|
|
mandoc_aux.c \
|
|
|
|
msec.c \
|
2014-12-02 23:24:57 +00:00
|
|
|
preconv.c \
|
2014-11-22 20:42:32 +00:00
|
|
|
read.c
|
2012-10-19 22:21:01 +00:00
|
|
|
|
|
|
|
WARNS?= 3
|
2014-02-01 09:27:57 +00:00
|
|
|
CFLAGS+= -DHAVE_CONFIG_H
|
2012-10-19 22:21:01 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|