From owner-freebsd-arch Mon Mar 12 11:38:41 2001 Delivered-To: freebsd-arch@freebsd.org Received: from molly.straylight.com (molly.straylight.com [209.68.199.242]) by hub.freebsd.org (Postfix) with ESMTP id A2E7137B71F for ; Mon, 12 Mar 2001 11:38:35 -0800 (PST) (envelope-from jonathan@graehl.org) Received: from dickie (case.straylight.com [209.68.199.244]) by molly.straylight.com (8.11.0/8.10.0) with SMTP id f2CJcUw28496 for ; Mon, 12 Mar 2001 11:38:30 -0800 From: "Jonathan Graehl" To: "freebsd-Arch" Subject: RE: Breaking up make.conf Date: Mon, 12 Mar 2001 11:38:56 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-reply-to: <200103121913.f2CJDtI38620@harmony.village.org> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a side question about the bsd.*.mk files: the documentation says that they cannot easily handle programs with sources in subdirectories; shouldn't the VPATH directive allow for this? I recently (using GNU make; BSD make docs indicate support also) used VPATH to build two servers including common source from ../shared/ (but the generated objects were different because of -Ddefines and compiler flags, and were nicely generated and found in the build directory, since they could be referenced by "shared.o" rather than "../shared/shared.o" due to the VPATH directive). Does BSD make support this behavior? Could a Makefile including bsd.prog.mk make use of it? I suppose I am supposed to simply write my own makefiles (and that is what I did), but I originally had thought that the bsd.*.mk had a nice, uniform system, and would have used them if not for my inability to build a program from non-flat-sources using them. -- Jonathan Graehl email: jonathan@graehl.org web: http://jonathan.graehl.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message