Toolchain upgrade and portability improvements.
upgrade to NetBSD CVS release from 2012/10/17 12:00:00 UTC Makefiles updates to imporve portability Made sure to be consistent in the usage of braces/parenthesis at least on a per file basis. For variables, it is recommended to continue to use braces.
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
# Makefile for bin
|
||||
# $NetBSD: Makefile,v 1.123 2011/11/24 15:54:54 ahoka Exp $
|
||||
# @(#)Makefile 8.5 (Berkeley) 3/31/94
|
||||
|
||||
# Not ported: XNSrouted enpload scsiformat startslip
|
||||
# Missing: icheck ncheck
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
SUBDIR= fsck fsck_ext2fs newfs_ext2fs mknod
|
||||
SUBDIR= \
|
||||
\
|
||||
fsck \
|
||||
mknod
|
||||
|
||||
# support for various file systems
|
||||
SUBDIR+= newfs_ext2fs fsck_ext2fs
|
||||
.include <bsd.subdir.mk>
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
# $NetBSD: Makefile.inc,v 1.22 2012/03/21 05:47:53 matt Exp $
|
||||
# @(#)Makefile.inc 8.1 (Berkeley) 6/8/93
|
||||
|
||||
.include <bsd.own.mk> # for MKDYNAMICROOT definition
|
||||
|
||||
WARNS?= 5
|
||||
BINDIR?= /sbin
|
||||
CPPFLAGS+= -D_NETBSD_SOURCE
|
||||
|
||||
BINDIR?=/sbin
|
||||
|
||||
.if (${MKDYNAMICROOT} == "no")
|
||||
LDSTATIC?= -static
|
||||
.endif
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
# $NetBSD: Makefile,v 1.4 2012/03/24 08:22:24 joerg Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
||||
|
||||
WARNS?= 3 # XXX: sign-compare issues
|
||||
WARNS?= 4
|
||||
|
||||
CWARNFLAGS+= -Wno-sign-compare
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user