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.
## 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:
>> .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 $<
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