summaryrefslogtreecommitdiff
path: root/src/glsl/tests
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2012-07-07 00:51:52 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-07-13 12:43:58 +0100
commita112ca5d5f8504310bf157d440c859676aae7753 (patch)
tree2a8c019f4e9804aac52725eb5bc9e1b0dfe886fa /src/glsl/tests
parent8676890018a94b475dd0bb7389f3b77f37e36fdb (diff)
automake: convert libmesa and libmesagallium
* "configure substitutions are not allowed in _SOURCES variables" in automake, so instead of MESA_ASM_FILES, use some AM_CONDITIONALS to choose which architecture's asm sources are used in libmesa_la_SOURCES. (Can't remove MESA_ASM_FILES autoconf variable as it's still used in sources.mak) * Update to link with the .la file in other Makefile.am files, and make a link to the .a file for the convenience of other Makefiles which have not yet been converted to automake v2: Remove stray -static from LDFLAGS v3: Remove .a compatibility link on clean Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/glsl/tests')
-rw-r--r--src/glsl/tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/tests/Makefile.am b/src/glsl/tests/Makefile.am
index 4829fb2fe0d..33e634d953d 100644
--- a/src/glsl/tests/Makefile.am
+++ b/src/glsl/tests/Makefile.am
@@ -28,7 +28,7 @@ uniform_initializer_test_SOURCES = \
uniform_initializer_test_LDADD = \
$(top_builddir)/src/gtest/libgtest.la \
$(top_builddir)/src/glsl/libglsl.la \
- $(top_builddir)/src/mesa/libmesa.a \
+ $(top_builddir)/src/mesa/libmesa.la \
-lpthread
ralloc_test_SOURCES = ralloc_test.cpp $(top_builddir)/src/glsl/ralloc.c