summaryrefslogtreecommitdiff
path: root/Makefile.X11
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.X11')
-rw-r--r--Makefile.X1166
1 files changed, 48 insertions, 18 deletions
diff --git a/Makefile.X11 b/Makefile.X11
index 9445530198..39fae1ccff 100644
--- a/Makefile.X11
+++ b/Makefile.X11
@@ -1,4 +1,4 @@
-# $Id: Makefile.X11,v 1.89 2003/09/30 11:28:16 alanh Exp $
+# $Id: Makefile.X11,v 1.90 2003/10/03 14:03:14 brianp Exp $
# Mesa 3-D graphics library
# Version: 5.1
@@ -269,24 +269,54 @@ linux-solo:
# Remove .o files, emacs backup files, etc.
clean:
- -rm -f src/mesa/*/*.o
- -rm -f src/mesa/drivers/*/*.o
- -rm -f src/mesa/drivers/*/*/*.o
- -rm -f src/mesa/drivers/*/*/*/*.o
- -rm -f include/*~
+ if ! [ -f src/mesa/depend ] ; then touch src/mesa/depend ; fi
+ if ! [ -f src/mesa/drivers/dri/r200/depend ]; then touch src/mesa/drivers/dri/r200/depend; fi
+ if ! [ -f src/mesa/drivers/dri/r128/depend ]; then touch src/mesa/drivers/dri/r128/depend; fi
+ if ! [ -f src/mesa/drivers/dri/radeon/depend ]; then touch src/mesa/drivers/dri/radeon/depend; fi
+ if ! [ -f src/mesa/drivers/dri/mga/depend ]; then touch src/mesa/drivers/dri/mga/depend; fi
+ if ! [ -f src/mesa/drivers/dri/fb/depend ]; then touch src/mesa/drivers/dri/fb/depend; fi
+ if ! [ -f src/glu/mesa/depend ] ; then touch src/glu/mesa/depend ; fi
+ if ! [ -f src/glu/sgi/depend ] ; then touch src/glu/sgi/depend ; fi
+ if ! [ -f src/glu/mini/depend ] ; then touch src/glu/mini/depend ; fi
+ if ! [ -f src/glut/glx/depend ] ; then touch src/glut/glx/depend ; fi
+ if ! [ -f src/glut/mini/depend ] ; then touch src/glut/mini/depend ; fi
+ if ! [ -f src/glx/mini/depend ] ; then touch src/glx/mini/depend ; fi
+ if ! [ -f progs/tests/depend ] ; then touch progs/tests/depend ; fi
+ if ! [ -f progs/miniglx/depend ] ; then touch progs/miniglx/depend ; fi
-rm -f include/GL/*~
- -rm -f src/glu/mesa/*.o src/glu/mesa/*~ src-glu/*.a
- -rm -f src/glu/sgi/*/*.o src/glu/sgi/*/*/*.o
- -rm -f src/glut/glx/*.o
- -rm -f src/miniglx/*.o
- -rm -f src/miniglu/*.o
- -rm -f src/miniglut/*.o
- -rm -f progs/demos/*.o
- -rm -f progs/redbook/*.o progs/redbook/*~
- -rm -f progs/xdemos/*.o progs/xdemos/*~
- -rm -f progs/samples/*.o progs/samples/*~
- -rm -f progs/tests/*.o progs/tests/*~
- -rm -f src/glw/*.o
+ cd src/mesa && $(MAKE) -f Makefile.X11 $@ || true
+ cd src/mesa/drivers/dri/r200 && $(MAKE) -f Makefile.X11 $@ || true
+ cd src/mesa/drivers/dri/r128 && $(MAKE) -f Makefile.X11 $@ || true
+ cd src/mesa/drivers/dri/radeon && $(MAKE) -f Makefile.X11 $@ || true
+ cd src/mesa/drivers/dri/mga && $(MAKE) -f Makefile.X11 $@ || true
+ cd src/mesa/drivers/dri/fb && $(MAKE) -f Makefile.X11 $@ || true
+ cd src/glu/mesa && $(MAKE) -f Makefile.X11 $@ || true
+ cd src/glu/sgi && $(MAKE) -f Makefile.X11 $@ || true
+ cd src/glu/mini && $(MAKE) -f Makefile.X11 $@ || true
+ cd src/glut/glx && $(MAKE) -f Makefile.X11 $@ || true
+ cd src/glut/mini && $(MAKE) -f Makefile.X11 $@ || true
+ cd src/glw && $(MAKE) -f Makefile.X11 $@ || true
+ cd src/glx/mini && $(MAKE) -f Makefile.X11 $@ || true
+ cd progs/demos && $(MAKE) -f Makefile.X11 $@ || true
+ cd progs/redbook && $(MAKE) -f Makefile.X11 $@ || true
+ cd progs/xdemos && $(MAKE) -f Makefile.X11 $@ || true
+ cd progs/samples && $(MAKE) -f Makefile.X11 $@ || true
+ cd progs/tests && $(MAKE) -f Makefile.X11 $@ || true
+ cd progs/miniglx && $(MAKE) -f Makefile.X11 $@ || true
+ if [ -f src/mesa/depend ] ; then rm src/mesa/depend ; fi
+ if [ -f src/mesa/drivers/dri/r200/depend ]; then rm -f src/mesa/drivers/dri/r200/depend; fi
+ if [ -f src/mesa/drivers/dri/r128/depend ]; then rm -f src/mesa/drivers/dri/r128/depend; fi
+ if [ -f src/mesa/drivers/dri/radeon/depend ]; then rm -f src/mesa/drivers/dri/radeon/depend; fi
+ if [ -f src/mesa/drivers/dri/mga/depend ]; then rm -f src/mesa/drivers/dri/mga/depend; fi
+ if [ -f src/mesa/drivers/dri/fb/depend ]; then rm -f src/mesa/drivers/dri/fb/depend; fi
+ if [ -f src/glu/mesa/depend ] ; then rm -f src/glu/mesa/depend ; fi
+ if [ -f src/glu/sgi/depend ] ; then rm -f src/glu/sgi/depend ; fi
+ if [ -f src/glu/mini/depend ] ; then rm -f src/glu/mini/depend ; fi
+ if [ -f src/glut/glx/depend ] ; then rm -f src/glut/glx/depend ; fi
+ if [ -f src/glut/mini/depend ] ; then rm -f src/glut/mini/depend ; fi
+ if [ -f src/glx/mini/depend ] ; then rm -f src/glx/mini/depend ; fi
+ if [ -f progs/tests/depend ] ; then rm -f progs/tests/depend ; fi
+ if [ -f progs/miniglx/depend ] ; then rm -f progs/miniglx/depend ; fi
# Remove everything that can be remade
realclean: clean