1 # Copyright © 2014 Intel Corporation
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:
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
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
24 tests/fast_idiv_by_const \
33 include Makefile.sources
35 noinst_LTLIBRARIES = \
41 -I$(top_srcdir)/include
43 libmesautil_la_CPPFLAGS = \
45 -I$(top_srcdir)/include \
47 -I$(top_srcdir)/src/mapi \
48 -I$(top_srcdir)/src/mesa \
49 -I$(top_srcdir)/src/gallium/include \
50 -I$(top_srcdir)/src/gallium/auxiliary \
51 $(VISIBILITY_CFLAGS) \
52 $(MSVC2013_COMPAT_CFLAGS) \
55 libmesautil_la_SOURCES = \
57 $(MESA_UTIL_GENERATED_FILES)
59 libmesautil_la_LIBADD = \
66 libxmlconfig_la_SOURCES = $(XMLCONFIG_FILES)
67 libxmlconfig_la_CFLAGS = \
69 -I$(top_srcdir)/include \
71 -DSYSCONFDIR=\"$(sysconfdir)\" \
72 -DDATADIR=\"$(datadir)\" \
73 $(VISIBILITY_CFLAGS) \
75 libxmlconfig_la_LIBADD = $(EXPAT_LIBS) -lm
77 drircdir = $(datadir)/drirc.d
78 drirc_DATA = 00-mesa-defaults.conf
80 u_atomic_test_LDADD = libmesautil.la
81 roundeven_test_LDADD = -lm
82 mesa_sha1_test_LDADD = libmesautil.la
84 check_PROGRAMS = u_atomic_test roundeven_test mesa-sha1_test
85 TESTS = $(check_PROGRAMS)
87 BUILT_SOURCES = $(MESA_UTIL_GENERATED_FILES)
88 CLEANFILES = $(BUILT_SOURCES)
90 00-mesa-defaults.conf \
98 PYTHON_GEN = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS)
100 format_srgb.c: format_srgb.py
101 $(PYTHON_GEN) $(srcdir)/format_srgb.py > $@