[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.16, Sun Jan 5 19:49:57 2014 UTC (11 months, 2 weeks ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base, netbsd-7, HEAD
Changes since 1.15: +6 -5 lines

Update build system and import script for mdocml 1.12.3.

# $NetBSD: Makefile.inc,v 1.16 2014/01/05 19:49:57 joerg 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