On Thu, Mar 20, 2014 at 07:29:32AM -0400, Ilia Mirkin wrote:
> On Wed, Mar 19, 2014 at 11:43 PM, Jonathan Gray <j...@jsg.id.au> wrote:
> > drm headers may be installed in a different directory
> 
> I'm curious -- how can this happen? Looking at Makefile.am from
> drm:nouveau/Makefile.am:
> 
> libdrm_nouveauincludedir = ${includedir}/libdrm
> libdrm_nouveauinclude_HEADERS = nouveau.h

libdrm is built with bsd makefiles in the OpenBSD xenocara/X11 tree.
http://www.openbsd.org/cgi-bin/cvsweb/xenocara/lib/libdrm/

The *_drm.h headers are shared between userland and the kernel.

ie what Linux calls the 'uapi' headers can be found in
/usr/include/dev/pci/drm/
and the other libdrm headers are currently installed to
/usr/X11R6/include/

The libdrm*.pc pkg-config files reflect this.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to