]> sourceware.org Git - automake.git/commitdiff
* lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
authorAlexandre Duret-Lutz <adl@gnu.org>
Sat, 8 Mar 2003 09:02:15 +0000 (09:02 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Sat, 8 Mar 2003 09:02:15 +0000 (09:02 +0000)
(?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
Just echo the gcc command.
Suggested by Karl Berry.

ChangeLog
lib/am/depend2.am

index f5025ef297419b381a620c19d6dcef77d3dcbdfe..0c38ff3d05e5526673d24bd1c7a5b268dcebf012 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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
index d5e8a8250c977437ff01326265ec265af1ddf128..51fd1ebe686c66a63d6c3006e36557bd46c6ff68 100644 (file)
 ?!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%; \
@@ -67,7 +70,10 @@ endif !%FASTDEP%
 ?!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%'`; \
@@ -95,7 +101,10 @@ if %?LIBTOOL%
 ?!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%; \
This page took 0.029638 seconds and 5 git commands to generate.