Makefile.am 3.27 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
# Copyright © 2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

22 23 24 25 26 27 28
include Makefile.sources

# The gallium includes are for the util/u_math.h include from main/macros.h
AM_CPPFLAGS = \
	-I$(top_srcdir)/include \
	-I$(top_builddir)/src \
	-I$(top_srcdir)/src \
29 30
	-I$(top_builddir)/src/compiler/glsl \
	-I$(top_srcdir)/src/compiler/glsl \
31
	-I$(top_builddir)/src/compiler/nir \
32 33
	-I$(top_srcdir)/src/compiler/nir \
	-I$(top_srcdir)/src/gtest/include \
34 35
	-I$(top_builddir)/src/intel \
	-I$(top_srcdir)/src/intel \
36
	-I$(top_srcdir)/include/drm-uapi \
37 38 39 40 41
	-I$(top_srcdir)/src/mapi \
	-I$(top_srcdir)/src/mesa \
	-I$(top_srcdir)/src/gallium/auxiliary \
	-I$(top_srcdir)/src/gallium/include \
	$(VALGRIND_CFLAGS) \
42
	$(LIBDRM_CFLAGS) \
43 44 45 46
	$(DEFINES)

AM_CFLAGS = \
	$(VISIBILITY_CFLAGS) \
47
	$(WNO_OVERRIDE_INIT)
48

49 50 51
AM_CXXFLAGS = \
	$(VISIBILITY_CXXFLAGS)

52
MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
53
PYTHON_GEN = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS)
54

55 56 57 58
lib_LTLIBRARIES =
check_LTLIBRARIES =
noinst_DATA =
noinst_HEADERS =
59
noinst_LTLIBRARIES =
60
noinst_PROGRAMS =
61 62 63 64
check_PROGRAMS =
TESTS =
BUILT_SOURCES =
CLEANFILES =
65 66 67 68
EXTRA_DIST = \
	blorp/meson.build \
	common/meson.build \
	compiler/meson.build \
69
	dev/meson.build \
70 71
	genxml/meson.build \
	isl/meson.build \
72 73 74
	tools/aubinator_viewer.cpp \
	tools/aubinator_viewer.h \
	tools/aubinator_viewer_decoder.cpp \
75
	tools/aubinator_viewer_urb.h \
76 77 78 79 80 81 82 83 84 85 86 87 88
	tools/imgui/README \
	tools/imgui/stb_textedit.h \
	tools/imgui/meson.build \
	tools/imgui/imconfig.h \
	tools/imgui/imgui.cpp \
	tools/imgui/imgui.h \
	tools/imgui/imgui_draw.cpp \
	tools/imgui/imgui_demo.cpp \
	tools/imgui/imgui_internal.h \
	tools/imgui/imgui_impl_gtk3.cpp \
	tools/imgui/imgui_impl_gtk3.h \
	tools/imgui/imgui_impl_opengl3.cpp \
	tools/imgui/imgui_impl_opengl3.h \
89
	tools/imgui/imgui_memory_editor.h \
90 91 92
	tools/imgui/stb_truetype.h \
	tools/imgui/stb_rect_pack.h \
	tools/imgui/LICENSE.txt \
93 94
	tools/intel_sanitize_gpu.c \
	tools/intel_sanitize_gpu.in \
95 96
	tools/intel_dump_gpu.c \
	tools/intel_dump_gpu.in \
97 98 99
	tools/meson.build \
	vulkan/meson.build \
	meson.build
100

101
include Makefile.blorp.am
102
include Makefile.common.am
103
include Makefile.compiler.am
104
include Makefile.dev.am
105 106
include Makefile.genxml.am
include Makefile.isl.am
107
include Makefile.tools.am
108

109 110
include Makefile.vulkan.am

111
CLEANFILES += $(BUILT_SOURCES)