Eric Anholt | 07abd91 | 2012-05-14 18:38:54 -0700 | [diff] [blame] | 1 | # 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 Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 21 | |
Ian Romanick | 2e8c866 | 2012-05-23 15:23:22 -0700 | [diff] [blame] | 22 | SUBDIRS = src |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 23 | |
Emil Velikov | 3018c4a | 2015-02-12 15:27:28 +0000 | [diff] [blame] | 24 | AM_DISTCHECK_CONFIGURE_FLAGS = \ |
Emil Velikov | 64500f2 | 2016-02-25 15:48:41 +0000 | [diff] [blame] | 25 | --enable-dri \ |
Matt Turner | baedd68 | 2014-12-17 12:41:02 -0800 | [diff] [blame] | 26 | --enable-dri3 \ |
Emil Velikov | 64500f2 | 2016-02-25 15:48:41 +0000 | [diff] [blame] | 27 | --enable-egl \ |
Matt Turner | baedd68 | 2014-12-17 12:41:02 -0800 | [diff] [blame] | 28 | --enable-gallium-tests \ |
Emil Velikov | 325bc6f | 2016-02-25 15:20:04 +0000 | [diff] [blame] | 29 | --enable-gallium-osmesa \ |
Emil Velikov | b3b4156 | 2017-02-07 15:53:14 +0000 | [diff] [blame] | 30 | --enable-llvm \ |
Matt Turner | baedd68 | 2014-12-17 12:41:02 -0800 | [diff] [blame] | 31 | --enable-gbm \ |
| 32 | --enable-gles1 \ |
| 33 | --enable-gles2 \ |
Emil Velikov | 64500f2 | 2016-02-25 15:48:41 +0000 | [diff] [blame] | 34 | --enable-glx \ |
Matt Turner | baedd68 | 2014-12-17 12:41:02 -0800 | [diff] [blame] | 35 | --enable-glx-tls \ |
Emil Velikov | 51c65a4 | 2016-02-25 15:12:49 +0000 | [diff] [blame] | 36 | --enable-nine \ |
Emil Velikov | 325bc6f | 2016-02-25 15:20:04 +0000 | [diff] [blame] | 37 | --enable-opencl \ |
Emil Velikov | 6ef9482 | 2017-10-16 16:40:08 +0100 | [diff] [blame] | 38 | --enable-opencl-icd \ |
Emil Velikov | 64500f2 | 2016-02-25 15:48:41 +0000 | [diff] [blame] | 39 | --enable-opengl \ |
Matt Turner | baedd68 | 2014-12-17 12:41:02 -0800 | [diff] [blame] | 40 | --enable-va \ |
| 41 | --enable-vdpau \ |
| 42 | --enable-xa \ |
| 43 | --enable-xvmc \ |
Emil Velikov | 23dcce0 | 2017-01-12 17:18:51 +0000 | [diff] [blame] | 44 | --enable-llvm-shared-libs \ |
Emil Velikov | 9aba643 | 2017-09-11 18:13:55 +0100 | [diff] [blame] | 45 | --enable-libunwind \ |
Emil Velikov | 7748c3f | 2017-04-17 13:29:41 +0100 | [diff] [blame] | 46 | --with-platforms=x11,wayland,drm,surfaceless \ |
Emil Velikov | cfbcabe | 2015-08-20 22:52:49 +0100 | [diff] [blame] | 47 | --with-dri-drivers=i915,i965,nouveau,radeon,r200,swrast \ |
Eric Anholt | 7029ec0 | 2017-05-08 15:57:21 -0700 | [diff] [blame] | 48 | --with-gallium-drivers=i915,nouveau,r300,pl111,r600,radeonsi,freedreno,svga,swrast,vc4,virgl,swr,etnaviv,imx \ |
Emil Velikov | c572360 | 2016-10-12 19:05:33 +0100 | [diff] [blame] | 49 | --with-vulkan-drivers=intel,radeon |
Matt Turner | baedd68 | 2014-12-17 12:41:02 -0800 | [diff] [blame] | 50 | |
Matt Turner | 7da1242 | 2012-09-18 20:21:47 -0700 | [diff] [blame] | 51 | ACLOCAL_AMFLAGS = -I m4 |
| 52 | |
Matt Turner | 0ac98e7 | 2014-12-07 13:30:24 -0800 | [diff] [blame] | 53 | EXTRA_DIST = \ |
Matt Turner | d51150a | 2014-12-07 14:48:15 -0800 | [diff] [blame] | 54 | autogen.sh \ |
Matt Turner | 952b324 | 2014-12-07 14:07:32 -0800 | [diff] [blame] | 55 | common.py \ |
Matt Turner | 0ac98e7 | 2014-12-07 13:30:24 -0800 | [diff] [blame] | 56 | docs \ |
Matt Turner | 952b324 | 2014-12-07 14:07:32 -0800 | [diff] [blame] | 57 | doxygen \ |
Jose Fonseca | b99dcbf | 2017-08-01 14:36:16 +0100 | [diff] [blame] | 58 | bin/git_sha1_gen.py \ |
Matt Turner | 952b324 | 2014-12-07 14:07:32 -0800 | [diff] [blame] | 59 | scons \ |
Dylan Baker | e4796ab | 2017-09-30 12:14:02 -0700 | [diff] [blame] | 60 | SConstruct \ |
| 61 | build-support/conftest.dyn \ |
Dylan Baker | 436ed65 | 2018-01-17 14:13:11 -0800 | [diff] [blame] | 62 | build-support/conftest.map \ |
| 63 | meson.build \ |
| 64 | meson_options.txt \ |
| 65 | bin/meson.build \ |
| 66 | include/meson.build \ |
Dylan Baker | 1550c67 | 2018-03-26 11:10:16 -0700 | [diff] [blame] | 67 | bin/install_megadrivers.py \ |
| 68 | bin/meson_get_version.py |
Matt Turner | 0ac98e7 | 2014-12-07 13:30:24 -0800 | [diff] [blame] | 69 | |
Emil Velikov | b243960 | 2015-03-23 16:17:34 +0000 | [diff] [blame] | 70 | noinst_HEADERS = \ |
| 71 | include/c99_alloca.h \ |
| 72 | include/c99_compat.h \ |
| 73 | include/c99_math.h \ |
Emil Velikov | b243960 | 2015-03-23 16:17:34 +0000 | [diff] [blame] | 74 | include/c11 \ |
Eric Anholt | 5d6271c | 2017-06-28 16:35:55 -0700 | [diff] [blame] | 75 | 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 Anholt | a2d87a0 | 2017-06-15 16:52:22 -0700 | [diff] [blame] | 79 | include/drm-uapi/vc4_drm.h \ |
Emil Velikov | b243960 | 2015-03-23 16:17:34 +0000 | [diff] [blame] | 80 | include/D3D9 \ |
Emil Velikov | 3511a86 | 2016-10-20 18:41:22 +0100 | [diff] [blame] | 81 | include/GL/wglext.h \ |
Emil Velikov | b243960 | 2015-03-23 16:17:34 +0000 | [diff] [blame] | 82 | include/HaikuGL \ |
| 83 | include/no_extern_c.h \ |
Matt Turner | 55afbcc | 2013-11-11 19:45:05 -0800 | [diff] [blame] | 84 | include/pci_ids |
Chia-I Wu | 238f782 | 2010-05-07 22:09:45 +0800 | [diff] [blame] | 85 | |
Matt Turner | a267212 | 2014-12-07 13:21:53 -0800 | [diff] [blame] | 86 | # We list some directories in EXTRA_DIST, but don't actually want to include |
| 87 | # the .gitignore files in the tarball. |
| 88 | dist-hook: |
| 89 | find $(distdir) -name .gitignore -exec $(RM) {} + |