+2001-05-08 Akim Demaille <akim@epita.fr>
+
+ * automake.in (&handle_languages): Don't transform %COMPILER%.
+ Use `$lang->compiler' instead of `$pfx' to transform generic
+ %COMPILE% and %LTCOMPILE%.
+ * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
+ of %COMPILER% and $<.
+
2001-05-07 Akim Demaille <akim@epita.fr>
* automake.in (&handle_languages): Use the same `%transform' for
'LTOBJ' => '$@',
'OBJOBJ' => '$@',
- 'COMPILER' => $lang->compiler,
- 'COMPILE' => '$(' . $pfx . 'COMPILE)',
- 'LTCOMPILE' => '$(LT' . $pfx . 'COMPILE)',
+ 'COMPILE' => '$(' . $lang->compiler . ')',
+ 'LTCOMPILE' => '$(LT' . $lang->compiler . ')',
'OUTARG' => $outarg,
'LTOUTARG' => $ltoutarg);
## LTOUTARG is set to `', or `-o $@'.
.%EXT%.o:
- $(%COMPILER%) %OUTARG% $<
+ %COMPILE% %OUTARG% %SOURCE%
.%EXT%.obj:
## FIXME: Using cygpath should be somehow conditional.
- $(%COMPILER%) %OUTARG% `cygpath -w $<`
+ %COMPILE% %OUTARG% `cygpath -w %SOURCE%`
if %?LIBTOOL%
.%EXT%.lo:
## We don't care if there are several `-o', libtool handles it gracefully.
- $(LT%COMPILER%) %OUTARG% %LTOUTARG% $<
+ %LTCOMPILE% %OUTARG% %LTOUTARG% %SOURCE%
endif %?LIBTOOL%