freebsd-dev/share/mk
Dag-Erling Smørgrav 77695b344b Add a mechanism to allow Makefiles to specify the particular C dialect
in which the source code is written.  This is controlled by the CSTD
variable, which can have one of the following values:

  - "k&r"		=> -traditional
  - "c89" or "c90"	=> -std=iso9899:1990
  - "c94" or "c95"	=> -std=iso9899:199409
  - "c99"		=> -std=iso9899:1999

The corresponding option is added to CFLAGS regardless of WARNS level.
This also removes -ansi from WARNS level 6, but adds -Wno-long-long to
work around a weird gcc bug (-ansi, which is supposedly equivalent to
-std=iso9899:1990, seems to turn long long warnings off instead of on)

If CSTD is undefined, CFLAGS are unchanged except for the -ansi /
-Wno-long-long change mentioned above for WARNS level 6.
2003-05-01 14:36:27 +00:00
..
bsd.cpu.mk Add CPUTYPE support for "athlon-tbird", as GCC makes the distinction. 2003-04-14 17:36:29 +00:00
bsd.dep.mk Added the new variable CTAGS which, if set to "ctags", reverts 2002-10-17 13:48:13 +00:00
bsd.doc.mk Document most of bsd.doc.mk variables. 2002-10-30 17:03:48 +00:00
bsd.files.mk Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
bsd.incs.mk Try really hard to fix parallel installs. Add a bunch of .ORDER 2002-07-03 12:28:03 +00:00
bsd.info.mk Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
bsd.init.mk Don't include bsd.own.mk from sys.mk, this makes it impossible 2002-04-17 13:49:29 +00:00
bsd.kmod.mk Bring in the WARNS directive from NetBSD, localized in a new bsd.sys.mk 2001-05-19 23:18:21 +00:00
bsd.lib.mk Add NOSHLIBS. 2003-04-27 21:44:52 +00:00
bsd.libnames.mk Added GEOM library to the bsd.libnames.mk namespace. 2003-03-21 14:31:51 +00:00
bsd.links.mk Try really hard to fix parallel installs. Add a bunch of .ORDER 2002-07-03 12:28:03 +00:00
bsd.man.mk Revert last delta. SGR support in grotty(1) is disabled system-wide 2002-10-18 09:14:17 +00:00
bsd.nls.mk Reimplemented bsd.nls.mk using bsd.files.mk and bsd.links.mk. 2002-07-02 12:37:09 +00:00
bsd.obj.mk test -h is deprecated; use -L instead. 2002-08-31 02:22:33 +00:00
bsd.own.mk If we carry our MODULES_WITH_WORLD, we probably also do not want 2003-03-03 22:54:35 +00:00
bsd.port.mk Style. 2002-04-19 07:43:50 +00:00
bsd.port.post.mk Fix the type of .include. 2002-04-19 07:42:41 +00:00
bsd.port.pre.mk Fix the type of .include. 2002-04-19 07:42:41 +00:00
bsd.port.subdir.mk Style. 2002-04-19 07:43:50 +00:00
bsd.prog.mk Added the new variable CTAGS which, if set to "ctags", reverts 2002-10-17 13:48:13 +00:00
bsd.README Record the sudden death of bsd.kern.mk and bsd.sgml.mk. 2003-03-12 14:31:36 +00:00
bsd.subdir.mk Moved the `distribute' target from bsd.obj.mk to bsd.subdir.mk, 2002-07-12 15:09:35 +00:00
bsd.sys.mk Add a mechanism to allow Makefiles to specify the particular C dialect 2003-05-01 14:36:27 +00:00
Makefile Fixed sys/boot/pc98/boot2/Makefile to use kern.mk and 2003-03-02 21:18:40 +00:00
sys.mk Axe CXXINCLUDES from CXXFLAGS, it serves no useful purpose anymore. 2003-04-22 11:04:25 +00:00