aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/libdricore/Makefile.am18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mesa/libdricore/Makefile.am b/src/mesa/libdricore/Makefile.am
index 866f8f153b6..26d8a88fddc 100644
--- a/src/mesa/libdricore/Makefile.am
+++ b/src/mesa/libdricore/Makefile.am
@@ -32,13 +32,11 @@ AM_CPPFLAGS = \
$(API_DEFINES) \
$(DEFINES)
-dridir = $(libdir)/dri
-
AM_CFLAGS = $(CFLAGS_NOVISIBILITY) -DUSE_DRICORE
AM_CXXFLAGS = $(CXXFLAGS_NOVISIBILITY) -DUSE_DRICORE
AM_CCASFLAGS = $(CFLAGS_NOVISIBILITY) -DUSE_DRICORE
-libdricore_la_SOURCES = \
+libdricore@VERSION@_la_SOURCES = \
$(MESA_FILES) \
$(MESA_CXX_FILES) \
$(LIBGLCPP_GENERATED_FILES) \
@@ -47,8 +45,8 @@ libdricore_la_SOURCES = \
$(LIBGLSL_CXX_FILES) \
$(BUILTIN_COMPILER_GENERATED_CXX_FILES) \
$(top_srcdir)/src/glsl/builtin_function.cpp
-libdricore_la_LDFLAGS = -module -avoid-version -shared
-libdricore_la_LIBADD = libdricore-asm.la
+libdricore@VERSION@_la_LDFLAGS = -version-number 1:0
+libdricore@VERSION@_la_LIBADD = libdricore-asm.la
# This is separated from libdricore to avoid conflics in object
# outputs between main/clip.c and sparc/clip.c. The documented way to
@@ -72,16 +70,18 @@ endif
if HAVE_DRICORE
noinst_LTLIBRARIES = libdricore-asm.la
-dri_LTLIBRARIES = libdricore.la
+lib_LTLIBRARIES = libdricore@[email protected]
# 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.
-all-local: libdricore.la
+all-local: libdricore@[email protected]
$(MKDIR_P) $(top_builddir)/$(LIB_DIR);
- ln -f .libs/libdricore.so $(top_builddir)/$(LIB_DIR)/libdricore.so;
+ ln -f .libs/libdricore@[email protected] $(top_builddir)/$(LIB_DIR)/libdricore@[email protected];
+ ln -sf libdricore@[email protected] $(top_builddir)/$(LIB_DIR)/libdricore@[email protected]
endif
CLEANFILES = \
- $(top_builddir)/$(LIB_DIR)/libdricore.so
+ $(top_builddir)/$(LIB_DIR)/libdricore@[email protected] \
+ $(top_builddir)/$(LIB_DIR)/libdricore@[email protected]
-include $(DEPENDS)