more GNU-make-ism in apps

Matthieu Herrb matthieu.herrb at laas.fr
Fri Jul 15 08:08:53 EST 2005


Soeren Sandmann wrote:

> Does BSD make support $(foreach? Because that is used all over the place 
> ... I though it was
> safe to use since IRIX 6.5 make supported it. 

Um, I'm not that far (fonts). But no $(foreach...) is not supported in 
BSD make.

The  uses of foreach I've seen so far can be handled by standard 
variable substitutions as far as I can tell.

Otherwise, BSD make has its own loop mechanism though, but this would 
mean making conditionnal parts depending on the make style.

> Also the $< automatic 
> variable is used a lot.

Yes. I've started fixing those slowly.

-- 
Matthieu Herrb


More information about the xorg-modular mailing list