summaryrefslogtreecommitdiff
path: root/lib/am/depend2.am
diff options
context:
space:
mode:
authorAkim Demaille <akim@epita.fr>2001-02-28 09:53:11 +0000
committerAkim Demaille <akim@epita.fr>2001-02-28 09:53:11 +0000
commit29ade8c79e328cb9f0ed0f132386b4a55027661c (patch)
treeb5705cd1e35fdc21bbed749fafef9a11187e5ad2 /lib/am/depend2.am
parent8df62374836bca3caea03a40844436a0ecc96b3b (diff)
downloadautomake-29ade8c79e328cb9f0ed0f132386b4a55027661c.tar.gz
* automake.in (&add_depend2): Transform `GENERIC'.
Get rid of the ad hoc transformation of `@EXT@.o:' which in addition was broken by the `@ -> %' patch. * depend2.am: Adjust to use ?GENERIC?.
Diffstat (limited to 'lib/am/depend2.am')
-rw-r--r--lib/am/depend2.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/am/depend2.am b/lib/am/depend2.am
index 06b36ad12..77241576b 100644
--- a/lib/am/depend2.am
+++ b/lib/am/depend2.am
@@ -23,19 +23,22 @@
?AMDEP?@AMDEP@%FPFX%DEPMODE = @%FPFX%DEPMODE@
-%EXT%.o:
+?GENERIC?%EXT%.o:
+?!GENERIC?%OBJ%: %SOURCE%
?AMDEP?@AMDEP@ source='%SOURCE%' object='%OBJ%' libtool=no @AMDEPBACKSLASH@
?AMDEP?@AMDEP@ depfile='$(DEPDIR)/%BASE%.Po' tmpdepfile='$(DEPDIR)/%BASE%.TPo' @AMDEPBACKSLASH@
?AMDEP?@AMDEP@ $(%FPFX%DEPMODE) $(depcomp) @AMDEPBACKSLASH@
%COMPILE% -c -o %OBJ% `test -f %SOURCE% || echo '$(srcdir)/'`%SOURCE%
-?LIBTOOL?%EXT%.lo:
+?GENERIC??LIBTOOL?%EXT%.lo:
+?!GENERIC??LIBTOOL?LTOBJ%: %SOURCE%
?LIBTOOL??AMDEP?@AMDEP@ source='%SOURCE%' object='%LTOBJ%' libtool=yes @AMDEPBACKSLASH@
?LIBTOOL??AMDEP?@AMDEP@ depfile='$(DEPDIR)/%BASE%.Plo' tmpdepfile='$(DEPDIR)/%BASE%.TPlo' @AMDEPBACKSLASH@
?LIBTOOL??AMDEP?@AMDEP@ $(%FPFX%DEPMODE) $(depcomp) @AMDEPBACKSLASH@
?LIBTOOL? %LTCOMPILE% -c -o %LTOBJ% `test -f %SOURCE% || echo '$(srcdir)/'`%SOURCE%
-?OBJEXT?%EXT%.obj:
+?GENERIC??OBJEXT?%EXT%.obj:
+?!GENERIC??OBJEXT?%OBJOBJ%: %SOURCE%
?OBJEXT??AMDEP?@AMDEP@ source='%SOURCE%' object='%OBJOBJ%' libtool=no @AMDEPBACKSLASH@
?OBJEXT??AMDEP?@AMDEP@ depfile='$(DEPDIR)/%BASE%.Po' tmpdepfile='$(DEPDIR)/%BASE%.TPo' @AMDEPBACKSLASH@
?OBJEXT??AMDEP?@AMDEP@ $(%FPFX%DEPMODE) $(depcomp) @AMDEPBACKSLASH@