|
From: Tom H. <to...@co...> - 2005-11-15 10:48:08
|
In message <200...@gm...>
Josef Weidendorfer <Jos...@gm...> wrote:
> I plan to release Callgrind both for VG 3.0 and VG 3.1 as one package.
> These means that I have two similar, but different build targets
> which are conditionally built dependent on the Valgrind installation
> found: for VG 3.0, I build a shared library, for VG 3.1 a static linked
> binary.
>
> Currently, I try to use two different subdirs/Makefile.am's for this,
> using in the toplevel Makefile.am
>
> SUBDIRS = $(CG_SRCDIR)
>
> CG_SRCDIR is set to the right build directory dependent on what
> configure detected.
Sounds horrid, but still... Sounds like I'm going to have fun getting
my in tree builds to work ;-)
> The problem is that "make dist" only includes one of the build dirs,
> not both.
Indeed - it will only include the one you've configured for.
The solution is to set DIST_SUBDIRS to list both directories.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|