[Top][All Lists]

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

Non-recursive automake

From: Jan Engelhardt
Subject: Non-recursive automake
Date: Sat, 17 Oct 2009 19:04:39 +0200 (CEST)
User-agent: Alpine 2.00 (LSU 1167 2008-08-23)


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

lib_LTLIBRARIES = foo/
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 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

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.


reply via email to

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