From ba5eba500884c85792b3de38c90a70b4b11dc432 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 1 Apr 2014 02:34:08 +0100 Subject: 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 Signed-off-by: Emil Velikov --- src/gallium/targets/egl-static/Makefile.am | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/gallium/targets/egl-static') diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am index 58ecf697ce9..a133cd1b6c1 100644 --- a/src/gallium/targets/egl-static/Makefile.am +++ b/src/gallium/targets/egl-static/Makefile.am @@ -69,10 +69,7 @@ egl_gallium_la_LIBADD = \ $(top_builddir)/src/gallium/state_trackers/egl/libegl.la \ $(top_builddir)/src/egl/main/libEGL.la \ $(top_builddir)/src/loader/libloader.la \ - $(CLOCK_LIB) \ - $(DLOPEN_LIBS) \ - $(PTHREAD_LIBS) \ - -lm + $(GALLIUM_COMMON_LIB_DEPS) if HAVE_MESA_LLVM AM_LDFLAGS += $(LLVM_LDFLAGS) @@ -139,10 +136,7 @@ st_GL_la_LIBADD = \ $(top_builddir)/src/mesa/libmesagallium.la \ $(top_builddir)/src/gallium/auxiliary/libgallium.la \ $(top_builddir)/src/mapi/glapi/libglapi.la \ - $(CLOCK_LIB) \ - $(DLOPEN_LIBS) \ - $(PTHREAD_LIBS) \ - -lm + $(GALLIUM_COMMON_LIB_DEPS) endif endif -- cgit v1.2.3