build: fix make-check after a6a6a71
authorRob Clark <robclark@freedesktop.org>
Sat, 17 Oct 2015 13:49:19 +0000 (09:49 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 17 Oct 2015 13:51:29 +0000 (09:51 -0400)
   commit a6a6a71092ba912803ae2b47eb56e3afdf36feb5
   Author:     Rob Clark <robclark@freedesktop.org>
   AuthorDate: Sat Oct 10 14:13:50 2015 -0400

       glsl: (mostly) remove libglsl_util

Was a bit too ambitious on removal of libglsl_util.. it is still needed
by some of the tests.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/glsl/Makefile.am

index ebea816b96df6c8cf5f044939485d4c5f942682a..33a34e4ccc8b50133a18d4d84c58ec6aa986ddea 100644 (file)
@@ -96,6 +96,7 @@ tests_general_ir_test_CFLAGS =                                \
 tests_general_ir_test_LDADD =                          \
        $(top_builddir)/src/gtest/libgtest.la           \
        $(top_builddir)/src/glsl/libglsl.la             \
+       $(top_builddir)/src/libglsl_util.la             \
        $(PTHREAD_LIBS)
 
 tests_uniform_initializer_test_SOURCES =               \
@@ -108,6 +109,7 @@ tests_uniform_initializer_test_CFLAGS =                     \
 tests_uniform_initializer_test_LDADD =                 \
        $(top_builddir)/src/gtest/libgtest.la           \
        $(top_builddir)/src/glsl/libglsl.la             \
+       $(top_builddir)/src/libglsl_util.la             \
        $(PTHREAD_LIBS)
 
 tests_sampler_types_test_SOURCES =                     \
@@ -117,6 +119,7 @@ tests_sampler_types_test_CFLAGS =                   \
 tests_sampler_types_test_LDADD =                       \
        $(top_builddir)/src/gtest/libgtest.la           \
        $(top_builddir)/src/glsl/libglsl.la             \
+       $(top_builddir)/src/libglsl_util.la             \
        $(PTHREAD_LIBS)
 
 libglcpp_la_LIBADD =                                   \
@@ -131,6 +134,7 @@ glcpp_glcpp_SOURCES =                                       \
        glcpp/glcpp.c
 glcpp_glcpp_LDADD =                                    \
        libglcpp.la                                     \
+       $(top_builddir)/src/libglsl_util.la             \
        -lm
 
 libglsl_la_LIBADD = libglcpp.la
@@ -164,6 +168,7 @@ glsl_test_SOURCES = \
 
 glsl_test_LDADD =                                      \
        libglsl.la                                      \
+       $(top_builddir)/src/libglsl_util.la             \
        $(PTHREAD_LIBS)
 
 # We write our own rules for yacc and lex below. We'd rather use automake,