Home | History | Annotate | Download | only in compiler
      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/compiler/spirv \
     37 	-I$(top_srcdir)/src/gallium/include \
     38 	-I$(top_srcdir)/src/gallium/auxiliary \
     39 	-I$(top_srcdir)/src/gtest/include \
     40 	$(VALGRIND_CFLAGS) \
     41 	$(DEFINES)
     42 
     43 AM_CFLAGS = \
     44 	$(VISIBILITY_CFLAGS) \
     45 	$(WNO_OVERRIDE_INIT) \
     46 	$(MSVC2013_COMPAT_CFLAGS)
     47 
     48 AM_CXXFLAGS = \
     49 	$(VISIBILITY_CXXFLAGS) \
     50 	$(MSVC2013_COMPAT_CXXFLAGS)
     51 
     52 noinst_LTLIBRARIES = libcompiler.la
     53 
     54 libcompiler_la_SOURCES = $(LIBCOMPILER_FILES)
     55 
     56 check_PROGRAMS =
     57 TESTS =
     58 BUILT_SOURCES =
     59 CLEANFILES =
     60 EXTRA_DIST = \
     61 	SConscript \
     62 	glsl/glcpp/meson.build \
     63 	glsl/tests/meson.build \
     64 	glsl/meson.build \
     65 	nir/meson.build \
     66 	meson.build
     67 
     68 MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
     69 PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS)
     70 
     71 include Makefile.glsl.am
     72 
     73 include Makefile.nir.am
     74