Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5564 serge 1
 
2
 
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:
9
#
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
12
# Software.
13
#
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
20
# IN THE SOFTWARE.
21
22
include Makefile.sources
23
 
24
AM_CFLAGS = \
25
 
26
	-I$(top_srcdir)/src/ \
27
	-I$(top_srcdir)/src/mapi \
28
	-I$(top_srcdir)/src/mesa/ \
29
	-I$(top_srcdir)/src/gallium/include \
30
	-I$(top_srcdir)/src/gallium/auxiliary \
31
	-I$(top_srcdir)/src/mesa/drivers/dri/common \
32
	-I$(top_srcdir)/src/mesa/drivers/dri/intel/server \
33
	-I$(top_srcdir)/src/gtest/include \
34
	-I$(top_builddir)/src/glsl/nir \
35
	-I$(top_builddir)/src/mesa/drivers/dri/common \
36
	$(DEFINES) \
37
	$(VISIBILITY_CFLAGS) \
38
	$(INTEL_CFLAGS)
39
40
AM_CXXFLAGS = $(AM_CFLAGS)
41
 
42
noinst_LTLIBRARIES = libi965_dri.la
43
 
44
libi965_dri_la_LIBADD = $(INTEL_LIBS)
45
46
TEST_LIBS = \
47
 
48
	../common/libdricommon.la \
49
	../common/libmegadriver_stub.la \
50
        ../../../libmesa.la \
51
	$(DRI_LIB_DEPS) \
52
        $(CLOCK_LIB) \
53
	../common/libdri_test_stubs.la
54
55
TESTS = \
56
 
57
	test_fs_saturate_propagation \
58
        test_eu_compact \
59
	test_vf_float_conversions \
60
        test_vec4_copy_propagation \
61
        test_vec4_register_coalesce
62
63
check_PROGRAMS = $(TESTS)
64
 
65
test_fs_cmod_propagation_SOURCES = \
66
 
67
test_fs_cmod_propagation_LDADD = \
68
	$(top_builddir)/src/gtest/libgtest.la \
69
	$(TEST_LIBS)
70
71
test_fs_saturate_propagation_SOURCES = \
72
 
73
test_fs_saturate_propagation_LDADD = \
74
	$(top_builddir)/src/gtest/libgtest.la \
75
	$(TEST_LIBS)
76
77
test_vf_float_conversions_SOURCES = \
78
 
79
test_vf_float_conversions_LDADD = \
80
	$(top_builddir)/src/gtest/libgtest.la \
81
	$(TEST_LIBS)
82
83
test_vec4_register_coalesce_SOURCES = \
84
 
85
test_vec4_register_coalesce_LDADD = \
86
        $(top_builddir)/src/gtest/libgtest.la \
87
        $(TEST_LIBS)
88
89
test_vec4_copy_propagation_SOURCES = \
90
 
91
test_vec4_copy_propagation_LDADD = \
92
        $(top_builddir)/src/gtest/libgtest.la \
93
        $(TEST_LIBS)
94
95
test_eu_compact_SOURCES = \
96
 
97
nodist_EXTRA_test_eu_compact_SOURCES = dummy.cpp
98
test_eu_compact_LDADD = $(TEST_LIBS)
99