How to properly manage multi-level SUBDIRS in Makefile.am:s?
- by Jukka Dahlbom
Working on platform WinXP with MinGW (gcc4.4) / MSYS, I am trying to get autotools build working for Apache Axis C, which does not support MinGW yet.
A common issue automake complains about is caused by following lines in various Makefile.am:s
axis-c-trunk/src/core/Makefile.am:
SUBDIRS = [other child dirs] deployment transport/http/util transport/http/common engine transport
The intent of this line is to force the order of building so that transport/http/util and transport/http/common are build before the engine directory, and building rest of the transport after engine is build.
This line causes the following error when running automake under MinGW:
src/core/Makefile.am:1: directory should not contain `/'
Now, what would be the correct way of directly including grandchildren directories so that it would functionally work like ordinary SUBDIRS inclusion for immediate child directories?