This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ok to use autogen to generate Makefile.in?... alternatives?
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Nathanael Nerode <neroden at doctormoo dot dyndns dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: 29 Apr 2002 02:40:36 -0300
- Subject: Re: ok to use autogen to generate Makefile.in?... alternatives?
- Organization: GCC Team, Red Hat
- References: <3CAE6FDD.73E31047@pacbell.net><20020406050702.GB26809@doctormoo.dyndns.org>
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