Home | History | Annotate | Line # | Download | only in mandoc
Makefile revision 1.6
      1 #	$NetBSD: Makefile,v 1.6 2014/01/05 19:49:57 joerg Exp $
      2 
      3 HOSTPROGNAME=	${_TOOL_PREFIX}mandoc
      4 HOST_SRCDIR=	external/bsd/mdocml/bin/mandoc
      5 
      6 NOMAN=		# defined
      7 
      8 .include <bsd.own.mk>
      9 .include <bsd.sys.mk>
     10 
     11 NETBSD_MINOR!=	${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -n
     12 NETBSD_OSNAME=	"NetBSD ${NETBSD_MINOR}"
     13 
     14 HOST_CPPFLAGS+=	-DOSNAME=${NETBSD_OSNAME:Q} -DHAVE_CONFIG_H -I.
     15 
     16 DPSRCS+=	config.h
     17 
     18 CLEANFILES+=	config.log config.h
     19 
     20 config.h: configure config.h.pre config.h.post
     21 	SRCDIR=${DISTDIR} ${HOST_SH} -x ${DISTDIR}/configure
     22 
     23 .include "${.CURDIR}/../Makefile.host"
     24