From owner-cvs-all Thu Nov 2 5:16:47 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D5A0637B479; Thu, 2 Nov 2000 05:16:43 -0800 (PST) Received: (from joe@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA47463; Thu, 2 Nov 2000 05:16:43 -0800 (PST) (envelope-from joe@FreeBSD.org) Message-Id: <200011021316.FAA47463@freefall.freebsd.org> From: Josef Karthauser Date: Thu, 2 Nov 2000 05:16:43 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/release/picobsd/build munge_crunchmk.pl Makefile.crunch src/release/picobsd/net/crunch1 buildopts.inc X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG joe 2000/11/02 05:16:43 PST Modified files: release/picobsd/build Makefile.crunch Added files: release/picobsd/build munge_crunchmk.pl release/picobsd/net/crunch1 buildopts.inc Log: Post process the crunch1.mk file to allow make arguments to passed on a per program basis allowing a greater control on what is built. The buildopts file contains Makefile lines of form: # Anything added to OPTS is added to every build rule. OPTS= -DNOPAM # These should only be added to the build of user-ppp. ppp_OPTS= -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID \ -DHAVE_DES -DNORADIUS -DNOI4B -DNONETGRAPH Really these should be added to crunch.inc, but that file is currently optional, and if defined masks the global one. Next step will be to move these global settings back out into the individual builds as OPTS, and then migrate OPTS and prog_OPTS back into the local crunch.inc file. Revision Changes Path 1.3 +8 -2 src/release/picobsd/build/Makefile.crunch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message