Fix for bug reported by Steve M. Robbins: * automake.in (handle_single_transform_list): When building a file from a subdirectory, continue to use `AM_' prefix. * tests/Makefile.am (TESTS): Added subobj7.test. * tests/subobj7.test: New file.