[PATCH] Fix build with BSD make.

Dan Nicholson dbn.lists at gmail.com
Mon Feb 14 06:18:45 PST 2011


On Sun, Feb 13, 2011 at 11:43 PM, Matthieu Herrb <matthieu.herrb at laas.fr> 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.

According to the gnu make manual, sinclude is just a synonym for
"-include". Or if the issue is that automake is trying to interpret
that include statement itself, you just need a level of indirection to
keep it down:

SDKSYMS_DEP = sdksyms.dep
-include $(SDKSYMS_DEP)

--
Dan


More information about the xorg-devel mailing list