How to use multi-level SUBDIRS in Makefile.am:s?

Posted by Jukka Dahlbom on Stack Overflow See other posts from Stack Overflow or by Jukka Dahlbom
Published on 2010-04-15T13:41:57Z Indexed on 2010/04/17 16:23 UTC
Read the original article Hit count: 339

Filed under:
|

A common issue automake complains about is caused by following lines in various Makefile.am:s

Makefile.am:
SUBDIRS = 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:

Makefile.am:1: directory should not contain `/'

© Stack Overflow or respective owner

Related posts about automake

Related posts about subdirs