minix/external/bsd/mdocml/Makefile.inc
Lionel Sambuc 92395e9c3f external/bsd/mdocml: Update
Change-Id: I17b54e52e8322676d83ed4386f586f8ef3029f72
2014-03-01 09:04:56 +01:00

24 lines
580 B
Makefile

# $NetBSD: Makefile.inc,v 1.15 2012/02/16 22:56:12 joerg Exp $
.include <bsd.own.mk>
VERSION!= cd ${.PARSEDIR}/dist && ${MAKE} -V VERSION
CPPFLAGS+= -DVERSION=\"${VERSION}\" -DUGLY
CPPFLAGS+= -UOSNAME -DOSNAME=\"Minix\"
.if (${HOSTPROG:U} == "")
# Minix mmap not yet up to the task
CPPFLAGS+= -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRPTIME #-DHAVE_MMAP
.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