freebsd-dev/share/mk
Dimitry Andric 07b202a847 Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to
get rid of testing explicitly for clang (using ${CC:T:Mclang}) in
individual Makefiles.

Instead, use the following extra macros, for use with clang:
- NO_WERROR.clang       (disables -Werror)
- NO_WCAST_ALIGN.clang  (disables -Wcast-align)
- NO_WFORMAT.clang	(disables -Wformat and friends)
- CLANG_NO_IAS		(disables integrated assembler)
- CLANG_OPT_SMALL	(adds flags for extra small size optimizations)

As a side effect, this enables setting CC/CXX/CPP in src.conf instead of
make.conf!  For clang, use the following:

CC=clang
CXX=clang++
CPP=clang-cpp

MFC after:	2 weeks
2012-02-28 18:30:18 +00:00
..
bsd.arch.inc.mk
bsd.compat.mk
bsd.cpu.mk
bsd.crunchgen.mk Allow crunchgen binary link generation to be disabled. 2012-01-05 21:49:43 +00:00
bsd.dep.mk Also pass the -ansi flag through to mkdep (requested by bde), and fix 2011-10-11 05:17:26 +00:00
bsd.doc.mk
bsd.dtrace.mk
bsd.endian.mk
bsd.files.mk
bsd.incs.mk
bsd.info.mk
bsd.init.mk
bsd.kmod.mk Fix comma splice, can't ambiguity and quoting. 2012-02-16 21:04:47 +00:00
bsd.lib.mk Force linker error when created shared library contains a relocation 2011-12-06 11:28:17 +00:00
bsd.libnames.mk Import libc++ / libcxxrt into base. Not build by default yet (use 2011-11-25 20:59:04 +00:00
bsd.links.mk
bsd.man.mk
bsd.nls.mk
bsd.obj.mk
bsd.own.mk Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default, 2012-02-05 23:56:22 +00:00
bsd.pkg.mk
bsd.port.mk Revert unapproved commit to bsd.port.mk. 2011-10-08 18:25:01 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk - CTF knob is now implemented using common scheme: MK_CTF=yes/no is 2011-11-30 18:11:49 +00:00
bsd.README
bsd.snmpmod.mk
bsd.subdir.mk
bsd.symver.mk
bsd.sys.mk Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
Makefile
sys.mk - fix WITH_CTF when specified in /etc/src.conf [1] 2011-11-29 16:34:44 +00:00
version_gen.awk