From owner-freebsd-arch Mon Feb 10 14:26: 5 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DADFF37B401 for ; Mon, 10 Feb 2003 14:26:04 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id A32B543F85 for ; Mon, 10 Feb 2003 14:26:03 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h1AMPxqV043625; Mon, 10 Feb 2003 23:26:00 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Alfred Perlstein Cc: Peter Wemm , arch@freebsd.org Subject: Re: Indiscriminately installing all .h files in /usr/include/* From: phk@phk.freebsd.dk In-Reply-To: Your message of "Mon, 10 Feb 2003 14:15:01 PST." <20030210221501.GF88781@elvis.mu.org> Date: Mon, 10 Feb 2003 23:25:59 +0100 Message-ID: <43624.1044915959@critter.freebsd.dk> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20030210221501.GF88781@elvis.mu.org>, Alfred Perlstein writes: >* Peter Wemm [030210 14:09] wrote: >> > >> > If there was a way to do it via cpp defines inside the header that would >> > be nice. >> >> Something like this perhaps? >> ^/* EXPORT_HEADER */$ > >Yes, something like that. I know of one company that brackets the >headers with $COMPANY_PRIVATE for stuff that shouldn't be visible in >/usr/include. if you wind up with an empty file it isn't even installed. I would prefer labeling the stuff that should go into /usr/include, it shouldn't be the default to export stuff unless you ask for it. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message