Eric Anholt | 8bbc0d4 | 2015-07-16 11:24:34 -0700 | [diff] [blame] | 1 | |
Eric Anholt | 972989b | 2013-12-16 09:20:25 -0800 | [diff] [blame] | 2 | # Copyright © 2013 Intel Corporation |
Eric Anholt | a909eb4 | 2013-09-19 09:50:49 -0700 | [diff] [blame] | 3 | # |
Eric Anholt | 972989b | 2013-12-16 09:20:25 -0800 | [diff] [blame] | 4 | # Permission is hereby granted, free of charge, to any person obtaining a |
| 5 | # copy of this software and associated documentation files (the "Software"), |
| 6 | # to deal in the Software without restriction, including without limitation |
| 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 8 | # and/or sell copies of the Software, and to permit persons to whom the |
| 9 | # Software is furnished to do so, subject to the following conditions: |
Eric Anholt | a909eb4 | 2013-09-19 09:50:49 -0700 | [diff] [blame] | 10 | # |
Eric Anholt | 972989b | 2013-12-16 09:20:25 -0800 | [diff] [blame] | 11 | # The above copyright notice and this permission notice (including the next |
| 12 | # paragraph) shall be included in all copies or substantial portions of the |
| 13 | # Software. |
Eric Anholt | a909eb4 | 2013-09-19 09:50:49 -0700 | [diff] [blame] | 14 | # |
Eric Anholt | 972989b | 2013-12-16 09:20:25 -0800 | [diff] [blame] | 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 18 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 20 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
| 21 | # IN THE SOFTWARE. |
Eric Anholt | a909eb4 | 2013-09-19 09:50:49 -0700 | [diff] [blame] | 22 | |
Emmanuele Bassi | 48ee13e | 2017-02-09 17:10:34 +0000 | [diff] [blame] | 23 | ACLOCAL_AMFLAGS = -I m4 |
| 24 | |
Eric Anholt | 43acf7b | 2013-12-06 11:50:00 -0800 | [diff] [blame] | 25 | SUBDIRS = include/epoxy src |
Eric Anholt | a909eb4 | 2013-09-19 09:50:49 -0700 | [diff] [blame] | 26 | |
Eric Anholt | 04cf940 | 2013-11-11 09:59:25 -0800 | [diff] [blame] | 27 | SUBDIRS += test |
Eric Anholt | a909eb4 | 2013-09-19 09:50:49 -0700 | [diff] [blame] | 28 | |
| 29 | pkgconfigdir = $(libdir)/pkgconfig |
| 30 | pkgconfig_DATA = epoxy.pc |
| 31 | |
Emmanuele Bassi | 0ab213b | 2017-02-08 15:55:21 +0000 | [diff] [blame] | 32 | registry_files = \ |
| 33 | registry/egl.xml \ |
| 34 | registry/gl.xml \ |
| 35 | registry/glx.xml \ |
| 36 | registry/wgl.xml \ |
| 37 | $() |
| 38 | |
| 39 | meson_build_files = \ |
| 40 | meson_options.txt \ |
| 41 | meson.build \ |
| 42 | include/epoxy/meson.build \ |
| 43 | src/meson.build \ |
| 44 | test/meson.build \ |
| 45 | doc/meson.build \ |
| 46 | doc/Doxyfile.in \ |
| 47 | cross/fedora-mingw64.txt \ |
| 48 | $() |
| 49 | |
Eric Anholt | a909eb4 | 2013-09-19 09:50:49 -0700 | [diff] [blame] | 50 | EXTRA_DIST = \ |
Eric Anholt | c8cd4b7 | 2015-07-16 11:20:11 -0700 | [diff] [blame] | 51 | .dir-locals.el \ |
Eric Anholt | 0b55e87 | 2013-12-17 15:21:48 -0800 | [diff] [blame] | 52 | README.md \ |
Eric Anholt | c8cd4b7 | 2015-07-16 11:20:11 -0700 | [diff] [blame] | 53 | autogen.sh \ |
Eric Anholt | a909eb4 | 2013-09-19 09:50:49 -0700 | [diff] [blame] | 54 | epoxy.pc.in \ |
Emmanuele Bassi | 0ab213b | 2017-02-08 15:55:21 +0000 | [diff] [blame] | 55 | $(registry_files) \ |
| 56 | $(meson_build_files) \ |
Eric Anholt | a909eb4 | 2013-09-19 09:50:49 -0700 | [diff] [blame] | 57 | $() |
Emmanuele Bassi | 2e2b963 | 2017-02-06 15:20:28 +0000 | [diff] [blame] | 58 | |
| 59 | dist-hook: |
| 60 | @if test -d "$(top_srcdir)/.git"; then \ |
| 61 | echo Generating ChangeLog... ; \ |
| 62 | ( $(top_srcdir)/missing --run git log --stat ) > "$(top_srcdir)/ChangeLog.tmp" \ |
| 63 | && mv -f "$(top_srcdir)/ChangeLog.tmp" "$(top_distdir)/ChangeLog" \ |
| 64 | || ( rm -f "$(top_srcdir)/ChangeLog.tmp"; \ |
| 65 | echo Failed to generate ChangeLog >&2 ); \ |
| 66 | else \ |
| 67 | echo A git checkout is required to generate a ChangeLog >&2; \ |
| 68 | fi |