On 01/12/2001 19:44:44 John Poltorak wrote:

>On Sat, Dec 01, 2001 at 04:30:47PM +0100, Hrvoje Niksic wrote:
>> John Poltorak <[EMAIL PROTECTED]> writes:
>>
>> > Is it possible to include OBJEXT in Makefile.in to make this more
>> > cross-platform?
>>
>> I suppose so.  I mean, o is already defined to .@U@o, but I'm not
>> exactly sure what the U is supposed to stand for.
>
>
>It's looks to me as though @U@ is set up for some variable substitution,
>but I can't work out what for... Maybe it's getting replaced by NULL.
>
>

I know next to nothing about how Auto* is (supposed to be) working, but
I've seen lots of sed commands in


If @U@ is doing a variable substitution, then it'll expand to something
_before_ o
(if @U@ -> bar, then this will result in a dependency involving .baro)

(looking through configure)
Wget's configure contains this towards the end:

s%@U@%$U%g

U seems to be related to ansi2knr:

if(can use prototypes)
     U= ANSI2KNR=
else
     U=_ ANSI2KNR=./ansi2knr
endif

This will result in dependencies written as ._o if ansi2knr was run over
the sources.


This forces me to conclude that using @U@ _CAN_NOT_ and _WILL_NOT_ change
.o to .obj
I think .@U@o might need to be replaced with .@U@@objext@ (if there is such
a beast, in analogy with @exeext@)

Csaba



--
Csaba Ráduly, Software Engineer                           Sophos Anti-Virus
email: [EMAIL PROTECTED]                        http://www.sophos.com
US Support: +1 888 SOPHOS 9                     UK Support: +44 1235 559933

Reply via email to