[PATCH] Fix build with BSD make.

Alan Coopersmith alan.coopersmith at oracle.com
Thu Feb 17 21:18:43 PST 2011


On 02/15/11 06:22 AM, Dan Nicholson wrote:
> On Mon, Feb 14, 2011 at 08:43:08AM +0100, Matthieu Herrb wrote:
>> On Sun, Feb 13, 2011 at 04:44:35PM -0800, Alan Coopersmith wrote:
>>> On 02/13/11 12:51 PM, Matthieu Herrb wrote:
>>>> $< is not allowed in explicit rules.
>>>
>>> Solaris make has the same limitation, but since I have to use gnu make due to
>>> the sinclude in hw/xfree86/loader/Makefile.am I'd not noticed that
>>> yet.
>>
>> Yes I have a local patch for that too. I don't know how to achieve
>> this in a portable way. 
> 
> I think this should fix the sinclude issue. I tried to look at whether
> sdksyms.dep could be dropped, but automake sets up automatic deps for
> the object, not the source file. So, I think we need to generate deps
> for the source file so that sdksyms.c gets regenerated and not just
> recompiled.

Seems to work here with Solaris make.   Thanks!

Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list