I've been doing some work building drivers using XFree86 sdk, and
here are a few things I've noticed.

In order to package a driver snapshot, I had to modify the INCLUDES to
be an absolute path as I wasn't doing it within the sdk tree.

I was wondering would it be worth having a variable that gets expanded
by imake to the XFree86 sdk root so rather than having

#if defined(XF86DriverSDK)
INCLUDES = -I. -I../../include
#else
... standard includes

it would be better to say something along the lines:

INCLUDES = -I. -I$(XF86DriverSDKTop)/include

this would make it easier for packagers as they can just set the value
with a define rather than having to patch each driver they want to build
out of tree (eg for testing newer driver versions).

The imake command I used (I built the ati driver amongst others) was:

imake -I/usr/X11R6/lib/Server/config/cf -DUseInstalled -DXF86DriverSDK

Also I've been experimenting with building some larger projects which
tend to need a full XFree86 source tree with the sdk.  This is going
quite well, but there is some way to go before building a whole Xserver
(eg vnc) is possible.  What is the general feeling about enriching the
XFree86 SDK to more than just graphics drivers?  

Paul
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to