summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/mandoc/lib/Makefile18
-rw-r--r--usr.bin/mandoc/mandoc/Makefile18
2 files changed, 36 insertions, 0 deletions
diff --git a/usr.bin/mandoc/lib/Makefile b/usr.bin/mandoc/lib/Makefile
new file mode 100644
index 00000000000..5b49517f07d
--- /dev/null
+++ b/usr.bin/mandoc/lib/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.1 2011/07/10 02:37:21 schwarze Exp $
+
+LIB= mandoc
+NOPIC= yes
+NOPROFILE= yes
+
+.PATH: ${.CURDIR}/..
+
+SRCS= mandoc.c chars.c read.c \
+ roff.c tbl.c tbl_opts.c tbl_layout.c tbl_data.c eqn.c \
+ arch.c att.c lib.c msec.c st.c vol.c \
+ mdoc.c mdoc_argv.c mdoc_hash.c mdoc_macro.c mdoc_validate.c \
+ man.c man_hash.c man_macro.c man_validate.c
+
+install:
+ @:
+
+.include <bsd.lib.mk>
diff --git a/usr.bin/mandoc/mandoc/Makefile b/usr.bin/mandoc/mandoc/Makefile
new file mode 100644
index 00000000000..c706ca373e8
--- /dev/null
+++ b/usr.bin/mandoc/mandoc/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.1 2011/07/10 02:37:22 schwarze Exp $
+
+PROG= mandoc
+BINDIR= /usr/bin
+
+CFLAGS+= -DVERSION=\"1.11.3\"
+LDFLAGS+= -L../lib
+LDADD+= -lmandoc
+DPADD+= ../lib/libmandoc.a
+
+.PATH: ${.CURDIR}/..
+
+SRCS= main.c tree.c \
+ term.c term_ascii.c term_ps.c \
+ mdoc_term.c man_term.c tbl_term.c \
+ html.c out.c mdoc_html.c man_html.c tbl_html.c
+
+.include <bsd.prog.mk>