summaryrefslogtreecommitdiffstats
path: root/install-gallium-links.mk
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-03-09 11:50:44 +0000
committerEmil Velikov <[email protected]>2014-03-11 12:50:43 +0000
commit22c133546a5b4bec399d4e20cf63455b1c4b0959 (patch)
tree19544daad1eb2df51742ff488674bedeaf9ebe21 /install-gallium-links.mk
parentbba9c28215f96a6570c290906b64eea83383beb8 (diff)
automake: create compat symlinks only for linux systems
The primary users of these are linux developers, although it can be extended for *BSD and others if needed. Fixes make install for Cygwin and OpenBSD at least. v2: - Wrap vdpau targets as well. v3: - Fold HAVE_COMPAT_SYMLINKS conditional within install*links.mk Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63269 Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Jon TURNEY <[email protected]> (v1) Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'install-gallium-links.mk')
-rw-r--r--install-gallium-links.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/install-gallium-links.mk b/install-gallium-links.mk
index 49264639e70..5ee923b25df 100644
--- a/install-gallium-links.mk
+++ b/install-gallium-links.mk
@@ -1,6 +1,7 @@
# Provide compatibility with scripts for the old Mesa build system for
# a while by putting a link to the driver into /lib of the build tree.
+if HAVE_COMPAT_SYMLINKS
all-local : .libs/install-gallium-links
.libs/install-gallium-links : $(dri_LTLIBRARIES) $(vdpau_LTLIBRARIES) $(egl_LTLIBRARIES) $(lib_LTLIBRARIES)
@@ -21,3 +22,4 @@ all-local : .libs/install-gallium-links
ln -f $$f $$link_dir; \
fi; \
done && touch $@
+endif