blob: 9e27db046e5224d6f69543a4e2cd48f566b6b0f3 [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 Velikovb3b41562017-02-07 15:53:14 +000030 --enable-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 Velikov6ef94822017-10-16 16:40:08 +010038 --enable-opencl-icd \
Emil Velikov64500f22016-02-25 15:48:41 +000039 --enable-opengl \
Matt Turnerbaedd682014-12-17 12:41:02 -080040 --enable-va \
41 --enable-vdpau \
42 --enable-xa \
43 --enable-xvmc \
Emil Velikov23dcce02017-01-12 17:18:51 +000044 --enable-llvm-shared-libs \
Emil Velikov9aba6432017-09-11 18:13:55 +010045 --enable-libunwind \
Emil Velikov7748c3f2017-04-17 13:29:41 +010046 --with-platforms=x11,wayland,drm,surfaceless \
Emil Velikovcfbcabe2015-08-20 22:52:49 +010047 --with-dri-drivers=i915,i965,nouveau,radeon,r200,swrast \
Thierry Reding6d4d46b2018-02-22 18:21:45 +010048 --with-gallium-drivers=i915,nouveau,r300,pl111,r600,radeonsi,freedreno,svga,swrast,vc4,tegra,virgl,swr,etnaviv,imx \
Emil Velikovc5723602016-10-12 19:05:33 +010049 --with-vulkan-drivers=intel,radeon
Matt Turnerbaedd682014-12-17 12:41:02 -080050
Matt Turner7da12422012-09-18 20:21:47 -070051ACLOCAL_AMFLAGS = -I m4
52
Matt Turner0ac98e72014-12-07 13:30:24 -080053EXTRA_DIST = \
Matt Turnerd51150a2014-12-07 14:48:15 -080054 autogen.sh \
Matt Turner952b3242014-12-07 14:07:32 -080055 common.py \
Matt Turner0ac98e72014-12-07 13:30:24 -080056 docs \
Matt Turner952b3242014-12-07 14:07:32 -080057 doxygen \
Jose Fonsecab99dcbf2017-08-01 14:36:16 +010058 bin/git_sha1_gen.py \
Matt Turner952b3242014-12-07 14:07:32 -080059 scons \
Dylan Bakere4796ab2017-09-30 12:14:02 -070060 SConstruct \
61 build-support/conftest.dyn \
Dylan Baker436ed652018-01-17 14:13:11 -080062 build-support/conftest.map \
63 meson.build \
64 meson_options.txt \
65 bin/meson.build \
66 include/meson.build \
Dylan Bakerbc2fdb92018-03-26 11:10:16 -070067 bin/install_megadrivers.py \
68 bin/meson_get_version.py
Matt Turner0ac98e72014-12-07 13:30:24 -080069
Emil Velikovb2439602015-03-23 16:17:34 +000070noinst_HEADERS = \
71 include/c99_alloca.h \
72 include/c99_compat.h \
73 include/c99_math.h \
Emil Velikovb2439602015-03-23 16:17:34 +000074 include/c11 \
Eric Anholt5d6271c2017-06-28 16:35:55 -070075 include/drm-uapi/drm.h \
76 include/drm-uapi/drm_fourcc.h \
77 include/drm-uapi/drm_mode.h \
78 include/drm-uapi/i915_drm.h \
Juan A. Suarez Romerod39e8282018-03-19 14:17:22 +010079 include/drm-uapi/tegra_drm.h \
Eric Anholt8a793d42018-05-01 12:00:56 -070080 include/drm-uapi/v3d_drm.h \
Eric Anholta2d87a02017-06-15 16:52:22 -070081 include/drm-uapi/vc4_drm.h \
Emil Velikovb2439602015-03-23 16:17:34 +000082 include/D3D9 \
Emil Velikov3511a862016-10-20 18:41:22 +010083 include/GL/wglext.h \
Emil Velikovb2439602015-03-23 16:17:34 +000084 include/HaikuGL \
85 include/no_extern_c.h \
Dylan Bakercfd7d2b2018-04-20 18:28:57 -070086 include/pci_ids \
87 include/vulkan
Chia-I Wu238f7822010-05-07 22:09:45 +080088
Matt Turnera2672122014-12-07 13:21:53 -080089# We list some directories in EXTRA_DIST, but don't actually want to include
90# the .gitignore files in the tarball.
91dist-hook:
92 find $(distdir) -name .gitignore -exec $(RM) {} +