[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.50, Sat Dec 25 13:23:03 2010 UTC (13 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.49: +2 -2 lines

Yet another batch of -Thtml polishing from kristaps@:
In particular, use <SMALL> for .SM and <CODE> for .Dl.
Use <B> for bold and <I> for italic in general.
Also call this mandoc 1.10.8 now, as it is functionally equivalent,
even though one one set of refactoring patches has not been merged
yet because it conflicts with our tbl(1) handling.

#	$OpenBSD: Makefile,v 1.50 2010/12/25 13:23:03 schwarze Exp $

.include <bsd.own.mk>

VERSION=1.10.8
CFLAGS+=-DVERSION=\"${VERSION}\"
CFLAGS+=-W -Wall -Wstrict-prototypes

.if ${COMPILER_VERSION:L} == "gcc3" || ${COMPILER_VERSION:L} == "gcc4" 
CFLAGS+=-Wno-unused-parameter
.endif

SRCS=	roff.c mandoc.c
SRCS+=	mdoc_macro.c mdoc.c mdoc_hash.c mdoc_strings.c \
	mdoc_argv.c mdoc_validate.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_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
SRCS+=	term_ps.c term_ascii.c
SRCS+=	tbl.c tbl_data.c tbl_layout.c tbl_option.c tbl_term.c tbl_tree.c

PROG=	mandoc

.include <bsd.prog.mk>