[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.2, Wed Apr 15 20:10:20 2009 UTC (15 years, 1 month ago) by miod
Branch: MAIN
Changes since 1.1: +7 -2 lines

Replace variadic macros with real functions, so that this compiles on
platforms still using gcc 2.
ok deraadt@

#	$OpenBSD: Makefile,v 1.2 2009/04/15 20:10:20 miod Exp $

.include <bsd.own.mk>

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

SRCS=	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
SRCS+=	main.c mdoc_term.c ascii.c term.c tree.c man_term.c

PROG=	  mandoc

.include <bsd.prog.mk>