From owner-freebsd-commit Wed Jul 26 09:49:10 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id JAA27631 for commit-outgoing; Wed, 26 Jul 1995 09:49:10 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id JAA27615 for cvs-libexec-outgoing; Wed, 26 Jul 1995 09:49:03 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id JAA27603 ; Wed, 26 Jul 1995 09:48:51 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id CAA14987; Thu, 27 Jul 1995 02:44:24 +1000 Date: Thu, 27 Jul 1995 02:44:24 +1000 From: Bruce Evans Message-Id: <199507261644.CAA14987@godzilla.zeta.org.au> To: rgrimes@gndrsh.aac.dev.com, wpaul@freefall.cdrom.com Subject: Re: cvs commit: src/libexec/bootpd Makefile Cc: CVS-commiters@freefall.cdrom.com, cvs-libexec@freefall.cdrom.com Sender: commit-owner@FreeBSD.org Precedence: bulk >> 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