Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 1995 02:44:24 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        rgrimes@gndrsh.aac.dev.com, wpaul@freefall.cdrom.com
Cc:        CVS-commiters@freefall.cdrom.com, cvs-libexec@freefall.cdrom.com
Subject:   Re: cvs commit: src/libexec/bootpd Makefile
Message-ID:  <199507261644.CAA14987@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> CFLAGS is an undocumented internal of the .mk files.  Please see 
>> /usr/src/share/mk/bsd.README

CFLAGS is apparently too standard to document.  The README only says
that COPTS is "Additional flags to the compiler when creating C objects".
Most compilers accept the flags that apply only for creating C objects
(e.g. -I) even for linking so there is little need for COPTS.  COPTS only
applies to bsd.prog.mk and bsd.kmod.mk.  The README doesn't know about
bsd.kmod.mk.

>If this is true, then there are a bunch of Makefiles all over
>the place that are wrong (a few of which are, admittedly, my doing).

152 out of 484 files in /usr/src/*/Makefile (31%) use CFLAGS.  0% use COPTS.

>Would you like me to make it a personal mission to fix these whenever
>I find them?

No.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507261644.CAA14987>