diff options
author | Jon Smirl <[email protected]> | 2003-10-20 02:17:32 +0000 |
---|---|---|
committer | Jon Smirl <[email protected]> | 2003-10-20 02:17:32 +0000 |
commit | 3e4a50f0d28f90791f1c2eec2ece660c53dd4845 (patch) | |
tree | 75103774908193874221a09dfefc744448147b02 /src/mesa/drivers/dri/gamma | |
parent | 0f85b91c8ace21c25329b455e041bb39218c812f (diff) |
Fix Makefiles to copy lib to $(TOP)/lib if missing
Diffstat (limited to 'src/mesa/drivers/dri/gamma')
-rw-r--r-- | src/mesa/drivers/dri/gamma/Makefile.X11 | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/gamma/Makefile.X11 b/src/mesa/drivers/dri/gamma/Makefile.X11 index be0daceae72..f779bf336cc 100644 --- a/src/mesa/drivers/dri/gamma/Makefile.X11 +++ b/src/mesa/drivers/dri/gamma/Makefile.X11 @@ -1,4 +1,4 @@ -# $Id: Makefile.X11,v 1.1 2003/10/16 04:50:42 jonsmirl Exp $ +# $Id: Makefile.X11,v 1.2 2003/10/20 02:17:32 jonsmirl Exp $ # Mesa 3-D graphics library # Version: 5.0 @@ -22,7 +22,7 @@ DEFINES += \ -DGLX_DIRECT_RENDERING # Not yet -# MINIGLX_SOURCES = server/i810_dri.c +# MINIGLX_SOURCES = server/gamma_dri.c DRIVER_SOURCES = \ gamma_context.c \ @@ -90,12 +90,16 @@ INCLUDE_DIRS = \ ##### TARGETS ##### -targets: depend i810_dri.so +targets: depend gamma_dri.so -i810_dri.so: $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile.X11 +gamma_dri.so: $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile.X11 rm -f $@ && gcc -o $@ -shared $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(WINLIB) -lc $(GL_LIB_DEPS) - rm -f $(TOP)/lib/i810_dri.so && \ - install i810_dri.so $(TOP)/lib/i810_dri.so + rm -f $(TOP)/lib/gamma_dri.so && \ + install gamma_dri.so $(TOP)/lib/gamma_dri.so + +$(TOP)/lib/gamma_dri.so: gamma_dri.so + rm -f $(TOP)/lib/gamma_dri.so && \ + install gamma_dri.so $(TOP)/lib/gamma_dri.so # Run 'make -f Makefile.X11 dep' to update the dependencies if you change # what's included by any source file. |