[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: busted 'make swig-py'...

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-03-01 03:45:52 CET

On Fri, Feb 28, 2003 at 06:09:32PM -0800, Ben Collins-Sussman wrote:
> Joe Orton <joe@manyfish.co.uk> writes:
>...
> > This is a common mistake - you can only use $< in inference rules (.c.o
> > style) to be portable. In the BSD make Ben uses $< will expand to
> > nothing in this case - in GNU make it will expand to the left-most
> > dependency (or all of them, I can't remember).
>
> Interesting. But we use $< in other similar places in Makefile.in.
> For example:
>
> # special compilation for files destined for mod_dav_svn
> COMPILE_APACHE_MOD = $(LIBTOOL) $(LTFLAGS) --mode=compile \
> $(CC) $(CPPFLAGS) $(CFLAGS) $(APACHE_INCLUDES) $(INCLUDES) -o $@ -c $<
>
> And I have no problem building mod_dav_svn at all.... ?

Maybe it is because there is a .c.lo rule, so Make gets a bit confused and
does the expansion anyways. But there is no .c.i rule.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 1 03:41:13 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.