Re: [PATCH] newlib: powerpc: switch to Automake conditionals
Corinna Vinschen <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <Yg5WWC/+v2/[email protected]> |
On Feb 16 23:43, Mike Frysinger wrote: > Using xxx_LIBADD, xxx_DEPENDENCIES, and EXTRA_xxx_SOURCES is one way of > conditionally including files into a target. But it's meant more for the > cases where the variables added to LIBADD & DEPENDENCIES are constructed > via substitution (e.g. AC_SUBST) or other dynamic methods. With Automake > conditionals, then the much simpler form is to conditionally append to > the xxx_SOURCES variable and let Automake sort everything out. > --- > newlib/libc/machine/powerpc/Makefile.am | 62 ++++++++--------- > newlib/libc/machine/powerpc/Makefile.in | 91 +++++++++++++++---------- > 2 files changed, 81 insertions(+), 72 deletions(-) ACK, Corinna