Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/vgrind use host rules for files.



details:   https://anonhg.NetBSD.org/src/rev/7ba0cc73ca11
branches:  trunk
changeset: 797365:7ba0cc73ca11
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jul 15 16:04:35 2014 +0000

description:
use host rules for files.

diffstat:

 tools/vgrind/Makefile |  17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r 602ceceafa2f -r 7ba0cc73ca11 tools/vgrind/Makefile
--- a/tools/vgrind/Makefile     Tue Jul 15 14:56:34 2014 +0000
+++ b/tools/vgrind/Makefile     Tue Jul 15 16:04:35 2014 +0000
@@ -1,11 +1,18 @@
-#      $NetBSD: Makefile,v 1.1 2014/07/15 13:19:13 christos Exp $
+#      $NetBSD: Makefile,v 1.2 2014/07/15 16:04:35 christos Exp $
 
 HOSTPROGNAME=  nbvfontedpr
 HOST_BINDIR=   ${TOOLDIR}/libexec
 HOST_SRCDIR=   usr.bin/vgrind
-VGDEFDIR=      ${TOOLDIR}/share/misc
-HOST_CPPFLAGS= -D_PATH_VGRINDEFS=\"${VGDEFDIR}/vgrindefs\"
-FILESDIR=        ${VGDEFDIR}
-FILESDIR_tmac.vgrind=${VGDEFDIR}
+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}



Home | Main Index | Thread Index | Old Index