History log of /netbsd-src/usr.sbin/mopd/common/Makefile (Results 1 – 24 of 24)
Revision Date Author Comments
# c4b7a9e7 03-Jun-2023 lukem <lukem@NetBSD.org>

bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPL

bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.

show more ...


# 987f284e 31-Oct-2021 christos <christos@NetBSD.org>

Put the NOAOUT in one place


# b83f5063 31-Oct-2021 christos <christos@NetBSD.org>

USE CPPFLAGS instead of CFLAGS for -D !


# de11d876 13-Oct-2019 mrg <mrg@NetBSD.org>

introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRI

introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."

show more ...


# d7888147 27-Jul-2014 dholland <dholland@NetBSD.org>

Fix broken snprintf usage; noted in PR 47976 from Henning Petersen.
As a bonus, this removes the nonliteral format arguments.


# 9edf9a04 10-Aug-2012 joerg <joerg@NetBSD.org>

Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply
to Clang. Add a few cases of HAVE_LLVM for -fno-strict-aliasing.


# 9c4f17f6 25-Aug-2011 joerg <joerg@NetBSD.org>

Use of non-literal format strings


# 21a5b878 16-Aug-2011 christos <christos@NetBSD.org>

gcc-4.5 is picky about potential negative indexes. appease it.


# c111245a 22-Jun-2011 mrg <mrg@NetBSD.org>

apply some -Wno-error and/or -fno-strict-aliasing.


all of this should be looked at closer, but some of them are not
very trivial.


# 75e42fa7 20-Jun-2011 mrg <mrg@NetBSD.org>

remove most of the remaining HAVE_GCC tests that are always true in
the modern world.


# 2a7ab7d4 20-Aug-2009 he <he@NetBSD.org>

Define NOAOUT if we're building for mips.


# f46c1de7 25-Oct-2008 apb <apb@NetBSD.org>

Use ${TOOL_SED} instead if plain sed in Makefiles.


# 3c9a9591 29-Aug-2008 gmcgarry <gmcgarry@NetBSD.org>

Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.


# 66176dfd 03-May-2008 lukem <lukem@NetBSD.org>

Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by

Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)

show more ...


# e13fd87f 12-May-2006 mrg <mrg@NetBSD.org>

use -Wno-pointer-sign with GCC4.


# b8172479 23-May-2004 lukem <lukem@NetBSD.org>

Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)


# 130ab733 21-Oct-2003 lukem <lukem@NetBSD.org>

Rework how MAKEVERBOSE operates:

* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Id

Rework how MAKEVERBOSE operates:

* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Idea from David Laight.

* Rename the variables use to print messages. The scheme now is:
_MKMSG_FOO Run _MKMSG 'foo'
_MKTARGET_FOO Run _MKMSG_FOO ${.TARGET}
From discussion with Alistair Crooks.

show more ...


# 8233be78 19-Oct-2003 lukem <lukem@NetBSD.org>

support MAKEVERBOSE


# 10dd0ebe 20-Apr-2003 christos <christos@NetBSD.org>

PR/3343: Jonathan Stone: Errors and warnings to stderr if interactive


# c52b93f5 18-Sep-2002 lukem <lukem@NetBSD.org>

minor makefile delint


# 8e6f7afb 12-Dec-2001 tv <tv@NetBSD.org>

MKfoo=no -> NOfoo


# 7e1c62ba 13-Mar-1999 lukem <lukem@NetBSD.org>

set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>


# dcab0210 13-Feb-1999 lukem <lukem@NetBSD.org>

convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.


# c518f628 16-Oct-1997 lukem <lukem@NetBSD.org>

- compile common code once (into libcommon.a), and link that in.
cut's compilation time by half!
- build a common version.c in libcommon.a
- don't build version.h - nothing uses it
- comment out th

- compile common code once (into libcommon.a), and link that in.
cut's compilation time by half!
- build a common version.c in libcommon.a
- don't build version.h - nothing uses it
- comment out the ifdef INFO and -DINFO stuff - it's always compiled in
- XXX: don't compile mopprobe with -DNODL (which actually changes the
compilation of stuff in common/*). nothing else does this, and it
meant that mopprobe would have had different behaviour. if this behaviour
is desired, a workaround can be put in place

show more ...