This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
subdir-objects & object file obfustication
- From: Bob Friesenhahn <bfriesen at simple dot dallas dot tx dot us>
- To: automake at gnu dot org
- Date: Fri, 21 Nov 2003 12:42:48 -0600 (CST)
- Subject: subdir-objects & object file obfustication
I have a non-recursive make working successfully using Automake 1.7.9
and the 'subdir-objects' option. Before the 'subdir-objects' option
was supplied, it appeared that objects and dependency files were
written to the current directory using their normal base file names
(with directory part stripped). After the 'subdir-objects' option is
supplied, the objects and dependency files are placed in the same
directory as the source files, but the object/depenendency file names
are modified so that they are prefixed with the Automake target name.
For example "foo/bar/splat/file.c" results in
"foo/bar/splat/foo_bar_none_file.o"
Is this the expected behaviour, or is the sense of the
'subdir-objects' logic reversed? It makes more sense that if
'subdir-objects' is not supplied that intermediate files use the
protective name prefixing whereas if 'subdir-objects' is supplied, the
name prefixing is unneeded and undesireable.
Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen