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:
2012-10-26 15:22:39 +02:00
parent 9152e1c5a7
commit d19d7d58aa
369 changed files with 56599 additions and 27810 deletions

View File

@@ -1,8 +1,18 @@
# Makefile for usr.bin
# $NetBSD: Makefile,v 1.61 2012/02/07 19:13:31 joerg Exp $
# @(#)Makefile 8.1 (Berkeley) 6/4/93
.include <bsd.own.mk>
# NetBSD imports
SUBDIR= makewhatis ld.elf_so
SUBDIR= \
\
ld.elf_so
.if defined(__MINIX)
SUBDIR+= makewhatis
.else
.if ${MKMAKEMANDB} == "no"
SUBDIR+= getNAME makewhatis
.endif
.endif # defined(__MINIX)
.include <bsd.subdir.mk>

View File

@@ -1,3 +1,11 @@
# $NetBSD: Makefile.inc,v 1.9 2012/06/19 06:10:09 dholland Exp $
# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
.if defined(__MINIX)
CPPFLAGS+= -D__NBSD_LIBC=1
USE_FORT?= no
.else
USE_FORT?= yes # network server
.endif
BINDIR?= /usr/libexec
BINDIR?= /usr/libexec
WARNS?= 5

View File

@@ -9,7 +9,7 @@ WARNS?=4
NOGCCERROR:=yes
# This executable needs to be linked dynamically
MINIXDYNAMIC=yes
LDSTATIC= -dynamic
# And the minix gcc currently references /libexec/ld-elf.so.1
SYMLINKS+= ${SHLINKINSTALLDIR}/${PROG} /libexec/ld-elf.so.1