Re: Getting long SOURCES lines with subdirs shorter

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.sysutils.automake.general
Message-ID <ZWqAwfzMovx6TffI@vapier>
On 01 Dec 2023 21:37, Jan Engelhardt wrote:
> On Friday 2023-12-01 21:13, Mike Frysinger wrote:
> >On 17 Jul 2023 16:51, Karl Berry wrote:
> >> Hi Jan,
> >> 
> >>     Current automake likely won't have anything in store already,
> >> 
> >> Not that I know of.
> >> 
> >>     a_SOURCES = $(addprefix aprog/,main.c foo.c bar.c baz.c)
> >> 
> >> I've often wanted this myself. I'd certainly welcome a patch for it.
> >> 
> >> Please work from automake trunk. None of the various branches are kept
> >> to date. (Sad but that's the reality.)
> >
> >prob stating the obvious, but $(addprefix) is a GNUism, so if we wanted to
> >use it, it'd required feature probing at configure time, and that always
> >complicates things :(
> 
> No-no, the idea was to make $(addprefix) an automakeism that is resolved before
> GNU make (or any other make) is ever invoked.

i thought your concern was about Makefile.in noise.  Makefile.am is somewhat
mitigated via modules & %D%/ prefixes already.  not that i'm anti expanding
things statically when feasible.
-mike
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmVqgMEACgkQQWM7n+g3
9YGZ+Q/5AbBIOu4VjgOjaqXmqgG7zWqSPv/BlO8O1UtjM2hHqi4gPHloNOwjzRql
LLEXFZoyFcQ+7vjhC4EfPRMy8GRe7hdPJkvacTf2RCe8uZfklQOEZgOTyGp54Wff
2ev9pS6AhIc5Vxgbl9Gosr9Gz9qLsTyY7/35dW8nWOqdhRPCh+sgiEmZiI3nhA5M
IvJYXyC3rxX1Sper0xNabJH5MDBmQhSkCeZUVQmK+mK/Gwwpy7O+zJFfgWA+K6b3
vsjCcOGkDpRW/Dg+LjpmMrvNrOc+fKOAq5CBCvkf4YOX6+EBlIK9PdFrHJtbsDwx
CrLTD8FW0HlyqeN9O0KrgSaiwIhZp64r7ovwHtBpkX2QbCp0J0cn6HWY5pycj9UX
n82TZQQ03MKpOJVC/kw6pDHw77/dtOuTmtMfdGJeeHDxt6C/xiwXypW2Wk6HSOlk
DbJKrCFXNM/wQNabBCNx9pNJwkg4j+GmELD3p0vqawS/P51y5kpMqWr8h+VobAZV
FVtfAxGdeRCaR+jnR7q5mSDr5MIoX9QfNPaOpYjXbpxJcks8K7jWAJ+m9oUD830m
N3dlTTiByu2jfQeFjK7qHafaoof/uhz4tp8Sys8djZewFgNPtB1x95UEoErX8jLw
PRRiBwW9F4xiB5juIkJcBB6dEXdUrB9tzXpyaTagbOmKlRum1dU=
=zdYk
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.