# $NetBSD: Makefile,v 1.9.8.2 2018/05/05 19:25:56 martin Exp $ HOSTPROGNAME= ${_TOOL_PREFIX}mandoc HOST_SRCDIR= external/bsd/mdocml/bin/mandoc NOMAN= # defined .include NETBSD_MINOR!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -n NETBSD_OSNAME= "NetBSD ${NETBSD_MINOR}" HOST_CPPFLAGS+= -DOSNAME=${NETBSD_OSNAME:Q} -DHAVE_CONFIG_H -I. DPSRCS+= config.h CLEANFILES+= config.log config.h Makefile.local config.h: configure SRCDIR=${DISTDIR} CC=${HOST_CC} ${HOST_SH} ${DISTDIR}/configure .include "${.CURDIR}/../Makefile.host"