httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: cvs commit: httpd-2.0/build rules.mk
Date Fri, 19 Jan 2001 21:59:05 GMT

> >    depend: depend-recursive
> >   -	gcc -MM $(INCLUDES) $(EXTRA_INCLUDES) $(DEFS) $(CPPFLAGS) $(srcdir)/*.c | sed
's/\.o:/.lo:/' > $(builddir)/.deps || true
> >   -#	test "`echo *.c`" = '*.c' || perl $(top_srcdir)/build/mkdep.perl $(CPP) $(INCLUDES)
$(EXTRA_INCLUDES) *.c > .deps
> >   +	if test "`find . -name "*.c" -maxdepth 1 -print`" != ""; then \
> >   +	    gcc -MM $(INCLUDES) $(EXTRA_INCLUDES) $(DEFS) $(CPPFLAGS) $(srcdir)/*.c
| sed 's/\.o:/.lo:/' > $(builddir)/.deps || true;           \
> >   +	fi
> >   +#	    test "`echo *.c`" = '*.c' || perl $(top_srcdir)/build/mkdep.perl $(CPP)
$(INCLUDES) $(EXTRA_INCLUDES) *.c > .deps
> 
> Jeff pointed out to me a while back that maxdepth isn't portable (I tried to
> use it, too :-)
> 
> I got a fix for this...

I have 2 things to say to you...

Damn! and Cool!   :-)

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message