[BACK]Return to Makefile.inc CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / external / bsd / mdocml

File: [cvs.NetBSD.org] / src / external / bsd / mdocml / Makefile.inc (download)

Revision 1.14.2.2, Thu May 22 15:49:37 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.14.2.1: +6 -5 lines

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

# $NetBSD: Makefile.inc,v 1.14.2.2 2014/05/22 15:49:37 yamt Exp $

.include <bsd.own.mk>


.if (${HOSTPROG:U} == "")
CPPFLAGS+=	-DHAVE_FGETLN -DHAVE_MMAP -DHAVE_GETSUBOPT \
		-DHAVE_STRCASESTR -DHAVE_STRLCAT -DHAVE_STRLCPY \
		-DHAVE_STRNLEN -DHAVE_STRPTIME -DHAVE_STRSEP
VERSION!=	cd ${.PARSEDIR}/dist && ${MAKE} -V VERSION
CPPFLAGS+=	-DVERSION=\"${VERSION}\"
.endif

DISTDIR:=	${.PARSEDIR}/dist

.PATH:	${DISTDIR}

.for _LIB in mandoc
MDOCMLOBJDIR.${_LIB} !=	cd ${.PARSEDIR}/lib/lib${_LIB} && ${PRINTOBJDIR}
MDOCMLLIB.${_LIB}=	${MDOCMLOBJDIR.${_LIB}}/lib${_LIB}.a
.endfor

WARNS?=	4