Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 22581 invoked by uid 500); 7 Nov 2001 05:48:26 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 22570 invoked from network); 7 Nov 2001 05:48:26 -0000 Date: Tue, 6 Nov 2001 21:45:24 -0800 From: "Roy T. Fielding" To: Cliff Woolley Cc: dev@httpd.apache.org Subject: Re: BSD Makefiles (was Re: httpd 2.0.27 tarballs are available) Message-ID: <20011106214524.A4948@waka.ebuilt.net> References: <20011106204412.B2720@waka.ebuilt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.20i X-AntiVirus: scanned for viruses by AMaViS 0.2.1-pre3 (http://amavis.org/) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > That sounds like a fine idea to me... except how do you deal with the fact > that any given Makefile in httpd might include two or three different > files, whereas in APR all Makefiles only include rules.mk? Flatten them. APR deals with it by placing all of the rules in one file and selectively activates the rules according to what variables are set in the including file (e.g., SUBDIRS, TARGETS, etc.), which has the effect of selecting a rule via its dependencies. httpd is including separate rules files based on what type of variables would be set. In other words, it is a config-time conditional rather than a make-time conditional. The problem is that it depends on include being portable, which it isn't, which is why apr took a different path. ....Roy