NetBSD/tools/mandoc/Makefile

22 lines
573 B
Makefile
Raw Normal View History

# $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}"
2010-02-20 02:03:02 +03:00
HOST_CPPFLAGS+= -DOSNAME=${NETBSD_OSNAME:Q} -DHAVE_CONFIG_H -I.
HOST_CPPFLAGS+= -D_OPENBSD_SOURCE
2010-02-20 02:03:02 +03:00
DPSRCS+= config.h
2016-01-28 00:24:59 +03:00
CLEANFILES+= config.log config.h Makefile.local
config.h: configure
2017-09-07 21:57:47 +03:00
SRCDIR=${DISTDIR} CC=${HOST_CC} ${HOST_SH} ${DISTDIR}/configure
.include "${.CURDIR}/../Makefile.host"