httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reid" <ab...@dial.pipex.com>
Subject Re: Makefile suggestions?
Date Fri, 08 Oct 1999 09:58:36 GMT
Just how non-portable is VPATH?

d.
----- Original Message -----
From: Ben Laurie <ben@algroup.co.uk>
To: <new-httpd@apache.org>
Sent: 08 October 1999 10:54
Subject: Re: Makefile suggestions?


> tvaughan@aventail.com wrote:
> >
> > "David Reid" <abb37@dial.pipex.com> writes:
> >
> > > I'm sure that most of you will know more about this than me, and will
be
> > > able to answer this easily..
> > >
> > > What I want to do is to setup the Makefiles in the beos directories to
act
> > > as follows...
> > >
> > > a)  look for the source file in the beos directory,
> > > b)  if it's not there compile the one from the unix directory.
> > >
> > > Makefiles aren't a particular area of expertise for me, but I've got a
> > > solution.  It's ugly and I'm sure that someone out there will have a
better,
> > > more elegant way of doing it.
> > >
> > > I'm starting by looking at the src/lib/apr/misc/beos sub directory,
which
> > > has only 2 files,  start.c and getopt.c.  getopt.c is identical to the
one
> > > in the unix directory so I'd like it to compile that one and remove
the
> > > version in the beos directory.
> >
> > >From GNU make's info page:
> >
> > <info>
> > `VPATH': Search Path for All Dependencies
>
> Sweet, but non-portable.
>
> Cheers,
>
> Ben.
>
> --
> http://www.apache-ssl.org/ben.html
>
> "My grandfather once told me that there are two kinds of people: those
> who work and those who take the credit. He told me to try to be in the
> first group; there was less competition there."
>      - Indira Gandhi


Mime
View raw message