[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Substitutions in _SOURCES

From: Timo K Suoranta
Subject: Re: Substitutions in _SOURCES
Date: Fri, 12 Apr 2002 20:25:59 +0300 (EET DST)

>    GNOME_GEN_H_FILES=`cd $srcdir/src ; ls *.gen_h | xargs echo`

This very much looks like the 'Large project support', or 'wildcard
automake' issue which I recently asked about. In general automake wants
that the source file list is not generated by any wildcard means. It
appears to go so far in its paradigm that it tries to detect some
known workarounds like this.

>   gnomemm_gen_files = $(shell cd $(top_srcdir)/src; ls *.gen_h | xargs echo)
>   gnomemmc = $(
> Automake will accept this, allthough it's in the end the same substitution,
> only this time not via configure.

I think there is no foolproof way to detect all possible workarounds. My
lucky guess is that neither wildcards nor wildcard workarounds are
considered acceptable. Automake simply does not like the wildcard feature.

My opionion is that make sucks, and all patches built on top of it,
including but not limited to autotools and automake thus suck. The
alternatives can not offer the portability offered by autotools though :/

I have been thinking about making yet another tool on top of automake
which would generate files. It would make the path from
project file to make even longer and more perverted, but at least it would
maintain portability, and it would work.

Such thing actually already exists: gpt_setup in the Globus toolkit, Looks interesting, but I
haven't had yet time to look into it :/

Hopefully the old make will be dead some day and we have something nice..

-- Timo Suoranta -- address@hidden --

reply via email to

[Prev in Thread] Current Thread [Next in Thread]