head	1.4;
access;
symbols
	netbsd-11-0-RC4:1.4
	netbsd-11-0-RC3:1.4
	netbsd-11-0-RC2:1.4
	netbsd-11-0-RC1:1.4
	perseant-exfatfs-base-20250801:1.4
	netbsd-11:1.4.0.6
	netbsd-11-base:1.4
	netbsd-10-1-RELEASE:1.4
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.4
	perseant-exfatfs-base:1.4
	netbsd-8-3-RELEASE:1.2
	netbsd-9-4-RELEASE:1.3
	netbsd-10-0-RELEASE:1.4
	netbsd-10-0-RC6:1.4
	netbsd-10-0-RC5:1.4
	netbsd-10-0-RC4:1.4
	netbsd-10-0-RC3:1.4
	netbsd-10-0-RC2:1.4
	netbsd-10-0-RC1:1.4
	netbsd-10:1.4.0.2
	netbsd-10-base:1.4
	netbsd-9-3-RELEASE:1.3
	cjep_sun2x-base1:1.3
	cjep_sun2x:1.3.0.8
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	netbsd-9-2-RELEASE:1.3
	cjep_staticlib_x:1.3.0.6
	cjep_staticlib_x-base:1.3
	netbsd-9-1-RELEASE:1.3
	phil-wifi-20200421:1.3
	phil-wifi-20200411:1.3
	is-mlppp:1.3.0.4
	is-mlppp-base:1.3
	phil-wifi-20200406:1.3
	netbsd-8-2-RELEASE:1.2
	netbsd-9-0-RELEASE:1.3
	netbsd-9-0-RC2:1.3
	netbsd-9-0-RC1:1.3
	phil-wifi-20191119:1.3
	netbsd-9:1.3.0.2
	netbsd-9-base:1.3
	phil-wifi-20190609:1.3
	netbsd-8-1-RELEASE:1.2
	netbsd-8-1-RC1:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	netbsd-7-2-RELEASE:1.2
	pgoyette-compat-0728:1.2
	netbsd-8-0-RELEASE:1.2
	phil-wifi:1.2.0.28
	phil-wifi-base:1.2
	pgoyette-compat-0625:1.2
	netbsd-8-0-RC2:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	netbsd-8-0-RC1:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	netbsd-7-1-2-RELEASE:1.2
	pgoyette-compat:1.2.0.26
	pgoyette-compat-base:1.2
	netbsd-7-1-1-RELEASE:1.2
	matt-nb8-mediatek:1.2.0.24
	matt-nb8-mediatek-base:1.2
	perseant-stdc-iso10646:1.2.0.22
	perseant-stdc-iso10646-base:1.2
	netbsd-8:1.2.0.20
	netbsd-8-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.18
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	netbsd-7-1:1.2.0.16
	netbsd-7-1-RELEASE:1.2
	netbsd-7-1-RC2:1.2
	netbsd-7-nhusb-base-20170116:1.2
	bouyer-socketcan:1.2.0.14
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	netbsd-7-1-RC1:1.2
	pgoyette-localcount-20161104:1.2
	netbsd-7-0-2-RELEASE:1.2
	localcount-20160914:1.2
	netbsd-7-nhusb:1.2.0.12
	netbsd-7-nhusb-base:1.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.10
	pgoyette-localcount-base:1.2
	netbsd-7-0-1-RELEASE:1.2
	netbsd-7-0:1.2.0.8
	netbsd-7-0-RELEASE:1.2
	netbsd-7-0-RC3:1.2
	netbsd-7-0-RC2:1.2
	netbsd-7-0-RC1:1.2
	tls-maxphys-base:1.2
	tls-maxphys:1.2.0.6
	netbsd-7:1.2.0.4
	netbsd-7-base:1.2
	tls-earlyentropy:1.2.0.2
	tls-earlyentropy-base:1.2;
locks; strict;
comment	@# @;


1.4
date	2021.09.18.01.47.11;	author christos;	state Exp;
branches;
next	1.3;
commitid	NKw39S32w03lsn9D;

1.3
date	2019.05.17.13.51.36;	author nakayama;	state Exp;
branches;
next	1.2;
commitid	1CUtR2iaAxk8XynB;

1.2
date	2014.07.15.16.04.35;	author christos;	state Exp;
branches
	1.2.2.1
	1.2.6.1
	1.2.28.1;
next	1.1;
commitid	0XB96ByHaoSluuIx;

1.1
date	2014.07.15.13.19.13;	author christos;	state Exp;
branches;
next	;
commitid	CkCCx0ySkceDztIx;

1.2.2.1
date	2014.07.15.16.04.35;	author tls;	state dead;
branches;
next	1.2.2.2;
commitid	Li6Mo4lp68r0DMLx;

1.2.2.2
date	2014.08.10.06.57.47;	author tls;	state Exp;
branches;
next	;
commitid	Li6Mo4lp68r0DMLx;

1.2.6.1
date	2014.07.15.16.04.35;	author tls;	state dead;
branches;
next	1.2.6.2;
commitid	jTnpym9Qu0o4R1Nx;

1.2.6.2
date	2014.08.20.00.04.56;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.2.28.1
date	2019.06.10.22.10.16;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;


desc
@@


1.4
log
@Patch the build script and toolchain to allow passing through
HOST_CPPFLAGS, HOST_CXXFLAGS, but not LIBRARY_PATH because it breaks
the build. These variables are necessary to support building NetBSD
from a GNU Guix or NixOS host, where /usr/include, /lib, and all
but /bin/sh do not exist.  In many cases, support for HOST_CPPFLAGS
was incomplete. From Ryan Sundberg
@
text
@#	$NetBSD: Makefile,v 1.3 2019/05/17 13:51:36 nakayama Exp $

HOSTPROGNAME=	${_TOOL_PREFIX}vfontedpr
HOST_BINDIR=	${TOOLDIR}/libexec
HOST_SRCDIR=	usr.bin/vgrind
HOST_FILESDIR=	${TOOLDIR}/share/misc
HOST_CPPFLAGS+=	-D_PATH_VGRINDEFS=\"${HOST_FILESDIR}/vgrindefs\"
HOSTFILES=	vgrindefs vgrindefs.db
NOSHARE=# defined
CLEANFILES+= ${HOSTFILES}

.include "${.CURDIR}/../Makefile.host"

vgrindefs: vgrindefs.src
	cp ${.ALLSRC} ${.TARGET}

vgrindefs.db: vgrindefs
	${TOOL_CAP_MKDB} -f ${.ALLSRC} ${.ALLSRC}
@


1.3
log
@Use ${_TOOL_PREFIX} instead of hardcoding "nb" for consistency.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2014/07/15 16:04:35 christos Exp $
d7 1
a7 1
HOST_CPPFLAGS=	-D_PATH_VGRINDEFS=\"${HOST_FILESDIR}/vgrindefs\"
@


1.2
log
@use host rules for files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2014/07/15 13:19:13 christos Exp $
d3 1
a3 1
HOSTPROGNAME=	nbvfontedpr
@


1.2.28.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2019/05/17 13:51:36 nakayama Exp $
d3 1
a3 1
HOSTPROGNAME=	${_TOOL_PREFIX}vfontedpr
@


1.2.6.1
log
@file Makefile was added on branch tls-maxphys on 2014-08-20 00:04:56 +0000
@
text
@d1 18
@


1.2.6.2
log
@Rebase to HEAD as of a few days ago.
@
text
@a0 18
#	$NetBSD$

HOSTPROGNAME=	nbvfontedpr
HOST_BINDIR=	${TOOLDIR}/libexec
HOST_SRCDIR=	usr.bin/vgrind
HOST_FILESDIR=	${TOOLDIR}/share/misc
HOST_CPPFLAGS=	-D_PATH_VGRINDEFS=\"${HOST_FILESDIR}/vgrindefs\"
HOSTFILES=	vgrindefs vgrindefs.db
NOSHARE=# defined
CLEANFILES+= ${HOSTFILES}

.include "${.CURDIR}/../Makefile.host"

vgrindefs: vgrindefs.src
	cp ${.ALLSRC} ${.TARGET}

vgrindefs.db: vgrindefs
	${TOOL_CAP_MKDB} -f ${.ALLSRC} ${.ALLSRC}
@


1.2.2.1
log
@file Makefile was added on branch tls-earlyentropy on 2014-08-10 06:57:47 +0000
@
text
@d1 18
@


1.2.2.2
log
@Rebase.
@
text
@a0 18
#	$NetBSD: Makefile,v 1.2 2014/07/15 16:04:35 christos Exp $

HOSTPROGNAME=	nbvfontedpr
HOST_BINDIR=	${TOOLDIR}/libexec
HOST_SRCDIR=	usr.bin/vgrind
HOST_FILESDIR=	${TOOLDIR}/share/misc
HOST_CPPFLAGS=	-D_PATH_VGRINDEFS=\"${HOST_FILESDIR}/vgrindefs\"
HOSTFILES=	vgrindefs vgrindefs.db
NOSHARE=# defined
CLEANFILES+= ${HOSTFILES}

.include "${.CURDIR}/../Makefile.host"

vgrindefs: vgrindefs.src
	cp ${.ALLSRC} ${.TARGET}

vgrindefs.db: vgrindefs
	${TOOL_CAP_MKDB} -f ${.ALLSRC} ${.ALLSRC}
@


1.1
log
@build glue
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2001/11/12 23:16:28 tv Exp $
d6 5
a10 4
VGDEFDIR=	${TOOLDIR}/share/misc
HOST_CPPFLAGS=	-D_PATH_VGRINDEFS=\"${VGDEFDIR}/vgrindefs\"
FILESDIR=        ${VGDEFDIR}
FILESDIR_tmac.vgrind=${VGDEFDIR}
d13 6
@

