automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

subdir-objects & object file obfustication


From: Bob Friesenhahn
Subject: subdir-objects & object file obfustication
Date: Fri, 21 Nov 2003 12:42:48 -0600 (CST)

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
address@hidden
http://www.simplesystems.org/users/bfriesen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]