1 # Copyright 2005 Adam Jackson.
3 # Permission is hereby granted, free of charge, to any person obtaining a
4 # copy of this software and associated documentation files (the "Software"),
5 # to deal in the Software without restriction, including without limitation
6 # on the rights to use, copy, modify, merge, publish, distribute, sub
7 # license, and/or sell copies of the Software, and to permit persons to whom
8 # the Software is furnished to do so, subject to the following conditions:
10 # The above copyright notice and this permission notice (including the next
11 # paragraph) shall be included in all copies or substantial portions of the
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 # FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
17 # ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18 # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 libdrm_la_LTLIBRARIES = libdrm.la
22 libdrm_ladir = $(libdir)
23 libdrm_la_LDFLAGS = -version-number 1:0:0 -no-undefined
25 AM_CFLAGS = -I$(top_srcdir)/shared-core
26 libdrm_la_SOURCES = xf86drm.c xf86drmHash.c xf86drmRandom.c xf86drmSL.c
28 libdrmincludedir = ${includedir}
29 libdrminclude_HEADERS = xf86drm.h
31 klibdrmincludedir = ${includedir}/drm
32 klibdrminclude_HEADERS = \
33 ../shared-core/drm.h \
34 ../shared-core/drm_sarea.h \
35 ../shared-core/i915_drm.h \
36 ../shared-core/i915_drv.h \
37 ../shared-core/imagine_drv.h \
38 ../shared-core/mach64_drm.h \
39 ../shared-core/mach64_drv.h \
40 ../shared-core/mga_drm.h \
41 ../shared-core/mga_drv.h \
42 ../shared-core/mga_ucode.h \
43 ../shared-core/r128_drm.h \
44 ../shared-core/r128_drv.h \
45 ../shared-core/radeon_drm.h \
46 ../shared-core/radeon_drv.h \
47 ../shared-core/savage_drm.h \
48 ../shared-core/savage_drv.h \
49 ../shared-core/sis_drm.h \
50 ../shared-core/sis_drv.h \
51 ../shared-core/sis_ds.h \
52 ../shared-core/tdfx_drv.h \
53 ../shared-core/via_3d_reg.h \
54 ../shared-core/via_drm.h \
55 ../shared-core/via_drv.h \
56 ../shared-core/via_ds.h \
57 ../shared-core/via_mm.h \
58 ../shared-core/via_verifier.h