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

Re: make check

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-06-01 22:09:52 CEST

On Fri, Jun 01, 2001 at 03:07:17PM -0400, Kevin Pilch-Bisson wrote:
> On Fri, Jun 01, 2001 at 12:07:14PM -0700, Greg Stein wrote:
>...
> > > Also note that vpath builds are currently broken by the new build
> > > system, but at some point I plan to hack on it until they are working
> > > again.
> >
> > I don't know how these work; I've never used them. But I also knew that I
> > broke them :-( ... Please feel free to fix it, or provide a bit of education
> > for me so that I can dig in. Looks like we need a couple things? Setting
> > VPATH and creating directories?
> >
>
> Well, with a single makefile, I don't think it will be possible to set
> VPATH, since it can AFAIK only be set to one dir. Instead I think you
> will have to do something like this for you compiling rules.
>
> $(buildir)/path/in/svn/tree/%.o: $(srcdir)/path/in/svn/tree/%.c
> gcc -c -o $@ $<
>
> (Now this can cause problems, because some compilers won't allow you
> to specify both -c and -o (although autoconf should check this)). The
> other problem is that you will probably now need a build rule for each
> of the directories. Hmm... Needs more thought.

Bleck. Yah... this could be interesting :-)

I don't think we can use the %.o type constructs. That is probably specific
to gmake.

The other tricky part has been to keep build-outputs.mk independent of all
configuration parameters and alternatives.

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 Oct 21 14:36:31 2006

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.