Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> [ scratches head ... ] Where is the expansion happening, then? Seems
>> weird.
> The $@ is expanded as a make variable. Make does care whether you're
> executing a $(shell) thing around it. However, it seems that $@ should
> expand to nothing in that assignment, so where's the problem?
I think the complaint is that we need it to still look like $@ when
TCL_SHLIB_LD is used in the shlib-building rule. If Make recursively
expands the variable before executing the $shell construct then we
got trouble.
Ugly as it is, the check on portname may be the best solution available.
I'm gonna think a little more, but I haven't got a better idea now.
regards, tom lane