From 362f1df210d4142259f22d51c5269ed89dc396f3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 22 Apr 2004 00:42:38 +0000 Subject: obsolete --- src/glu/mesa/Makefile.X11 | 58 ----------------- src/glu/mini/Makefile.X11 | 65 ------------------- src/glu/sgi/Makefile.X11 | 161 ---------------------------------------------- src/glut/glx/Makefile.X11 | 119 ---------------------------------- src/glw/Makefile.X11 | 72 --------------------- src/mesa/Makefile.X11 | 147 ------------------------------------------ 6 files changed, 622 deletions(-) delete mode 100644 src/glu/mesa/Makefile.X11 delete mode 100644 src/glu/mini/Makefile.X11 delete mode 100644 src/glu/sgi/Makefile.X11 delete mode 100644 src/glut/glx/Makefile.X11 delete mode 100644 src/glw/Makefile.X11 delete mode 100644 src/mesa/Makefile.X11 (limited to 'src') diff --git a/src/glu/mesa/Makefile.X11 b/src/glu/mesa/Makefile.X11 deleted file mode 100644 index 2265620fe6..0000000000 --- a/src/glu/mesa/Makefile.X11 +++ /dev/null @@ -1,58 +0,0 @@ -# Makefile for old Mesa GLU library - -##### MACROS ##### - -GLU_MAJOR = 1 -GLU_MINOR = 1 -GLU_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY) - -GLU_LIB_NAME = "GLU" # may be overridden in Make-config - -VPATH = RCS - -TOP = ../../.. -INCDIR = $(TOP)/include -LIBDIR = $(TOP)/lib - -SOURCES = glu.c mipmap.c nurbs.c nurbscrv.c nurbssrf.c nurbsutl.c \ - polytest.c project.c quadric.c tess.c tesselat.c - -OBJECTS = $(SOURCES:.c=.o) - - - -##### RULES ##### - -.c.o: - $(CC) -c -I$(INCDIR) $(CFLAGS) $< - - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o *~ - -targets: $(LIBDIR)/$(GLU_LIB) - -# Make the library: -$(LIBDIR)/$(GLU_LIB): $(OBJECTS) - $(TOP)/bin/mklib -o $(GLU_LIB_NAME) -major $(GLU_MAJOR) \ - -minor $(GLU_MINOR) -patch $(GLU_TINY) $(GLU_LIB_DEPS) \ - -install $(LIBDIR) $(OBJECTS) - -include $(TOP)/Make-config - -include depend - - - -# -# Run 'make depend' to update the dependencies if you change what's included -# by any source file. -# -dep: $(SOURCES) - makedepend -fdepend -Y -I$(TOP)/include $(SOURCES) diff --git a/src/glu/mini/Makefile.X11 b/src/glu/mini/Makefile.X11 deleted file mode 100644 index 4462d56261..0000000000 --- a/src/glu/mini/Makefile.X11 +++ /dev/null @@ -1,65 +0,0 @@ - - -TOP = ../../.. - -default: linux-solo - -LIBDIR = $(TOP)/lib - -INCLUDES = -I$(TOP)/include -CFLAGS = -c -g $(INCLUDES) -MD - -SOURCES = glu.c \ - mipmap.c \ - nurbs.c \ - polytest.c \ - project.c \ - quadric.c \ - tess.c \ - tesselat.c - - -OBJS = $(SOURCES:.c=.o) - -LIBS=-L$(TOP)/lib -lGL -lm - -##### RULES ##### - -.c.o: - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ - -.S.o: - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ - - -##### TARGETS ##### - -targets: depend libGLU.so.1.1 install - -libGLU.so.1.1: $(OBJS) Makefile.X11 - gcc -shared -Wl,-soname,libGLU.so -Wl,-Bsymbolic $(OBJS) $(LIBS) -o $@ - -install: libGLU.so.1.1 - rm -f $(TOP)/lib/libGLU.so* - install -D libGLU.so.1.1 $(TOP)/lib/libGLU.so.1.1 - ln -s libGLU.so.1.1 $(TOP)/lib/libGLU.so.1 - ln -s libGLU.so.1 $(TOP)/lib/libGLU.so - -# Run 'make -f Makefile.X11 dep' to update the dependencies if you change -# what's included by any source file. -depend: $(SOURCES) - makedepend -fdepend -Y $(INCLUDES) \ - $(SOURCES) - -# Emacs tags -tags: - etags `find . -name \*.[ch]` `find ../include` - - -# Remove .o and backup files -clean: - -rm -f *.o *~ *.o *~ *.so libGLU.so.1.1 - -include $(TOP)/Make-config - -include depend diff --git a/src/glu/sgi/Makefile.X11 b/src/glu/sgi/Makefile.X11 deleted file mode 100644 index 77b905d33c..0000000000 --- a/src/glu/sgi/Makefile.X11 +++ /dev/null @@ -1,161 +0,0 @@ -# Makefile for SGI SI GLU library - -.SUFFIXES : .cc - -##### MACROS ##### - -GLU_MAJOR = 1 -GLU_MINOR = 3 -GLU_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY) - -GLU_LIB_NAME = "GLU" # may be overridden in Make-config - -VPATH = RCS - -TOP = ../../.. -INCDIRS = -I$(TOP)/include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -LIBDIR = $(TOP)/lib - -C_SOURCES = \ - libutil/error.c \ - libutil/glue.c \ - libutil/mipmap.c \ - libutil/project.c \ - libutil/quad.c \ - libutil/registry.c \ - libtess/dict.c \ - libtess/geom.c \ - libtess/memalloc.c \ - libtess/mesh.c \ - libtess/normal.c \ - libtess/priorityq.c \ - libtess/render.c \ - libtess/sweep.c \ - libtess/tess.c \ - libtess/tessmono.c - -CC_SOURCES = \ - libnurbs/interface/bezierEval.cc \ - libnurbs/interface/bezierPatch.cc \ - libnurbs/interface/bezierPatchMesh.cc \ - libnurbs/interface/glcurveval.cc \ - libnurbs/interface/glinterface.cc \ - libnurbs/interface/glrenderer.cc \ - libnurbs/interface/glsurfeval.cc \ - libnurbs/interface/incurveeval.cc \ - libnurbs/interface/insurfeval.cc \ - libnurbs/internals/arc.cc \ - libnurbs/internals/arcsorter.cc \ - libnurbs/internals/arctess.cc \ - libnurbs/internals/backend.cc \ - libnurbs/internals/basiccrveval.cc \ - libnurbs/internals/basicsurfeval.cc \ - libnurbs/internals/bin.cc \ - libnurbs/internals/bufpool.cc \ - libnurbs/internals/cachingeval.cc \ - libnurbs/internals/ccw.cc \ - libnurbs/internals/coveandtiler.cc \ - libnurbs/internals/curve.cc \ - libnurbs/internals/curvelist.cc \ - libnurbs/internals/curvesub.cc \ - libnurbs/internals/dataTransform.cc \ - libnurbs/internals/displaylist.cc \ - libnurbs/internals/flist.cc \ - libnurbs/internals/flistsorter.cc \ - libnurbs/internals/hull.cc \ - libnurbs/internals/intersect.cc \ - libnurbs/internals/knotvector.cc \ - libnurbs/internals/mapdesc.cc \ - libnurbs/internals/mapdescv.cc \ - libnurbs/internals/maplist.cc \ - libnurbs/internals/mesher.cc \ - libnurbs/internals/monoTriangulationBackend.cc \ - libnurbs/internals/monotonizer.cc \ - libnurbs/internals/mycode.cc \ - libnurbs/internals/nurbsinterfac.cc \ - libnurbs/internals/nurbstess.cc \ - libnurbs/internals/patch.cc \ - libnurbs/internals/patchlist.cc \ - libnurbs/internals/quilt.cc \ - libnurbs/internals/reader.cc \ - libnurbs/internals/renderhints.cc \ - libnurbs/internals/slicer.cc \ - libnurbs/internals/sorter.cc \ - libnurbs/internals/splitarcs.cc \ - libnurbs/internals/subdivider.cc \ - libnurbs/internals/tobezier.cc \ - libnurbs/internals/trimline.cc \ - libnurbs/internals/trimregion.cc \ - libnurbs/internals/trimvertpool.cc \ - libnurbs/internals/uarray.cc \ - libnurbs/internals/varray.cc \ - libnurbs/nurbtess/directedLine.cc \ - libnurbs/nurbtess/gridWrap.cc \ - libnurbs/nurbtess/monoChain.cc \ - libnurbs/nurbtess/monoPolyPart.cc \ - libnurbs/nurbtess/monoTriangulation.cc \ - libnurbs/nurbtess/partitionX.cc \ - libnurbs/nurbtess/partitionY.cc \ - libnurbs/nurbtess/polyDBG.cc \ - libnurbs/nurbtess/polyUtil.cc \ - libnurbs/nurbtess/primitiveStream.cc \ - libnurbs/nurbtess/quicksort.cc \ - libnurbs/nurbtess/rectBlock.cc \ - libnurbs/nurbtess/sampleComp.cc \ - libnurbs/nurbtess/sampleCompBot.cc \ - libnurbs/nurbtess/sampleCompRight.cc \ - libnurbs/nurbtess/sampleCompTop.cc \ - libnurbs/nurbtess/sampleMonoPoly.cc \ - libnurbs/nurbtess/sampledLine.cc \ - libnurbs/nurbtess/searchTree.cc - -SOURCES = $(C_SOURCES) $(CC_SOURCES) - -C_OBJECTS = $(C_SOURCES:.c=.o) -CC_OBJECTS = $(CC_SOURCES:.cc=.o) -OBJECTS = $(C_OBJECTS) $(CC_OBJECTS) - - -##### RULES ##### - -.c.o: - $(CC) -c $(INCDIRS) $(CFLAGS) -DNDEBUG -DLIBRARYBUILD $< -o $@ - -.cc.o: - $(CXX) -c $(INCDIRS) $(CXXFLAGS) -DNDEBUG -DLIBRARYBUILD $< -o $@ - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o */*.o */*/*.o - -rm -f *.lo */*.lo */*/*.lo - -rm -f *.la */*.la */*/*.la - - -targets: $(LIBDIR)/$(GLU_LIB) - -# Make the library: -$(LIBDIR)/$(GLU_LIB): $(OBJECTS) - $(TOP)/bin/mklib -o $(GLU_LIB_NAME) -major $(GLU_MAJOR) \ - -minor $(GLU_MINOR) -patch $(GLU_TINY) \ - $(MKLIB_OPTIONS) -cplusplus -install $(LIBDIR) \ - $(GLU_LIB_DEPS) $(OBJECTS) - - - -include $(TOP)/Make-config - -include depend - - - -# -# Run 'make depend' to update the dependencies if you change what's included -# by any source file. -# -dep: $(SOURCES) - makedepend -fdepend -Y -I$(TOP)/include $(SOURCES) diff --git a/src/glut/glx/Makefile.X11 b/src/glut/glx/Makefile.X11 deleted file mode 100644 index bce0d20684..0000000000 --- a/src/glut/glx/Makefile.X11 +++ /dev/null @@ -1,119 +0,0 @@ -# Makefile for GLUT -# -# NOTICE: The OpenGL Utility Toolkit (GLUT) distribution contains source -# code published in a book titled "Programming OpenGL for the X Window -# System" (ISBN: 0-201-48359-9) published by Addison-Wesley. The -# programs and associated files contained in the distribution were -# developed by Mark J. Kilgard and are Copyright 1994, 1995, 1996 by Mark -# J. Kilgard (unless otherwise noted). The programs are not in the -# public domain, but they are freely distributable without licensing -# fees. These programs are provided without guarantee or warrantee -# expressed or implied. -# -# GLUT source included with Mesa with permission from Mark Kilgard. - - -##### MACROS ##### - -GLUT_MAJOR = 3 -GLUT_MINOR = 7 -GLUT_TINY = 1 - -VPATH = RCS - -TOP = ../../.. -INCDIR = $(TOP)/include -LIBDIR = $(TOP)/lib - -SOURCES = \ - glut_8x13.c \ - glut_9x15.c \ - glut_bitmap.c \ - glut_bwidth.c \ - glut_cindex.c \ - glut_cmap.c \ - glut_cursor.c \ - glut_dials.c \ - glut_dstr.c \ - glut_event.c \ - glut_ext.c \ - glut_fbc.c \ - glut_fullscrn.c \ - glut_gamemode.c \ - glut_get.c \ - glut_glxext.c \ - glut_hel10.c \ - glut_hel12.c \ - glut_hel18.c \ - glut_init.c \ - glut_input.c \ - glut_joy.c \ - glut_key.c \ - glut_keyctrl.c \ - glut_keyup.c \ - glut_menu.c \ - glut_menu2.c \ - glut_mesa.c \ - glut_modifier.c \ - glut_mroman.c \ - glut_overlay.c \ - glut_roman.c \ - glut_shapes.c \ - glut_space.c \ - glut_stroke.c \ - glut_swap.c \ - glut_swidth.c \ - glut_tablet.c \ - glut_teapot.c \ - glut_tr10.c \ - glut_tr24.c \ - glut_util.c \ - glut_vidresize.c \ - glut_warp.c \ - glut_win.c \ - glut_winmisc.c \ - layerutil.c - - -OBJECTS = $(SOURCES:.c=.o) - - - -##### RULES ##### - -.c.o: - $(CC) -c -I$(INCDIR) $(CFLAGS) $(GLUT_CFLAGS) $< - - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o *~ - -rm -f *.lo - -rm -f *.la - -rm -rf .libs - -targets: $(LIBDIR)/$(GLUT_LIB) - -# Make the library -$(LIBDIR)/$(GLUT_LIB): $(OBJECTS) - $(TOP)/bin/mklib -o glut -major $(GLUT_MAJOR) -minor $(GLUT_MINOR) \ - -patch $(GLUT_TINY) $(MKLIB_OPTIONS) -install $(LIBDIR) \ - $(GLUT_LIB_DEPS) $(OBJECTS) - -include $(TOP)/Make-config - -include depend - - - -# -# Run 'make dep' to update the dependencies if you change what's included -# by any source file. -# -dep: $(SOURCES) - makedepend -fdepend -Y -I$(TOP)/include $(SOURCES) diff --git a/src/glw/Makefile.X11 b/src/glw/Makefile.X11 deleted file mode 100644 index d7513ffb5a..0000000000 --- a/src/glw/Makefile.X11 +++ /dev/null @@ -1,72 +0,0 @@ -# Makefile for SGI's OpenGL widgets - - -##### MACROS ##### - -MAJOR = 1 -MINOR = 0 -TINY = 0 - -TOP = ../.. - -VPATH = RCS - -INCDIRS = -I$(TOP)/include -I/usr/include/Motif1.2 -I/usr/contrib/X11R6/include -I/usr/X11R6/include -LIBDIR = $(TOP)/lib - -# Use these sources for Motif (and Xt) support. Requires Motif header files. -#SOURCES = GLwDrawA.c GLwMDrawA.c - -# OR, use these sources for non-Motif (Xt only) build: -SOURCES = GLwDrawA.c - - -OBJECTS = $(SOURCES:.c=.o) - - - -##### RULES ##### - -.c.o: - $(CC) -c $(INCDIRS) $(CFLAGS) $< - - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o *~ - -targets: $(LIBDIR)/$(GLW_LIB) message - - -# Make the library -$(LIBDIR)/$(GLW_LIB): $(OBJECTS) - $(TOP)/bin/mklib -o GLw -major $(MAJOR) -minor $(MINOR) \ - -patch $(TINY) $(MKLIB_OPTIONS) -install $(LIBDIR) \ - $(GLW_LIB_DEPS) $(OBJECTS) - - -message: - @echo - @echo "************************************************************************" - @echo "*** Edit widgets-sgi/Makefile.X11 to enable Motif support, if needed ***" - @echo "************************************************************************" - @echo - - -include $(TOP)/Make-config - -include depend - - - -# -# Run 'make depend' to update the dependencies if you change what's included -# by any source file. -# -dep: $(SOURCES) - makedepend -fdepend -Y -I$(TOP)/include $(SOURCES) diff --git a/src/mesa/Makefile.X11 b/src/mesa/Makefile.X11 deleted file mode 100644 index 22708b5efa..0000000000 --- a/src/mesa/Makefile.X11 +++ /dev/null @@ -1,147 +0,0 @@ -# Makefile for main Mesa library for Unix/X11-like systems - - -##### MACROS ##### - -TOP = ../.. - -GL_MAJOR = 1 -GL_MINOR = 5 -GL_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY) - -# These may be overridden in Make-config -GL_LIB_NAME = GL -OSMESA_LIB_NAME = OSMesa - -LIBDIR = $(TOP)/lib - - -include sources - - -# This will probably get set to $(X86_SOURCES) in Make-config: -ASM_SOURCES = - -# This should get set in Make-config someday: -DRIVER_SOURCES = \ - $(COMMON_DRIVER_SOURCES) \ - $(X11_DRIVER_SOURCES) \ - $(GLIDE_DRIVER_SOURCES) \ - $(SVGA_DRIVER_SOURCES) \ - $(FBDEV_DRIVER_SOURCES) - -# All the sources we care about: -SOURCES = \ - $(CORE_SOURCES) \ - $(ASM_SOURCES) \ - $(DRIVER_SOURCES) - - -ASM_OBJECTS = $(ASM_SOURCES:.S=.o) - -DRIVER_OBJECTS = $(DRIVER_SOURCES:.c=.o) - -OSMESA_OBJECTS = $(OSMESA_DRIVER_SOURCES:.c=.o) - -# All the objects we want to make: -OBJECTS = \ - $(CORE_OBJECTS) \ - $(ASM_OBJECTS) \ - $(DRIVER_OBJECTS) - - - -##### RULES ##### - -.c.o: - $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ - -.S.o: - $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ - - -# need some special rules here, unfortunately -x86/matypes.h: main/mtypes.h tnl/t_context.h x86/gen_matypes.c - $(CC) $(INCLUDE_DIRS) $(CFLAGS) x86/gen_matypes.c -o x86/gen_matypes - ./x86/gen_matypes > x86/matypes.h - #rm -f x86/gen_matypes x86/*.o - -x86/common_x86_asm.o: x86/matypes.h -x86/3dnow_normal.o: x86/matypes.h -x86/3dnow_xform1.o: x86/matypes.h -x86/3dnow_xform2.o: x86/matypes.h -x86/3dnow_xform3.o: x86/matypes.h -x86/3dnow_xform4.o: x86/matypes.h -x86/mmx_blend.o: x86/matypes.h -x86/sse_normal.o: x86/matypes.h -x86/sse_xform1.o: x86/matypes.h -x86/sse_xform2.o: x86/matypes.h -x86/sse_xform3.o: x86/matypes.h -x86/sse_xform4.o: x86/matypes.h -x86/x86_cliptest.o: x86/matypes.h -x86/x86_xform2.o: x86/matypes.h -x86/x86_xform3.o: x86/matypes.h -x86/x86_xform4.o: x86/matypes.h - - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - - -targets: $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(OSMESA_LIB) - - -# Make the GL library -$(LIBDIR)/$(GL_LIB): $(OBJECTS) - $(TOP)/bin/mklib -o $(GL_LIB_NAME) -major $(GL_MAJOR) \ - -minor $(GL_MINOR) -patch $(GL_TINY) -install $(LIBDIR) \ - $(MKLIB_OPTIONS) $(GL_LIB_DEPS) $(OBJECTS) - - -# Make the OSMesa library -$(LIBDIR)/$(OSMESA_LIB): $(OSMESA_OBJECTS) - if [ ${OSMESA_LIB} ] ; then \ - $(TOP)/bin/mklib -o $(OSMESA_LIB_NAME) -major $(MESA_MAJOR) \ - -minor $(MESA_MINOR) -patch $(GL_TINY) \ - $(MKLIB_OPTIONS) -install $(LIBDIR) \ - $(OSMESA_LIB_DEPS) $(OSMESA_OBJECTS) ; \ - fi - - -# Make an optional library with _just_ core objects -# XXX this should probably be moved into a separate makefile -libmesa: $(LIBDIR)/$(MESA_LIB) - if [ ${MESA_LIB} ] ; then \ - $(MAKELIB) $(MESA_LIB) $(MESA_MAJOR) \ - $(MESA_MINOR) $(GL_TINY) $(CORE_OBJECTS) ; \ - fi - if [ ${MESA_LIB} ] ; then rm -f $(LIBDIR)/$(MESA_LIB)* ; fi - if [ ${MESA_LIB} ] ; then mv $(MESA_LIB)* $(LIBDIR) ; fi -$(LIBDIR)/$(MESA_LIB): $(CORE_OBJECTS) - - - -# Run 'make -f Makefile.X11 dep' to update the dependencies if you change -# what's included by any source file. -dep: $(SOURCES) - makedepend -fdepend -Y $(INCLUDE_DIRS) -DGGI -DSVGA -DFX $(SOURCES) - - -# Emacs tags -tags: - etags `find . -name \*.[ch]` `find ../include` - - -# Remove .o and backup files -clean: - -rm -f *.a - -rm -f */*.o */*~ */*.o */*~ - -rm -f drivers/*/*.o drivers/*/*/*.o - - -include $(TOP)/Make-config - -include depend -- cgit v1.2.3