You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Ryan Bloom <rb...@covalent.net> on 2002/03/29 18:04:08 UTC

RE: cvs commit: apr/atomic/solaris_sparc Makefile.in

> jim         02/03/29 09:03:19
> 
>   Modified:    atomic/solaris_sparc Makefile.in
>   Log:
>   srcdir is bogus at present... this, at least, allows it to
>   compile and build under Solaris8
> 
>   Revision  Changes    Path
>   1.5       +3 -3      apr/atomic/solaris_sparc/Makefile.in
> 
>   Index: Makefile.in
>   ===================================================================
>   RCS file: /home/cvs/apr/atomic/solaris_sparc/Makefile.in,v
>   retrieving revision 1.4
>   retrieving revision 1.5
>   diff -u -r1.4 -r1.5
>   --- Makefile.in	28 Mar 2002 19:02:10 -0000	1.4
>   +++ Makefile.in	29 Mar 2002 17:03:19 -0000	1.5
>   @@ -9,13 +9,13 @@
>    # bring in rules.mk for standard functionality
>    @INCLUDE_RULES@
> 
>   -apr_atomic_sparc.lo: $(srcdir)/apr_atomic_sparc.s
>   -	$(ASCPP) $(ASCPPFLAGS) $(srcdir)/$*.s > $*.S
>   +apr_atomic_sparc.lo: apr_atomic_sparc.s
>   +	$(ASCPP) $(ASCPPFLAGS) $*.s > $*.S
>    	$(AS) $(ASFLAGS) -o $@ $*.S

This removes the ability to run VPATH builds on Solaris.  There must be
a way to allow both regular and VPATH builds.

Ryan

 


Re: cvs commit: apr/atomic/solaris_sparc Makefile.in

Posted by Aaron Bannert <aa...@clove.org>.
On Fri, Mar 29, 2002 at 09:04:08AM -0800, Ryan Bloom wrote:
> > jim         02/03/29 09:03:19
> > 
> >   Modified:    atomic/solaris_sparc Makefile.in
> >   Log:
> >   srcdir is bogus at present... this, at least, allows it to
> >   compile and build under Solaris8
 
> This removes the ability to run VPATH builds on Solaris.  There must be
> a way to allow both regular and VPATH builds.

Yeah I broke this yesterday because VPATH builds weren't working, since
aparently srcdir isn't defined unless you have VPATH. Now we'll have
srcdir=@srcdir@ effectively twice in this Makefile when using VPATH,
which works but is not right.

I have no idea what the right way to do this is.

-aaron