summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/fb
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2003-10-20 02:17:32 +0000
committerJon Smirl <[email protected]>2003-10-20 02:17:32 +0000
commit3e4a50f0d28f90791f1c2eec2ece660c53dd4845 (patch)
tree75103774908193874221a09dfefc744448147b02 /src/mesa/drivers/dri/fb
parent0f85b91c8ace21c25329b455e041bb39218c812f (diff)
Fix Makefiles to copy lib to $(TOP)/lib if missing
Diffstat (limited to 'src/mesa/drivers/dri/fb')
-rw-r--r--src/mesa/drivers/dri/fb/Makefile.X116
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/fb/Makefile.X11 b/src/mesa/drivers/dri/fb/Makefile.X11
index 4a3c7a3fd79..671de313c08 100644
--- a/src/mesa/drivers/dri/fb/Makefile.X11
+++ b/src/mesa/drivers/dri/fb/Makefile.X11
@@ -1,4 +1,4 @@
-# $Id: Makefile.X11,v 1.2 2003/08/23 04:58:24 jonsmirl Exp $
+# $Id: Makefile.X11,v 1.3 2003/10/20 02:17:32 jonsmirl Exp $
# Mesa 3-D graphics library
# Version: 5.0
@@ -57,6 +57,10 @@ fb_dri.so: $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile.X11
rm -f $(TOP)/lib/fb_dri.so && \
install fb_dri.so $(TOP)/lib/fb_dri.so
+$(TOP)/lib/fb_dri.so: fb_dri.so
+ rm -f $(TOP)/lib/fb_dri.so && \
+ install fb_dri.so $(TOP)/lib/fb_dri.so
+
# Run 'make -f Makefile.X11 dep' to update the dependencies if you change
# what's included by any source file.
depend: $(C_SOURCES) $(ASM_SOURCES)