diff options
Diffstat (limited to 'progs')
-rw-r--r-- | progs/demos/Makefile.X11 | 101 | ||||
-rw-r--r-- | progs/redbook/Makefile.X11 | 50 | ||||
-rw-r--r-- | progs/samples/Makefile.X11 | 44 | ||||
-rw-r--r-- | progs/tests/Makefile.X11 | 115 | ||||
-rw-r--r-- | progs/xdemos/Makefile.X11 | 94 |
5 files changed, 0 insertions, 404 deletions
diff --git a/progs/demos/Makefile.X11 b/progs/demos/Makefile.X11 deleted file mode 100644 index a26ed3d398..0000000000 --- a/progs/demos/Makefile.X11 +++ /dev/null @@ -1,101 +0,0 @@ -# Makefile for GLUT-based demo programs - - -##### MACROS ##### - -TOP = ../.. -INCDIR = $(TOP)/include -LIBDIR = $(TOP)/lib - -LIBS = -L$(LIBDIR) $(APP_LIB_DEPS) - -OSMESA_LIBS = -L$(LIBDIR) -lglut -lOSMesa -lGLU -lGL $(APP_LIB_DEPS) - -LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB) - -PROGS = \ - arbfplight \ - arbocclude \ - bounce \ - clearspd \ - cubemap \ - drawpix \ - fire \ - fplight \ - gamma \ - gears \ - geartrain \ - glinfo \ - gloss \ - gltestperf \ - glutfx \ - isosurf \ - ipers \ - lodbias \ - morph3d \ - multiarb \ - occlude \ - osdemo \ - paltex \ - pixeltex \ - pointblast \ - ray \ - readpix \ - reflect \ - renormal \ - shadowtex \ - spectex \ - spriteblast \ - stex3d \ - teapot \ - terrain \ - tessdemo \ - texcyl \ - texdown \ - texenv \ - texobj \ - trispd \ - tunnel \ - tunnel2 \ - winpos - - -##### RULES ##### - -.SUFFIXES: -.SUFFIXES: .c - - -# make executable from .c file: -.c: $(LIB_DEP) - $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@ - -# special case: need the -lOSMesa library: -osdemo: osdemo.c - $(CC) -I$(INCDIR) $(CFLAGS) osdemo.c $(OSMESA_LIBS) -o $@ - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o *~ - -realclean: - -rm -f $(PROGS) - -rm -f *.o *~ - -rm -f readtex.[ch] - -targets: readtex.c readtex.h $(PROGS) - - -readtex.c: - cp $(TOP)/progs/util/readtex.c . - -readtex.h: - cp $(TOP)/progs/util/readtex.h . - - -include $(TOP)/Make-config diff --git a/progs/redbook/Makefile.X11 b/progs/redbook/Makefile.X11 deleted file mode 100644 index aa3585cfe4..0000000000 --- a/progs/redbook/Makefile.X11 +++ /dev/null @@ -1,50 +0,0 @@ -# Makefile for programs from the OpenGL Programming Guide - - -##### MACROS ##### - -TOP = ../.. -INCDIR = $(TOP)/include -LIBDIR = $(TOP)/lib - -LIBS = -L$(LIBDIR) $(APP_LIB_DEPS) - -LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB) - -PROGS = aaindex aapoly aargb accanti accpersp alpha alpha3D anti \ - bezcurve bezmesh checker clip colormat cube depthcue dof \ - double drawf feedback fog fogindex font hello image light \ - lines list material mipmap model movelight nurbs pickdepth \ - picksquare plane planet polyoff polys quadric robot sccolorlight \ - scene scenebamb sceneflat select smooth stencil stroke surface \ - teaambient teapots tess tesswind texbind texgen texprox texsub \ - texturesurf torus trim unproject varray wrap - - - -##### RULES ##### - -.SUFFIXES: -.SUFFIXES: .c - -.c: $(LIB_DEP) - $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@ - - - -##### TARGETS ###### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o *~ - -realclean: - -rm -f $(PROGS) - -rm -f *.o *~ - -targets: $(PROGS) - - -include $(TOP)/Make-config diff --git a/progs/samples/Makefile.X11 b/progs/samples/Makefile.X11 deleted file mode 100644 index d7efd25cd5..0000000000 --- a/progs/samples/Makefile.X11 +++ /dev/null @@ -1,44 +0,0 @@ -# Makefile for assorted SGI OpenGL demos - - -##### MACROS ##### - -TOP = ../.. -INCDIR = $(TOP)/include -LIBDIR = $(TOP)/lib - -LIBS = -L$(LIBDIR) $(APP_LIB_DEPS) - -LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB) - -PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \ - font line logo nurb oglinfo olympic overlay point prim quad select \ - shape sphere star stencil stretch texture tri wave - - -##### RULES ##### - -.SUFFIXES: -.SUFFIXES: .c - -.c: $(LIB_DEP) - $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@ - - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o *~ - -realclean: - -rm -f $(PROGS) - -rm -f *.o *~ - -targets: $(PROGS) - - -include $(TOP)/Make-config diff --git a/progs/tests/Makefile.X11 b/progs/tests/Makefile.X11 deleted file mode 100644 index 77423395e0..0000000000 --- a/progs/tests/Makefile.X11 +++ /dev/null @@ -1,115 +0,0 @@ - -# Simple makefile for compiling test programs on Linux -# These programs aren't intended to be included with the normal -# distro. They're not too interesting but they're good for testing. - -TOP = ../.. -LIBDIR = $(TOP)/lib - -LIBS = -L$(LIBDIR) $(APP_LIB_DEPS) - -SOURCES = antialias.c \ - arbfpspec.c \ - arbfptest1.c \ - arbfptexture.c \ - arbfptrig.c \ - arbvptest1.c \ - arbvptest3.c \ - arbvptorus.c \ - arbvpwarpmesh.c \ - bufferobj.c \ - cva.c \ - dinoshade.c \ - fogcoord.c \ - fptest1.c \ - fptexture.c \ - getprocaddress.c \ - manytex.c \ - multipal.c \ - pbo.c \ - projtex.c \ - seccolor.c \ - sharedtex.c \ - stencilwrap.c \ - tex1d.c \ - texline.c \ - texrect.c \ - texwrap.c \ - vparray.c \ - vptest1.c \ - vptest2.c \ - vptest3.c \ - vptorus.c \ - vpwarpmesh.c \ - yuvrect.c \ - yuvsquare.c - -OBJECTS = $(SOURCES:.c=.o) - -PROGS = $(SOURCES:%.c=%) - -INCLUDES = \ - -I. \ - -I$(TOP)/include - -##### RULES ##### - -.SUFFIXES: -.SUFFIXES: .c - -.c: - $(CC) $(INCLUDES) $(CFLAGS) $< $(LIBS) -o $@ - -.c.o: - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ - -.S.o: - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ - - -##### TARGETS ##### - -targets: $(PROGS) - -clean: - rm -f $(PROGS) - rm -f *.o - -# auto code generation -getprocaddress: getprocaddress.c getproclist.h - -getproclist.h: $(TOP)/src/mesa/glapi/APIspec getprocaddress.c getprocaddress.py - python getprocaddress.py > getproclist.h - - -texrect: texrect.o readtex.o - $(CC) texrect.o readtex.o $(LIBS) -o $@ - -texrect.o: texrect.c readtex.h - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ - -readtex.o: readtex.c - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ - - -readtex.h: $(TOP)/progs/util/readtex.h - ln -s $(TOP)/progs/util/readtex.h . - -readtex.c: $(TOP)/progs/util/readtex.c - ln -s $(TOP)/progs/util/readtex.c . - -# 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 $(INCLUDES) \ - $(SOURCES) - - -# Emacs tags -tags: - etags `find . -name \*.[ch]` `find ../include` - - -include $(TOP)/Make-config - -include depend diff --git a/progs/xdemos/Makefile.X11 b/progs/xdemos/Makefile.X11 deleted file mode 100644 index 55c8489c4e..0000000000 --- a/progs/xdemos/Makefile.X11 +++ /dev/null @@ -1,94 +0,0 @@ -# Makefile for non-GLUT (X11, SVGA, etc) demo programs - - -##### MACROS ##### - -TOP = ../.. -INCDIR = $(TOP)/include -LIBDIR = $(TOP)/lib - -LIBS = -L$(LIBDIR) $(APP_LIB_DEPS) - -LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) - -PROGS = glthreads \ - glxdemo \ - glxgears \ - glxheads \ - glxinfo \ - glxpixmap \ - glxpbdemo \ - glxswapcontrol \ - manywin \ - offset \ - pbinfo \ - pbdemo \ - wincopy \ - xdemo \ - xfont \ - xrotfontdemo \ - glxgears_fbconfig \ - opencloseopen - - - -##### RULES ##### - -.SUFFIXES: -.SUFFIXES: .c - -.c: $(LIB_DEP) - $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@ - - -# special cases -pbinfo: pbinfo.o pbutil.o - $(CC) pbinfo.o pbutil.o $(LIBS) -o $@ - -pbdemo: pbdemo.o pbutil.o - $(CC) pbdemo.o pbutil.o $(LIBS) -o $@ - -pbinfo.o: pbinfo.c pbutil.h - $(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbinfo.c - -pbdemo.o: pbdemo.c pbutil.h - $(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbdemo.c - -pbutil.o: pbutil.c pbutil.h - $(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbutil.c - -glxgears_fbconfig.o: glxgears_fbconfig.c pbutil.h - $(CC) -c -I. -I$(INCDIR) $(CFLAGS) glxgears_fbconfig.c - -glxgears_fbconfig: glxgears_fbconfig.o pbutil.o - $(CC) glxgears_fbconfig.o pbutil.o $(LIBS) -o $@ - -xrotfontdemo: xrotfontdemo.o xuserotfont.o - $(CC) xrotfontdemo.o xuserotfont.o $(LIBS) -o $@ - -xuserotfont.o: xuserotfont.c xuserotfont.h - $(CC) -c -I. -I$(INCDIR) $(CFLAGS) xuserotfont.c - -xrotfontdemo.o: xrotfontdemo.c xuserotfont.h - $(CC) -c -I. -I$(INCDIR) $(CFLAGS) xrotfontdemo.c - - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration (i.e. make -f Makefile.X11 linux)" - -clean: - -rm -f *.o *~ - -realclean: - -rm -f $(PROGS) - -rm -f *.o *~ - -targets: $(PROGS) - - -include $(TOP)/Make-config - - |