Install kernel headers in ${includedir}/drm

main
Kristian Høgsberg 2009-11-20 19:42:59 -05:00
parent 3a87b1f497
commit 4f070d593c
4 changed files with 41 additions and 1 deletions

View File

@ -35,7 +35,7 @@ if HAVE_RADEON
RADEON_SUBDIR = radeon RADEON_SUBDIR = radeon
endif endif
SUBDIRS = . $(INTEL_SUBDIR) $(NOUVEAU_SUBDIR) $(RADEON_SUBDIR) tests SUBDIRS = . $(INTEL_SUBDIR) $(NOUVEAU_SUBDIR) $(RADEON_SUBDIR) tests include
libdrm_la_LTLIBRARIES = libdrm.la libdrm_la_LTLIBRARIES = libdrm.la
libdrm_ladir = $(libdir) libdrm_ladir = $(libdir)

View File

@ -206,4 +206,6 @@ AC_OUTPUT([
tests/Makefile tests/Makefile
tests/modeprint/Makefile tests/modeprint/Makefile
tests/modetest/Makefile tests/modetest/Makefile
include/Makefile
include/drm/Makefile
libdrm.pc]) libdrm.pc])

1
include/Makefile.am Normal file
View File

@ -0,0 +1 @@
SUBDIRS = drm

37
include/drm/Makefile.am Normal file
View File

@ -0,0 +1,37 @@
# Copyright 2005 Adam Jackson.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# on the rights to use, copy, modify, merge, publish, distribute, sub
# license, and/or sell copies of the Software, and to permit persons to whom
# the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# XXX airlied says, nothing besides *_drm.h and drm*.h should be necessary.
# however, r300 and via need their reg headers installed in order to build.
# better solutions are welcome.
klibdrmincludedir = ${includedir}/drm
klibdrminclude_HEADERS = \
drm.h \
drm_mode.h \
drm_sarea.h \
i915_drm.h \
mga_drm.h \
nouveau_drm.h \
r128_drm.h \
radeon_drm.h \
savage_drm.h \
sis_drm.h \
via_drm.h