# $NetBSD: Makefile,v 1.14 2018/08/15 14:31:22 christos Exp $ HOSTPROGNAME= ${_TOOL_PREFIX}mandoc HOST_SRCDIR= external/bsd/mdocml/bin/mandoc .include <bsd.hostinit.mk> 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. HOST_CPPFLAGS+= -D_OPENBSD_SOURCE 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" |