This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]