34 lines
911 B
Diff
34 lines
911 B
Diff
--- src/mesa/drivers/dri/Makefile.template
|
|
+++ src/mesa/drivers/dri/Makefile.template
|
|
@@ -1,6 +1,6 @@
|
|
# -*-makefile-*-
|
|
|
|
-MESA_MODULES = $(TOP)/src/mesa/libmesa.a
|
|
+MESA_MODULES = $(TOP)/$(LIB_DIR)/libmesa_private.so
|
|
|
|
COMMON_SOURCES = \
|
|
../../common/driverfuncs.c \
|
|
--- src/mesa/Makefile
|
|
+++ src/mesa/Makefile
|
|
@@ -57,7 +57,11 @@
|
|
mimeset -f "$@" ; \
|
|
fi
|
|
|
|
-linux-solo: depend subdirs libmesa.a
|
|
+$(TOP)/$(LIB_DIR)/libmesa_private.so: $(SOLO_OBJECTS)
|
|
+ @ $(TOP)/bin/mklib -o mesa_private \
|
|
+ -install $(TOP)/$(LIB_DIR) $(SOLO_OBJECTS)
|
|
+
|
|
+linux-solo: depend subdirs libmesa.a $(TOP)/$(LIB_DIR)/libmesa_private.so
|
|
cd drivers/dri ; $(MAKE)
|
|
|
|
|
|
@@ -161,6 +165,7 @@
|
|
@if [ "${DRIVER_DIRS}" = "dri" ] ; then \
|
|
cd drivers/dri ; $(MAKE) install ; \
|
|
fi
|
|
+ $(INSTALL) $(TOP)/$(LIB_DIR)/libmesa_private.* $(INSTALL_DIR)/$(LIB_DIR)
|
|
|
|
## NOT INSTALLED YET:
|
|
## $(INSTALL) -d $(INSTALL_DIR)/include/GLES
|