blob: f9bad1422e5cb16efe9d2c79ce6c269304474bfc [file] [log] [blame]
Eric Anholt07abd912012-05-14 18:38:54 -07001# Copyright © 2012 Intel Corporation
2#
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# the rights to use, copy, modify, merge, publish, distribute, sublicense,
7# and/or sell copies of the Software, and to permit persons to whom the
8# Software is furnished to do so, subject to the following conditions:
9#
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
12# Software.
13#
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 NONINFRINGEMENT. IN NO EVENT SHALL
17# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20# IN THE SOFTWARE.
Brian Paulde0ee312004-03-26 15:19:11 +000021
Ian Romanick2e8c8662012-05-23 15:23:22 -070022SUBDIRS = src
Brian Paulde0ee312004-03-26 15:19:11 +000023
Emil Velikov3018c4a2015-02-12 15:27:28 +000024AM_DISTCHECK_CONFIGURE_FLAGS = \
Emil Velikov64500f22016-02-25 15:48:41 +000025 --enable-dri \
Matt Turnerbaedd682014-12-17 12:41:02 -080026 --enable-dri3 \
Emil Velikov64500f22016-02-25 15:48:41 +000027 --enable-egl \
Matt Turnerbaedd682014-12-17 12:41:02 -080028 --enable-gallium-tests \
Emil Velikov325bc6f2016-02-25 15:20:04 +000029 --enable-gallium-osmesa \
Emil Velikov64500f22016-02-25 15:48:41 +000030 --enable-gallium-llvm \
Matt Turnerbaedd682014-12-17 12:41:02 -080031 --enable-gbm \
32 --enable-gles1 \
33 --enable-gles2 \
Emil Velikov64500f22016-02-25 15:48:41 +000034 --enable-glx \
Matt Turnerbaedd682014-12-17 12:41:02 -080035 --enable-glx-tls \
Emil Velikov51c65a42016-02-25 15:12:49 +000036 --enable-nine \
Emil Velikov325bc6f2016-02-25 15:20:04 +000037 --enable-opencl \
Emil Velikov64500f22016-02-25 15:48:41 +000038 --enable-opengl \
Matt Turnerbaedd682014-12-17 12:41:02 -080039 --enable-va \
40 --enable-vdpau \
41 --enable-xa \
42 --enable-xvmc \
Emil Velikovc45b4252015-11-20 15:15:18 +000043 --disable-llvm-shared-libs \
Emil Velikov325bc6f2016-02-25 15:20:04 +000044 --with-egl-platforms=x11,wayland,drm,surfaceless \
Emil Velikovcfbcabe2015-08-20 22:52:49 +010045 --with-dri-drivers=i915,i965,nouveau,radeon,r200,swrast \
Emil Velikov325bc6f2016-02-25 15:20:04 +000046 --with-gallium-drivers=i915,ilo,nouveau,r300,r600,radeonsi,freedreno,svga,swrast,vc4,virgl
Matt Turnerbaedd682014-12-17 12:41:02 -080047
Matt Turner7da12422012-09-18 20:21:47 -070048ACLOCAL_AMFLAGS = -I m4
49
Matt Turner0ac98e72014-12-07 13:30:24 -080050EXTRA_DIST = \
Matt Turnerd51150a2014-12-07 14:48:15 -080051 autogen.sh \
Matt Turner952b3242014-12-07 14:07:32 -080052 common.py \
Matt Turner0ac98e72014-12-07 13:30:24 -080053 docs \
Matt Turner952b3242014-12-07 14:07:32 -080054 doxygen \
55 scons \
56 SConstruct
Matt Turner0ac98e72014-12-07 13:30:24 -080057
Emil Velikovb2439602015-03-23 16:17:34 +000058noinst_HEADERS = \
59 include/c99_alloca.h \
60 include/c99_compat.h \
61 include/c99_math.h \
Emil Velikovb2439602015-03-23 16:17:34 +000062 include/c11 \
63 include/D3D9 \
64 include/HaikuGL \
65 include/no_extern_c.h \
Matt Turner55afbcc2013-11-11 19:45:05 -080066 include/pci_ids
Chia-I Wu238f7822010-05-07 22:09:45 +080067
Matt Turnera2672122014-12-07 13:21:53 -080068# We list some directories in EXTRA_DIST, but don't actually want to include
69# the .gitignore files in the tarball.
70dist-hook:
71 find $(distdir) -name .gitignore -exec $(RM) {} +