blob: b0fbed6e063b1a6e4ca92a8e6c5aa4a6bdd9dc41 [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 Velikovf4d26852016-06-10 18:47:32 +010046 --with-gallium-drivers=i915,ilo,nouveau,r300,r600,radeonsi,freedreno,svga,swrast,vc4,virgl,swr \
Emil Velikovdc38e6b2016-04-29 17:10:16 +010047 --with-vulkan-drivers=intel
Matt Turnerbaedd682014-12-17 12:41:02 -080048
Matt Turner7da12422012-09-18 20:21:47 -070049ACLOCAL_AMFLAGS = -I m4
50
Matt Turner0ac98e72014-12-07 13:30:24 -080051EXTRA_DIST = \
Matt Turnerd51150a2014-12-07 14:48:15 -080052 autogen.sh \
Matt Turner952b3242014-12-07 14:07:32 -080053 common.py \
Matt Turner0ac98e72014-12-07 13:30:24 -080054 docs \
Matt Turner952b3242014-12-07 14:07:32 -080055 doxygen \
56 scons \
57 SConstruct
Matt Turner0ac98e72014-12-07 13:30:24 -080058
Emil Velikovb2439602015-03-23 16:17:34 +000059noinst_HEADERS = \
60 include/c99_alloca.h \
61 include/c99_compat.h \
62 include/c99_math.h \
Emil Velikovb2439602015-03-23 16:17:34 +000063 include/c11 \
64 include/D3D9 \
65 include/HaikuGL \
66 include/no_extern_c.h \
Matt Turner55afbcc2013-11-11 19:45:05 -080067 include/pci_ids
Chia-I Wu238f7822010-05-07 22:09:45 +080068
Matt Turnera2672122014-12-07 13:21:53 -080069# We list some directories in EXTRA_DIST, but don't actually want to include
70# the .gitignore files in the tarball.
71dist-hook:
72 find $(distdir) -name .gitignore -exec $(RM) {} +