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

@@ -24,7 +24,7 @@ COPTS.meta.c += -DHAVE_FILEMON_H -I${FILEMON_H:H}
.endif
.endif
# For MINIX
.if defined(__MINIX)
CPPFLAGS+= -DHAVE_SETENV -DHAVE_STRERROR -DHAVE_STRDUP \
-DHAVE_STRFTIME -DHAVE_VSNPRINTF -DUSE_SELECT
@@ -32,12 +32,14 @@ CPPFLAGS+= -DMAKE_MACHINE=\"${MACHINE}\" -DMAKE_MACHINE_ARCH=\"${MACHINE_ARCH}\"
# LSC Until it compiles cleanly...
NOGCCERROR:=yes
.endif #defined(__MINIX)
.PATH: ${.CURDIR}/lst.lib
#.if make(install)
#SUBDIR= PSD.doc
#.endif
.if !defined(__MINIX)
.if make(install)
SUBDIR= PSD.doc
.endif
.endif #!defined(__MINIX)
.if make(obj) || make(clean)
SUBDIR+= unit-tests
.endif