[Monetdb-developers] Conditional in Makefiles

Sjoerd Mullender sjoerd at acm.org
Mon Jan 15 16:16:17 CET 2007

On 2007-01-15 15:54, Jan Rittinger wrote:
> Hi Niels, hi Sjoerd,
> Based on a condition in configure I want to compile different files.
> I know that it is possible to include a directory based on a condition, 
> but couldn't find a solution for files. Is there any?
> -- If that's not possible is there some magic for the Makefile.ag files 
> to write a snippet of code that survives autoconf and automake without 
> changes?
> Jan

Look for COND in Makefile.ag.  There are some that have that, and that's
what you can use.  There's even one in pathfinder in src/tools/Makefile.ag.

Sjoerd Mullender

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 370 bytes
Desc: OpenPGP digital signature
URL: <http://www.monetdb.org/pipermail/developers-list/attachments/20070115/82bcebbb/attachment.sig>

More information about the developers-list mailing list