httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sascha Schumann <sas...@schumann.cx>
Subject Re: architecture-specific directories
Date Tue, 14 Nov 2000 20:23:43 GMT
On 14 Nov 2000, Jeff Trawick wrote:

> Greg Stein <gstein@lyra.org> writes:
>
> > Let's stop and remember that *users* do not need dependencies. If they
> > unpack the distribution, they are simply going to compile everything.
> > Dependencies in the makefiles will not help them whatsoever.
> >
> > Given that dependencies are only for *us*, then let's solve the problem for
> > us. Specifically, this means that when *we* generate the dependencies, we'll
> > be doing it on the appropriate platform. And if we assume the dependencies
> > won't get checked in, then everything should be fine.
> >
> > That gives us proper dependencies and keeps the platform stuff out of the .c
> > files.
> >
> > [ I think this simply means that we generate the depencencies into
> >   "Makefile" rather than "Makefile.in" ]
>
> Just what I was thinking...  We just need a script in helpers/ that
> developers can run to tack dependencies onto the bottom of the
> makefiles (Makefile, not Makefile.in).

    +1. As the current GCC method is not portable, awk might be
    more helpful:

        http://lxr.php.net/source/php4/build/mkdep.awk

    - Sascha


Mime
View raw message