1 2# Copyright © 2013 Intel Corporation 3# 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: 10# 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. 14# 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. 22 23ACLOCAL_AMFLAGS = -I m4 24 25SUBDIRS = include/epoxy src 26 27SUBDIRS += test 28 29pkgconfigdir = $(libdir)/pkgconfig 30pkgconfig_DATA = epoxy.pc 31 32registry_files = \ 33 registry/egl.xml \ 34 registry/gl.xml \ 35 registry/glx.xml \ 36 registry/wgl.xml \ 37 $() 38 39meson_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 50EXTRA_DIST = \ 51 .dir-locals.el \ 52 README.md \ 53 autogen.sh \ 54 epoxy.pc.in \ 55 $(registry_files) \ 56 $(meson_build_files) \ 57 $() 58 59dist-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 69