$AUTOCONF
$AUTOMAKE --add-missing --copy
-# We need explicit rules to build 1.$(OBJEXT) and a.lo. Make sure
-# Automake did not output additional rules for 1.lo and a.lo.
-$FGREP '1.$(OBJEXT):' Makefile.in
-$FGREP '1.lo:' Makefile.in && Exit 1
-$FGREP 'a.$(OBJEXT):' Makefile.in && Exit 1
-$FGREP 'a.lo:' Makefile.in
+# We shouldn't need explicit rules.
- $EGREP '[^%]\.(o|obj|lo) *:' Makefile.in && Exit 1
++$EGREP '[^%]\.(o|obj|lo|\$\(OBJEXT\)) *:' Makefile.in && Exit 1
./configure
$FGREP am_cv_CXX_dependencies_compiler_type configure
# Ensure per-target rules are used, to ensure their coverage below.
# (We do not do an exhaustive check, that wouldn't be practical).
- $FGREP 'bar-bar.o' Makefile.in || Exit 99
-$FGREP 'bar-bar.$(OBJEXT)' Makefile.in
-$FGREP 'fo2-foo5.c' Makefile.in
-$FGREP 'fo2-foo6.c' Makefile.in
++$FGREP 'bar-bar.$(OBJEXT)' Makefile.in || Exit 99
+$FGREP 'baz-foo5.c' Makefile.in || Exit 99
+$FGREP 'baz-foo6.c' Makefile.in || Exit 99
# Force gcc ("fast") depmode.
depmodes="am_cv_CC_dependencies_compiler_type=gcc \
# Ensure per-target rules are used, to ensure their coverage below.
# (We do not do an exhaustive check, that wouldn't be practical).
- $FGREP 'bar-bar.o' Makefile.in || Exit 99
-$FGREP 'bar-bar.$(OBJEXT)' Makefile.in
-$FGREP 'fo2-foo5.c' Makefile.in
-$FGREP 'fo2-foo6.c' Makefile.in
++$FGREP 'bar-bar.$(OBJEXT)' Makefile.in || Exit 99
+$FGREP 'baz-foo5.c' Makefile.in || Exit 99
+$FGREP 'baz-foo6.c' Makefile.in || Exit 99
# Force dependency tracking explicitly, so that slow dependency
# extractors are not rejected. Try also with dependency tracking