Marc Slemko wrote:
>
> On freebsd, using both BSD make and GNU make they just don't work.
>
> marcs@alive:~/archive/apache/apache/src$ make
> marcs@alive:~/archive/apache/apache/src$ touch modules/proxy/proxy_ftp.c
> marcs@alive:~/archive/apache/apache/src$ make
> marcs@alive:~/archive/apache/apache/src$ make -v
>
> the problem appears to be that make doesn't like targets with '/'s in
> them. If I escape all the '/'s with '\'s, it works better, although it
> still rebuilds libproxy.a each time but that is the proxy/Makefile doing
> that.
Yes, there are few alternatives to yet more rules when the archive to be
built is more than one directory down from the root of the make. At
least, that's what I remember from the O'Reilly make book.
>
> I'm wondering if the best solution is perhaps to just change the way the
> targets are named so none of them have a '/' in them? Probably not worth
> worrying about before 1.2, since it could be a portability pain to fix.
No, but a definite 1.2.1 thing, so it can do into 2.0, too.
--
chuck
Chuck Murcko
The Topsail Group, West Chester PA USA
chuck@topsail.org
|