Re: automake & autoconf

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Sat Jan 09 1999 - 17:06:53 EST


>
> On Jan 9, 1999, Godmar Back <gback@cs.utah.edu> wrote:
>
> > Okay. I thought "no files from other directories" meant to exclude
> > file names such as "../unix-jthreads/internal.c", but you mean that
> > we only disallow
>
> > VPATH+=../unix-jthreads
> > internal.o: ....
>
> > I agree with taht.
>
> Nope, I really mean you can't say unix-jthreads/internal.c in a
> _SOURCES list. That's because some make programs won't handle
> correctly VPATH dependencies on files containing slashes, so you
> wouldn't be able to run srcdir!=builddir builds, and some C compilers
> don't accept -c and -o together, so if you had two file names
> internal.c, in two different directories, their builds would clash.
>

If I want to share "internal.c" between, say "unix-jthreads" and
"oskit-pthreads", but not between "unix-internals" and "unix-jthreads",
what is the portable and legal way to do so if VPATH and ../ are out
of the question?

        Godmar


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:34 EDT