This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ok to use autogen to generate Makefile.in?... alternatives?


On Apr  6, 2002, Nathanael Nerode <neroden@doctormoo.dyndns.org> wrote:

> I'm thinking the majority of the shell script would be giant
> here-documents for the static and repetitive parts.  Around each
> here-document would be a short section appending it to the target file.
> For the repetitive parts, there would also be nested for
> loops with appropriate variable setting, and these variables would be
> substituted into the here-document. 

Alternatively, you could write a Makefile.in with some autoconf
AC_SUBST_FILEs filling in the repetitive parts.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]