-CFLAGS += $(VFLAGS)
-
-MDOCLNS = mdoc_macro.ln mdoc.ln mdoc_hash.ln strings.ln xstd.ln \
- argv.ln validate.ln action.ln lib.ln att.ln arch.ln \
- vol.ln msec.ln st.ln
-MDOCOBJS = mdoc_macro.o mdoc.o mdoc_hash.o strings.o xstd.o argv.o \
- validate.o action.o lib.o att.o arch.o vol.o msec.o st.o
-MDOCSRCS = mdoc_macro.c mdoc.c mdoc_hash.c strings.c xstd.c argv.c \
- validate.c action.c lib.c att.c arch.c vol.c msec.c st.c
-
-MANLNS = man_macro.ln man.ln man_hash.ln
-MANOBJS = man_macro.o man.o man_hash.o
-MANSRCS = man_macro.c man.c man_hash.c
-
-MAINLNS = main.ln term.ln ascii.ln terminal.ln tree.ln compat.ln
-MAINOBJS = main.o term.o ascii.o terminal.o tree.o compat.o
-MAINSRCS = main.c term.c ascii.c terminal.c tree.c compat.c
-
-LLNS = llib-llibmdoc.ln llib-llibman.ln llib-lmandoc.ln
-LNS = $(MAINLNS) $(MDOCLNS)
-LIBS = libmdoc.a libman.a
-OBJS = $(MDOCOBJS) $(MAINOBJS)
-SRCS = $(MDOCSRCS) $(MAINSRCS) $(MANSRCS)
-DATAS = arch.in att.in lib.in msec.in st.in vol.in ascii.in
-HEADS = mdoc.h libmdoc.h man.h libman.h term.h
-SGMLS = index.sgml
-HTMLS = index.html
-STATICS = style.css external.png
-TARGZS = mdocml-$(VERSION).tar.gz \
- mdocml-oport-$(VERSION).tar.gz \
- mdocml-fport-$(VERSION).tar.gz \
- mdocml-nport-$(VERSION).tar.gz
-MANS = mandoc.1 mdoc.3 mdoc.7 manuals.7
+
+ROFFLNS = roff.ln
+
+ROFFSRCS = roff.c
+
+ROFFOBJS = roff.o
+
+MANDOCLNS = mandoc.ln
+
+MANDOCSRCS = mandoc.c
+
+MANDOCOBJS = mandoc.o
+
+MDOCLNS = mdoc_macro.ln mdoc.ln mdoc_hash.ln mdoc_strings.ln \
+ mdoc_argv.ln mdoc_validate.ln mdoc_action.ln \
+ lib.ln att.ln arch.ln vol.ln msec.ln st.ln
+
+MDOCOBJS = mdoc_macro.o mdoc.o mdoc_hash.o mdoc_strings.o \
+ mdoc_argv.o mdoc_validate.o mdoc_action.o lib.o att.o \
+ arch.o vol.o msec.o st.o
+
+MDOCSRCS = mdoc_macro.c mdoc.c mdoc_hash.c mdoc_strings.c \
+ mdoc_argv.c mdoc_validate.c mdoc_action.c lib.c att.c \
+ arch.c vol.c msec.c st.c
+
+MANLNS = man_macro.ln man.ln man_hash.ln man_validate.ln \
+ man_action.ln man_argv.ln
+
+MANOBJS = man_macro.o man.o man_hash.o man_validate.o \
+ man_action.o man_argv.o
+MANSRCS = man_macro.c man.c man_hash.c man_validate.c \
+ man_action.c man_argv.c
+
+MAINLNS = main.ln mdoc_term.ln chars.ln term.ln tree.ln \
+ compat.ln man_term.ln html.ln mdoc_html.ln \
+ man_html.ln out.ln term_ps.ln term_ascii.ln
+
+MAINOBJS = main.o mdoc_term.o chars.o term.o tree.o compat.o \
+ man_term.o html.o mdoc_html.o man_html.o out.o \
+ term_ps.o term_ascii.o
+
+MAINSRCS = main.c mdoc_term.c chars.c term.c tree.c compat.c \
+ man_term.c html.c mdoc_html.c man_html.c out.c \
+ term_ps.c term_ascii.c
+
+LLNS = llib-llibmdoc.ln llib-llibman.ln llib-lmandoc.ln \
+ llib-llibmandoc.ln llib-llibroff.ln
+
+LNS = $(MAINLNS) $(MDOCLNS) $(MANLNS) \
+ $(MANDOCLNS) $(ROFFLNS)
+
+LIBS = libmdoc.a libman.a libmandoc.a libroff.a
+
+OBJS = $(MDOCOBJS) $(MAINOBJS) $(MANOBJS) \
+ $(MANDOCOBJS) $(ROFFOBJS)
+
+SRCS = $(MDOCSRCS) $(MAINSRCS) $(MANSRCS) \
+ $(MANDOCSRCS) $(ROFFSRCS)
+
+DATAS = arch.in att.in lib.in msec.in st.in \
+ vol.in chars.in
+
+HEADS = mdoc.h libmdoc.h man.h libman.h term.h \
+ libmandoc.h html.h chars.h out.h main.h roff.h \
+ mandoc.h
+
+GSGMLS = mandoc.1.sgml mdoc.3.sgml mdoc.7.sgml \
+ mandoc_char.7.sgml man.7.sgml man.3.sgml roff.7.sgml \
+ roff.3.sgml
+
+SGMLS = index.sgml
+
+HTMLS = ChangeLog.html index.html man.h.html mdoc.h.html \
+ mandoc.h.html roff.h.html mandoc.1.html mdoc.3.html \
+ man.3.html mdoc.7.html man.7.html mandoc_char.7.html \
+ roff.7.html roff.3.html
+
+PSS = mandoc.1.ps mdoc.3.ps man.3.ps mdoc.7.ps man.7.ps \
+ mandoc_char.7.ps roff.7.ps roff.3.ps
+
+PDFS = mandoc.1.pdf mdoc.3.pdf man.3.pdf mdoc.7.pdf man.7.pdf \
+ mandoc_char.7.pdf roff.7.pdf roff.3.pdf
+
+XSLS = ChangeLog.xsl
+
+TEXTS = mandoc.1.txt mdoc.3.txt man.3.txt mdoc.7.txt man.7.txt \
+ mandoc_char.7.txt ChangeLog.txt \
+ roff.7.txt roff.3.txt
+
+EXAMPLES = example.style.css
+
+XMLS = ChangeLog.xml
+
+STATICS = index.css style.css external.png
+
+MD5S = mdocml-$(VERSION).md5
+
+TARGZS = mdocml-$(VERSION).tar.gz
+
+MANS = mandoc.1 mdoc.3 mdoc.7 mandoc_char.7 man.7 \
+ man.3 roff.7 roff.3
+