diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-04-01 02:34:08 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-04-05 13:00:02 +0100 |
commit | ba5eba500884c85792b3de38c90a70b4b11dc432 (patch) | |
tree | 02ce60a3435a1bf19b30224546ef5bf4b0bd37af /src/gallium/tests | |
parent | 16c13aaeb87b296a60fd0898efc20984faf67565 (diff) |
automake: introduce GALLIUM_COMMON_LIB_DEPS
Rather than copying the core four dependencies all over gallium,
introduce the above variable to avoid all the duplication.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76848
Tested-by: Vinson Lee <vlee@freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/gallium/tests')
-rw-r--r-- | src/gallium/tests/trivial/Makefile.am | 4 | ||||
-rw-r--r-- | src/gallium/tests/unit/Makefile.am | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/gallium/tests/trivial/Makefile.am b/src/gallium/tests/trivial/Makefile.am index 15a81b3a696..9381429bd6c 100644 --- a/src/gallium/tests/trivial/Makefile.am +++ b/src/gallium/tests/trivial/Makefile.am @@ -16,9 +16,7 @@ LDADD = $(GALLIUM_PIPE_LOADER_CLIENT_LIBS) \ $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la \ $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \ $(top_builddir)/src/gallium/auxiliary/libgallium.la \ - $(DLOPEN_LIBS) \ - $(PTHREAD_LIBS) \ - -lm + $(GALLIUM_COMMON_LIB_DEPS) if NEED_PIPE_LOADER_XLIB LDADD += \ diff --git a/src/gallium/tests/unit/Makefile.am b/src/gallium/tests/unit/Makefile.am index c157cc026da..9c514cb8eaf 100644 --- a/src/gallium/tests/unit/Makefile.am +++ b/src/gallium/tests/unit/Makefile.am @@ -14,9 +14,7 @@ LDADD = \ $(top_builddir)/src/gallium/drivers/trace/libtrace.la \ $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \ $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la \ - $(DLOPEN_LIBS) \ - $(PTHREAD_LIBS) \ - -lm + $(GALLIUM_COMMON_LIB_DEPS) noinst_PROGRAMS = pipe_barrier_test u_cache_test u_half_test \ u_format_test u_format_compatible_test translate_test |