You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Greg Stein <gs...@lyra.org> on 2001/09/19 01:24:59 UTC

Re: cvs commit: httpd-2.0/modules/ssl Makefile.in

This shouldn't be needed... isn't the whole point of VPATH to look in
$(top_srcdir) if the file isn't present in the build dir?

The value passed to flex would need the $(top_srcdir) since Make can't get
in there and fix it, but the dependency line "shouldn't" need the change.

Cheers,
-g

On Tue, Sep 18, 2001 at 08:31:37PM -0000, rbb@apache.org wrote:
> rbb         01/09/18 13:31:37
> 
>   Modified:    modules/ssl Makefile.in
>   Log:
>   Allow VPATH builds for SSL.
>   Submitted by:	 Cody Sherr <cs...@covalent.net>
>   
>   Revision  Changes    Path
>   1.3       +4 -4      httpd-2.0/modules/ssl/Makefile.in
>   
>   Index: Makefile.in
>   ===================================================================
>   RCS file: /home/cvs/httpd-2.0/modules/ssl/Makefile.in,v
>   retrieving revision 1.2
>   retrieving revision 1.3
>   diff -u -r1.2 -r1.3
>   --- Makefile.in	2001/05/05 13:21:52	1.2
>   +++ Makefile.in	2001/09/18 20:31:37	1.3
>   @@ -57,12 +57,12 @@
>    #   (we really don't expect end users to use these targets!)
>    #
>    
>   -ssl_expr_scan.c: ssl_expr_scan.l ssl_expr_parse.h
>   -	flex -Pssl_expr_yy -s -B ssl_expr_scan.l
>   +ssl_expr_scan.c: $(top_srcdir)/modules/ssl/ssl_expr_scan.l ssl_expr_parse.h
>   +	flex -Pssl_expr_yy -s -B $(top_srcdir)/modules/ssl/ssl_expr_scan.l
>    	sed -e '/$$Header:/d' <lex.ssl_expr_yy.c >ssl_expr_scan.c && rm -f lex.ssl_expr_yy.c
>    
>   -ssl_expr_parse.c ssl_expr_parse.h: ssl_expr_parse.y
>   -	yacc -d ssl_expr_parse.y
>   +ssl_expr_parse.c ssl_expr_parse.h: $(top_srcdir)/modules/ssl/ssl_expr_parse.y
>   +	yacc -d $(top_srcdir)/modules/ssl/ssl_expr_parse.y
>    	sed -e 's;yy;ssl_expr_yy;g' \
>    	    -e '/#if defined(c_plusplus) || defined(__cplusplus)/,/#endif/d' \
>    	    <y.tab.c >ssl_expr_parse.c && rm -f y.tab.c
>   
>   
>   

-- 
Greg Stein, http://www.lyra.org/

Re: cvs commit: httpd-2.0/modules/ssl Makefile.in

Posted by Ryan Bloom <rb...@covalent.net>.
On Tuesday 18 September 2001 04:24 pm, Greg Stein wrote:
> This shouldn't be needed... isn't the whole point of VPATH to look in
> $(top_srcdir) if the file isn't present in the build dir?
>
> The value passed to flex would need the $(top_srcdir) since Make can't get
> in there and fix it, but the dependency line "shouldn't" need the change.

I have never seen VPATH look in srcdir if it isn't in builddir.  I have seen
issues with the dependancies needing the change too.  I think different
makes do things differently, so having it is a good thing.

Ryan
______________________________________________________________
Ryan Bloom				rbb@apache.org
Covalent Technologies			rbb@covalent.net
--------------------------------------------------------------