blob: 226587d2c5b2c9925b1e22e5876f7590dd42f0ae [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 \
Eric Anholt7029ec02017-05-08 15:57:21 -070048 --with-gallium-drivers=i915,nouveau,r300,pl111,r600,radeonsi,freedreno,svga,swrast,vc4,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 Baker1550c672018-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 \
Eric Anholta2d87a02017-06-15 16:52:22 -070079 include/drm-uapi/vc4_drm.h \
Emil Velikovb2439602015-03-23 16:17:34 +000080 include/D3D9 \
Emil Velikov3511a862016-10-20 18:41:22 +010081 include/GL/wglext.h \
Emil Velikovb2439602015-03-23 16:17:34 +000082 include/HaikuGL \
83 include/no_extern_c.h \
Matt Turner55afbcc2013-11-11 19:45:05 -080084 include/pci_ids
Chia-I Wu238f7822010-05-07 22:09:45 +080085
Matt Turnera2672122014-12-07 13:21:53 -080086# We list some directories in EXTRA_DIST, but don't actually want to include
87# the .gitignore files in the tarball.
88dist-hook:
89 find $(distdir) -name .gitignore -exec $(RM) {} +