[PATCH xserver 0/5] Prepare makefiles for automake 2.0 mandatory subdir-objects

Mark Kettenis mark.kettenis at xs4all.nl
Mon Feb 17 14:42:32 PST 2014


> From: Gaetan Nadon <memsize at videotron.ca>
> Date: Mon, 17 Feb 2014 17:33:09 -0500
> 
> Automake 1.14 is warning us about upcoming 2.0 making subdir-objects mandatory.
> This is a feature that has been around for many years but never used in X.
> This feature is not compatible with the way our makefiles cherry-pick source
> files from other directories anywhere in the source tree.
> 
> The subdir-objects feature assumes the path for the source code specified
> in _SOURCES represents a subdirectory relative to makefile. Dependency tracking
> uses the path verbatim to create a directory such as '$(top_srcdir)/hw/xfree86'
> without resolving the variable. The object code will not be generated where
> the makefile is, but in the same where the source was specified.
> 
> The proposed solution is to create a link in git for the source files that
> are shared (fb, mi, xfree86) by multiple directories (kdrive, vfb, ...)

Ugh, please no.  Can't we just stick to automake 1.x?

>From a practical point of view, some of us import Xorg into other
version control systems that don't properly support symlinks.


More information about the xorg-devel mailing list