3 # Test to make sure Automake supports implicit rules with dot-less
4 # extensions. Also make sure that `.o' is handled like `.$(OBJEXT)'.
6 . $srcdir/defs || exit 1
8 cat > Makefile.am << 'END'
9 SUFFIXES = a b .$(OBJEXT) c .o
11 foo_SOURCES = fooa fuc
25 # Automake must figure that fooa translates to foo.$(OBJEXT) and
26 # foo.$(OBJEXT) using the following rules:
27 # fooa --[ab]--> foob --[b.$(OBJEXT)]--> foo.$(OBJEXT)
28 grep '_OBJECTS.* foo\.$(OBJEXT)' Makefile.in || exit 1
29 # fuc --[c.o]--> fu.$(OBJEXT) ## This is really meant !
30 grep '_OBJECTS.* fu\.$(OBJEXT)' Makefile.in || exit 1