开发者

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

开发者 https://www.devze.com 2022-12-26 18:38 出处:网络
A common issue automake complains about is caused by following lines in various Makefile.am:s Makefile.am:

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 transpo开发者_C百科rt after engine is build.

This line causes the following error when running automake under MinGW:

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


This is caused by an old version of automake (at least 1.7 and older). Newer versions accept multi-level paths as values for SUBDIRS.

0

精彩评论

暂无评论...
验证码 换一张
取 消