1 # $NetBSD: Makefile.inc,v 1.12 2010/07/25 19:16:18 joerg Exp $
5 VERSION!= cd ${.PARSEDIR}/dist && ${MAKE} -V VERSION
7 CPPFLAGS+= -DVERSION=\"${VERSION}\" -DUGLY
8 CPPFLAGS+= -UOSNAME -DOSNAME=\"Minix\"
10 .if (${HOSTPROG:U} == "")
11 CPPFLAGS+= -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRPTIME -DHAVE_MMAP
14 DISTDIR:= ${.PARSEDIR}/dist
18 .for _LIB in man mdoc roff
19 MDOCMLOBJDIR.${_LIB} != cd ${.PARSEDIR}/lib/lib${_LIB} && ${PRINTOBJDIR}
20 MDOCMLLIB.${_LIB}= ${MDOCMLOBJDIR.${_LIB}}/lib${_LIB}.a