aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-05-21 12:51:56 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-05-21 12:51:56 +0000
commit8def216e05b0f3dd7f39fce62343ad37aff701d5 (patch)
treedcd96a7e8eb67a84ceb5ffbc585e5ba37e6a3541 /lib
parenta822b641655e3d0d6199511ada56e752dccdd0c2 (diff)
downloadsrc-8def216e05b0f3dd7f39fce62343ad37aff701d5.tar.gz
src-8def216e05b0f3dd7f39fce62343ad37aff701d5.zip
Drop libmandoc and incorporate it into the main mandoc Makefile
This simplifies maintainance of mandoc(1). Note that the same direction was taken on OpenBSD
Notes
Notes: svn path=/head/; revision=283220
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile1
-rw-r--r--lib/libmandoc/Makefile44
2 files changed, 0 insertions, 45 deletions
diff --git a/lib/Makefile b/lib/Makefile
index d7d7f8a68026..bee05ab7120b 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -65,7 +65,6 @@ SUBDIR= ${SUBDIR_ORDERED} \
${_libldns} \
liblzma \
${_libmagic} \
- libmandoc \
libmemstat \
libmd \
${_libmilter} \
diff --git a/lib/libmandoc/Makefile b/lib/libmandoc/Makefile
deleted file mode 100644
index 6529ea4e551f..000000000000
--- a/lib/libmandoc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# $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
-
-SRCS= ${LIBMAN_SRCS} \
- ${LIBMDOC_SRCS} \
- ${LIBROFF_SRCS} \
- chars.c \
- mandoc.c \
- mandoc_aux.c \
- msec.c \
- preconv.c \
- read.c
-
-WARNS?= 3
-CFLAGS+= -DHAVE_CONFIG_H
-
-.include <bsd.lib.mk>