NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/42381: LD_ADD.$name does not work as expected



The following reply was made to PR bin/42381; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/42381: LD_ADD.$name does not work as expected
Date: Mon, 14 Dec 2009 02:01:49 +0000

 On Thu, Nov 26, 2009 at 12:55:02PM +0000, Masao Uebayashi wrote:
  > I've never liked these .for loops handling multiple PROGS / LIBS
  > in bsd.prog.mk / bsd.lib.mk.  Because of them these files are
  > almost impossible to maintain.
 
 Me either.
 
 In other (smaller) situations where I've wanted this functionality
 I've generally set up separate "prog.mk" and "progs.mk" (or
 "manyprogs.mk" or whatever) make fragments with the common stuff
 shared under the covers. But refitting our stuff to work this way
 would be a fairly miserable job I think.
 
  >  I wonder if it's possible to put multiple makefiles in a single directory
  >  (not one Makefile with PROGS=foo bar, but foo.mk and bar.mk.)
 
 It's probably better just to make more directories. :-/
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index