1 1.5.6.1 yamt # $NetBSD: Makefile,v 1.5.6.1 2014/05/22 11:42:34 yamt Exp $ 2 1.1 joerg 3 1.1 joerg HOSTPROGNAME= ${_TOOL_PREFIX}mandoc 4 1.1 joerg HOST_SRCDIR= external/bsd/mdocml/bin/mandoc 5 1.1 joerg 6 1.3 joerg NOMAN= # defined 7 1.3 joerg 8 1.2 joerg .include <bsd.own.mk> 9 1.2 joerg 10 1.2 joerg NETBSD_MINOR!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -n 11 1.2 joerg NETBSD_OSNAME= "NetBSD ${NETBSD_MINOR}" 12 1.2 joerg 13 1.4 joerg HOST_CPPFLAGS+= -DOSNAME=${NETBSD_OSNAME:Q} -DHAVE_CONFIG_H -I. 14 1.4 joerg 15 1.4 joerg DPSRCS+= config.h 16 1.4 joerg 17 1.5 joerg CLEANFILES+= config.log config.h 18 1.5 joerg 19 1.5.6.1 yamt config.h: configure config.h.pre config.h.post 20 1.5.6.1 yamt SRCDIR=${DISTDIR} ${HOST_SH} -x ${DISTDIR}/configure 21 1.2 joerg 22 1.1 joerg .include "${.CURDIR}/../Makefile.host" 23