Module Name: src
Committed By: riz
Date: Sat Jun 19 22:36:16 UTC 2010
Modified Files:
src/tools: Makefile.disklabel
src/tools/mklocale: Makefile
Log Message:
mklocale now requires <sys/ctype_bits.h> to build, so install it
under ${TOOLDIR} when building as a host tool.
XXX Makefile.disklabel is clearly mis-named. I'll deal with that
shortly.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/tools/Makefile.disklabel
cvs rdiff -u -r1.4 -r1.5 src/tools/mklocale/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/Makefile.disklabel
diff -u src/tools/Makefile.disklabel:1.14 src/tools/Makefile.disklabel:1.15
--- src/tools/Makefile.disklabel:1.14 Mon Dec 21 18:21:17 2009
+++ src/tools/Makefile.disklabel Sat Jun 19 22:36:15 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.disklabel,v 1.14 2009/12/21 18:21:17 thorpej Exp $
+# $NetBSD: Makefile.disklabel,v 1.15 2010/06/19 22:36:15 riz Exp $
# NOxxx definitions are copied from Makefile.host, and are
# required before .include <bsd.own.mk>. The include of bsd.own.mk
@@ -28,6 +28,7 @@
_INCS= disktab.h
_SYSINCS= bootblock.h \
+ ctype_bits.h \
disklabel.h disklabel_acorn.h disklabel_gpt.h disklabel_rdb.h \
dkbad.h \
exec_elf.h
Index: src/tools/mklocale/Makefile
diff -u src/tools/mklocale/Makefile:1.4 src/tools/mklocale/Makefile:1.5
--- src/tools/mklocale/Makefile:1.4 Sun Dec 8 20:20:03 2002
+++ src/tools/mklocale/Makefile Sat Jun 19 22:36:16 2010
@@ -1,6 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2002/12/08 20:20:03 thorpej Exp $
+# $NetBSD: Makefile,v 1.5 2010/06/19 22:36:16 riz Exp $
HOSTPROGNAME= ${_TOOL_PREFIX}mklocale
HOST_SRCDIR= usr.bin/mklocale
+HOST_CPPFLAGS+= -I${TOOLDIR}/include/nbinclude
+
+.include "${.CURDIR}/../Makefile.disklabel"
.include "${.CURDIR}/../Makefile.host"