2013-10-08 18:05:29 +02:00
|
|
|
# $NetBSD: Makefile.inc,v 1.15 2012/02/16 22:56:12 joerg Exp $
|
2011-09-26 18:19:29 +02:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
VERSION!= cd ${.PARSEDIR}/dist && ${MAKE} -V VERSION
|
|
|
|
|
|
|
|
CPPFLAGS+= -DVERSION=\"${VERSION}\" -DUGLY
|
2012-12-11 14:44:51 +01:00
|
|
|
CPPFLAGS+= -UOSNAME -DOSNAME=\"Minix\"
|
2011-09-26 18:19:29 +02:00
|
|
|
|
|
|
|
.if (${HOSTPROG:U} == "")
|
2013-10-08 18:05:29 +02:00
|
|
|
# Minix mmap not yet up to the task
|
|
|
|
CPPFLAGS+= -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRPTIME #-DHAVE_MMAP
|
2011-09-26 18:19:29 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
DISTDIR:= ${.PARSEDIR}/dist
|
|
|
|
|
|
|
|
.PATH: ${DISTDIR}
|
|
|
|
|
2013-10-08 18:05:29 +02:00
|
|
|
.for _LIB in mandoc
|
2011-09-26 18:19:29 +02:00
|
|
|
MDOCMLOBJDIR.${_LIB} != cd ${.PARSEDIR}/lib/lib${_LIB} && ${PRINTOBJDIR}
|
|
|
|
MDOCMLLIB.${_LIB}= ${MDOCMLOBJDIR.${_LIB}}/lib${_LIB}.a
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
WARNS?= 4
|