Hi,

when one decides to drive make in a non-recursive fashion, one has to 
write an Automake file like this:

lib_LTLIBRARIES = foo/bar.la
foo_bar_la_SOURCES = foo/one.c foo/two.c

Usually I stuff that into a file called "foo/Automakefile" and "include 
foo/Automakefile" from the real Makefile.am. Despite being in a 
subdirectory, one may not omit foo/; that is ok.

However, it is tiresome. Is there perhaps a way, or a planned 
development action, so that one can omit all foo/s inside 
foo/Automakefile and have automake automatically add foo/ upon seeing 
"include" (or a variant thereof) in the upper Makefile.am?

Also, when subdir-objects is in effect, it will create odd long names 
such as foo/foo_bar_la-one.o where at least the foo_ prefix would be 
redundant in some cases.



Jan


Reply via email to