From owner-cvs-all Sun May 12 0: 5:51 2002 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id E300D37B407; Sun, 12 May 2002 00:05:37 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g4C75MU79533; Sun, 12 May 2002 10:05:22 +0300 (EEST) (envelope-from ru) Date: Sun, 12 May 2002 10:05:21 +0300 From: Ruslan Ermilov To: "David O'Brien" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Bruce Evans Cc: Bruce Evans , Dag-Erling Smorgrav Subject: Re: cvs commit: src/share/mk bsd.lib.mk Message-ID: <20020512070521.GA79173@sunbay.com> References: <20020510152512.GB14295@sunbay.com> <20020512013147.O4925-100000@gamplex.bde.org> <20020511105359.B11522@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: <20020511105359.B11522@dragon.nuxi.com> User-Agent: Mutt/1.3.99i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 11, 2002 at 10:53:59AM -0700, David O'Brien wrote: > On Sun, May 12, 2002 at 01:40:50AM +1000, Bruce Evans wrote: > > > > Modified files: > > > > share/mk bsd.lib.mk > > > > Log: > > > > Get rid of the INTERNALSTATICLIB knob and just use plain INTERNAL= LIB. > > > > INTERNALLIB now implies NOPROFILE, NOMAN, and don't install anyth= ing. > > > > Add a NOLIB knob. > > > > > > > > Revision Changes Path > > > > 1.118 +12 -5 src/share/mk/bsd.lib.mk > > > > > > > This change "breaks" all bsd.lib.mk makefiles with INTERNALLIB but wi= thout > > > INTERNALSTATICLIB. These are: > > Is the breakage just to build libraries which are never used? >=20 > Define "breaks". Is it more than the "ran lib.a" part? I have been able > to do multiple `make world's on three platforms -- including sparc64 > which had very little already installed. So I know I don't break world. >=20 "Breaks" means it does unnecessary job now. That's why I took it in quotes. > > > gnu/lib/csu/Makefile > > > lib/csu/alpha/Makefile > > > lib/csu/i386-elf/Makefile > > > lib/csu/ia64/Makefile > > > lib/csu/powerpc/Makefile > > > lib/csu/sparc64/Makefile > > > lib/libgnumalloc/Makefile > > > lib/libresolv/Makefile > > > sys/boot/alpha/libalpha/Makefile > > > sys/boot/arc/lib/Makefile > > > sys/boot/i386/btx/lib/Makefile > > > sys/boot/pc98/btx/lib/Makefile > > > > > > These should be fixed by s/INTERNALLIB/NOLIB/ in them. >=20 > Uh gnu/lib/csu/Makefile already has NOLIB, so why did you list it as > "broken"? >=20 I searched for bsd.lib.mk makefiles with INTERNALLIB but without INTERNALSTATICLIB. > I'll look at them, but NOLIB means exactly that -- no .a should be built. > I know lib/libgnumalloc wants to build a .a or .so. So I have to wonder > if you read the diff. sys/boot/alpha/libalpha does produce a .a. >=20 NOLIB shouldn't exist at all. It should be implied by the missing LIB=3D assignment. And of couse NOLIB (or missing LIB=3D variant of it) should not imply NOMAN, etc. Please pass your further bsd.lib.mk changes for review through me. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE83hQxUkv4P6juNwoRApj+AJ45HKXlY6pTp955YOqayCLtr6p4YwCcD+Ou KFwRknGoJlgH+bjX/YjrCsM= =0OSo -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message