+2003-03-08 Alexandre Duret-Lutz <adl@gnu.org>
+
+ * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
+ (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
+ Just echo the gcc command.
+ Suggested by Karl Berry.
+
2003-03-06 Alexandre Duret-Lutz <adl@gnu.org>
* lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
?!GENERIC?%OBJ%: %SOURCE%
if %FASTDEP%
## In fast-dep mode, we can always use -o.
- if %COMPILE% -MT %OBJ% -MD -MP -MF "%DEPBASE%.Tpo" \
+ @echo " %COMPILE% -MT %OBJ% -MD -MP -MF %DEPBASE%.Tpo %-c% -o %OBJ%" \
+?!GENERIC? `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE%
+?GENERIC? %SOURCE%
+ @if %COMPILE% -MT %OBJ% -MD -MP -MF "%DEPBASE%.Tpo" \
## For non-suffix rules, we must emulate a VPATH search on %SOURCE%.
?!GENERIC? %-c% -o %OBJ% `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE%; \
?GENERIC? %-c% -o %OBJ% %SOURCE%; \
?!GENERIC?%OBJOBJ%: %SOURCE%
if %FASTDEP%
## In fast-dep mode, we can always use -o.
- if %COMPILE% -MT %OBJOBJ% -MD -MP -MF "%DEPBASE%.Tpo" \
+ @echo " %COMPILE% -MT %OBJOBJ% -MD -MP -MF %DEPBASE%.Tpo %-c% -o %OBJ%" \
+?!GENERIC? `if test -f '%SOURCE%'; then $(CYGPATH_W) '%SOURCE%'; else $(CYGPATH_W) '$(srcdir)/%SOURCE%'; fi`
+?GENERIC? %SOURCE%
+ @if %COMPILE% -MT %OBJOBJ% -MD -MP -MF "%DEPBASE%.Tpo" \
## For non-suffix rules, we must emulate a VPATH search on %SOURCE%.
?!GENERIC? %-c% -o %OBJOBJ% `if test -f '%SOURCE%'; then $(CYGPATH_W) '%SOURCE%'; else $(CYGPATH_W) '$(srcdir)/%SOURCE%'; fi`; \
?GENERIC? %-c% -o %OBJOBJ% `$(CYGPATH_W) '%SOURCE%'`; \
?!GENERIC?%LTOBJ%: %SOURCE%
if %FASTDEP%
## In fast-dep mode, we can always use -o.
- if %LTCOMPILE% -MT %LTOBJ% -MD -MP -MF "%DEPBASE%.Tpo" \
+ @echo " %LTCOMPILE% -MT %LTOBJ% -MD -MP -MF %DEPBASE%.Tpo %-c% -o %LTOBJ%" \
+?!GENERIC? `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE%
+?GENERIC? %SOURCE%
+ @if %LTCOMPILE% -MT %LTOBJ% -MD -MP -MF "%DEPBASE%.Tpo" \
?GENERIC? %-c% -o %LTOBJ% %SOURCE%; \
## For non-suffix rules, we must emulate a VPATH search on %SOURCE%.
?!GENERIC? %-c% -o %LTOBJ% `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE%; \