]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
authorTom Tromey <tromey@redhat.com>
Sun, 28 Mar 1999 17:32:12 +0000 (17:32 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 28 Mar 1999 17:32:12 +0000 (17:32 +0000)
(@EXT@.lo): Likewise.
* m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
longer needed.

ChangeLog
depend2.am
m4/init.m4

index e163818a0cfeb501027768e9f247358958ae59dd..50cded2ca981c6017119abf6e2f3c74b12f01328 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 1999-03-28  Tom Tromey  <tromey@cygnus.com>
 
+       * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
+       (@EXT@.lo): Likewise.
+       * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
+       longer needed.
+
        * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
        will create the required .P files for dependency tracking.
        * automake.in (scan_dependency_file): Removed.
index dec3e8221f4828e5a5a90e79bef003eed538d81c..17140b9b160bfddd6ad9667d567015289a3656a5 100644 (file)
@@ -15,7 +15,7 @@
 ## along with this program; if not, write to the Free Software
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
-%.o: %@EXT@
+@EXT@.o:
        @echo '$(@PFX@COMPILE) -c $<'; \
 ## There are various ways to get dependency output from gcc.  Here's
 ## why we pick this rather obscure method:
@@ -42,7 +42,7 @@
            >> .deps/$(*F).P; \
        rm .deps/$(*F).pp
 
-%.lo: %@EXT@
+@EXT@.lo:
        @echo '$(LT@PFX@COMPILE) -c $<'; \
 ## See above to understand implementation weirdness.
        $(LT@PFX@COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
index 8f7c1ea6fdc5a2d7cfd47628d43b952a4cb7e42e..a3f4d74f0f2b59bdde7a50342f98f01ab8d30d4d 100644 (file)
@@ -68,7 +68,6 @@ find . -name Makefile -print | while read mf; do
   if test -n "$deps"; then
     dirpart="`echo $mf | sed -e 's|/.*$||'`"
     test -d "$dirpart/.deps" || mkdir "$dirpart/.deps"
-    : > "$dirpart/.deps/.P"
     for file in $deps; do
       test -f "$dirpart/$file" || : > "$dirpart/$file"
     done