mesa/glsl: add cache_fallback flag to gl_shader_program_data
[mesa.git] / src / compiler / Makefile.am
1 #
2 # Copyright © 2012 Jon TURNEY
3 # Copyright (C) 2015 Intel Corporation
4 #
5 # Permission is hereby granted, free of charge, to any person obtaining a
6 # copy of this software and associated documentation files (the "Software"),
7 # to deal in the Software without restriction, including without limitation
8 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 # and/or sell copies of the Software, and to permit persons to whom the
10 # Software is furnished to do so, subject to the following conditions:
11 #
12 # The above copyright notice and this permission notice (including the next
13 # paragraph) shall be included in all copies or substantial portions of the
14 # Software.
15 #
16 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22 # IN THE SOFTWARE.
23
24 include Makefile.sources
25
26 AM_CPPFLAGS = \
27 -I$(top_srcdir)/include \
28 -I$(top_srcdir)/src \
29 -I$(top_srcdir)/src/mapi \
30 -I$(top_srcdir)/src/mesa/ \
31 -I$(top_builddir)/src/compiler/glsl\
32 -I$(top_srcdir)/src/compiler/glsl\
33 -I$(top_srcdir)/src/compiler/glsl/glcpp\
34 -I$(top_builddir)/src/compiler/nir \
35 -I$(top_srcdir)/src/compiler/nir \
36 -I$(top_srcdir)/src/gallium/include \
37 -I$(top_srcdir)/src/gallium/auxiliary \
38 -I$(top_srcdir)/src/gtest/include \
39 $(DEFINES)
40
41 AM_CFLAGS = \
42 $(VISIBILITY_CFLAGS) \
43 $(MSVC2013_COMPAT_CFLAGS)
44
45 AM_CXXFLAGS = \
46 $(VISIBILITY_CXXFLAGS) \
47 $(MSVC2013_COMPAT_CXXFLAGS)
48
49 noinst_LTLIBRARIES = libcompiler.la
50
51 libcompiler_la_SOURCES = $(LIBCOMPILER_FILES)
52
53 check_PROGRAMS =
54 TESTS =
55 BUILT_SOURCES =
56 CLEANFILES =
57 EXTRA_DIST = SConscript
58
59 MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
60 PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS)
61
62 include Makefile.glsl.am
63
64 include Makefile.nir.am