[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

File: [local] / src / usr.bin / mandoc / Makefile (download)

Revision 1.28, Thu Mar 25 23:23:01 2010 UTC (14 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.27: +2 -2 lines

merge 1.9.16, keeping local patches

This is mostly cleanup by kristaps@ after my rather hackish patch
to tolerate the non-text macros .na, .sp, .br in next-line scope;
plus some nesting issues fixed by him, all in man(7).
This survived a full  cd /usr/src; make man.

#	$OpenBSD: Makefile,v 1.28 2010/03/25 23:23:01 schwarze Exp $

.include <bsd.own.mk>

VERSION=1.9.16
CFLAGS+=-DVERSION=\"${VERSION}\"
CFLAGS+=-W -Wall -Wstrict-prototypes
.if ${USE_GCC3:L} != "no"
CFLAGS+=-Wno-unused-parameter
.endif

SRCS=	mandoc.c 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
SRCS+=	man_macro.c man.c man_hash.c man_validate.c \
	man_action.c man_argv.c
SRCS+=	main.c mdoc_term.c chars.c term.c tree.c man_term.c
SRCS+=	html.c mdoc_html.c man_html.c out.c

PROG=	mandoc

.include <bsd.prog.mk>