Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/usr.bin/vgrind Pull up revision 1.14 (requested by itoj...
details: https://anonhg.NetBSD.org/src/rev/fcf8f7f77fd2
branches: netbsd-1-6
changeset: 527654:fcf8f7f77fd2
user: tv <tv%NetBSD.org@localhost>
date: Thu May 30 23:59:48 2002 +0000
description:
Pull up revision 1.14 (requested by itojun in ticket #100):
have bsd.endian.mk, which detects target endian.
generate *.db in target endian. (see tech-userlevel for discussions)
diffstat:
usr.bin/vgrind/Makefile | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r d42e4a105d67 -r fcf8f7f77fd2 usr.bin/vgrind/Makefile
--- a/usr.bin/vgrind/Makefile Thu May 30 23:59:37 2002 +0000
+++ b/usr.bin/vgrind/Makefile Thu May 30 23:59:48 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12.2.1 2002/05/30 23:50:57 tv Exp $
+# $NetBSD: Makefile,v 1.12.2.2 2002/05/30 23:59:48 tv Exp $
# @(#)Makefile 8.1 (Berkeley) 6/9/93
.include <bsd.own.mk>
@@ -24,10 +24,19 @@
realall: vfontedpr vgrindefs.src.db
-# there's no issue of endianness as DB keys are ascii strings.
+.include <bsd.endian.mk>
+.if ${TARGET_ENDIANNESS} == "1234"
+TARGET_ENDIANNESS= -l
+.elif ${TARGET_ENDIANNESS} == "4321"
+TARGET_ENDIANNESS= -b
+.else
+TARGET_ENDIANNESS=
+.endif
+
.if ${MKSHARE} != "no"
vgrindefs.src.db: vgrindefs.src
- ${CAP_MKDB} -f vgrindefs.src ${.CURDIR}/vgrindefs.src
+ ${CAP_MKDB} ${TARGET_ENDIANNESS} -f vgrindefs.src \
+ ${.CURDIR}/vgrindefs.src
.else
vgrindefs.src.db:
.endif
Home |
Main Index |
Thread Index |
Old Index