summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJouk Jansen <joukj@hrem.stm.tudelft.nl>2000-08-22 13:31:00 +0000
committerJouk Jansen <joukj@hrem.stm.tudelft.nl>2000-08-22 13:31:00 +0000
commitb5b5c52034840dbfcd3f76a9e7cde8b379e7d517 (patch)
treefdb77903d8a0bb01e28e5e465b1e751136723692 /src
parentf4f4dab25a6c52d403a0b19ab28b443cda8f5730 (diff)
Committing in .
Modified Files: Mesa/include/GL/glx.h Mesa/include/GL/xmesa.h Mesa/src/descrip.mms Mesa/src/X/glxheader.h Mesa/src/X/xfonts.c Mesa/src/X/xfonts.h Mesa/src-glu/descrip.mms Mesa/src-glut/capturexfont.c Mesa/src-glut/descrip.mms Mesa/src-glut/glut_cmap.c Mesa/src-glut/glut_event.c Mesa/src-glut/glut_fullscrn.c Mesa/src-glut/glut_gamemode.c Mesa/src-glut/glut_init.c Mesa/src-glut/glut_input.c Mesa/src-glut/glut_menu.c Mesa/src-glut/glut_menu2.c Mesa/src-glut/glut_overlay.c Mesa/src-glut/glut_win.c Mesa/src-glut/glut_winmisc.c Mesa/src-glut/glutint.h Mesa/src-glut/layerutil.h Mesa/vms/analyze_map.com Added Files: Mesa/include/GL/vms_x_fix.h Patches effective on VMS only. This allows for compiling with /name=(as_is,short). This breaks the binary compatibility with previous versions for VMS, but is the only way to combine Mesa with GTK for VMS. Jouk ----------------------------------------------------------------------
Diffstat (limited to 'src')
-rw-r--r--src/glu/mesa/descrip.mms2
-rw-r--r--src/glut/glx/capturexfont.c4
-rw-r--r--src/glut/glx/descrip.mms2
-rw-r--r--src/glut/glx/glut_cmap.c4
-rw-r--r--src/glut/glx/glut_event.c4
-rw-r--r--src/glut/glx/glut_fullscrn.c4
-rw-r--r--src/glut/glx/glut_gamemode.c4
-rw-r--r--src/glut/glx/glut_init.c4
-rw-r--r--src/glut/glx/glut_input.c4
-rw-r--r--src/glut/glx/glut_menu.c4
-rw-r--r--src/glut/glx/glut_menu2.c4
-rw-r--r--src/glut/glx/glut_overlay.c4
-rw-r--r--src/glut/glx/glut_win.c4
-rw-r--r--src/glut/glx/glut_winmisc.c4
-rw-r--r--src/glut/glx/glutint.h4
-rw-r--r--src/glut/glx/layerutil.h4
-rw-r--r--src/mesa/drivers/x11/glxheader.h5
-rw-r--r--src/mesa/drivers/x11/xfonts.c5
-rw-r--r--src/mesa/drivers/x11/xfonts.h5
-rw-r--r--src/mesa/main/descrip.mms8
20 files changed, 74 insertions, 9 deletions
diff --git a/src/glu/mesa/descrip.mms b/src/glu/mesa/descrip.mms
index 5f5334c741..16a1e61536 100644
--- a/src/glu/mesa/descrip.mms
+++ b/src/glu/mesa/descrip.mms
@@ -12,7 +12,7 @@ VPATH = RCS
INCDIR = $disk2:[-.include]
LIBDIR = [-.lib]
-CFLAGS = /include=$(INCDIR)/define=(FBIND=1)
+CFLAGS = /include=$(INCDIR)/define=(FBIND=1)/name=(as_is,short)
SOURCES = glu.c mipmap.c nurbs.c nurbscrv.c nurbssrf.c nurbsutl.c \
polytest.c project.c quadric.c tess.c tesselat.c
diff --git a/src/glut/glx/capturexfont.c b/src/glut/glx/capturexfont.c
index 3bed13c9be..b99e793056 100644
--- a/src/glut/glx/capturexfont.c
+++ b/src/glut/glx/capturexfont.c
@@ -10,6 +10,10 @@
encoding the font for GLUT's use. Example usage:
capturexfont.c 9x15 glutBitmap9By15 > glut_9x15.c */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/glut/glx/descrip.mms b/src/glut/glx/descrip.mms
index e6aeb8352e..5d59c42db4 100644
--- a/src/glut/glx/descrip.mms
+++ b/src/glut/glx/descrip.mms
@@ -14,7 +14,7 @@ VPATH = RCS
INCDIR = [-.include]
LIBDIR = [-.lib]
-CFLAGS = /nowarn/include=$(INCDIR)/prefix=all
+CFLAGS = /nowarn/include=$(INCDIR)/prefix=all/name=(as_is,short)
SOURCES = \
glut_8x13.c \
diff --git a/src/glut/glx/glut_cmap.c b/src/glut/glx/glut_cmap.c
index a9d004003f..1c496ad66d 100644
--- a/src/glut/glx/glut_cmap.c
+++ b/src/glut/glx/glut_cmap.c
@@ -5,6 +5,10 @@
and is provided without guarantee or warrantee expressed or
implied. This program is -not- in the public domain. */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <stdio.h> /* SunOS multithreaded assert() needs <stdio.h>. Lame. */
diff --git a/src/glut/glx/glut_event.c b/src/glut/glx/glut_event.c
index 6d928af2ea..f4463dee0b 100644
--- a/src/glut/glx/glut_event.c
+++ b/src/glut/glx/glut_event.c
@@ -5,6 +5,10 @@
and is provided without guarantee or warrantee expressed or
implied. This program is -not- in the public domain. */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
diff --git a/src/glut/glx/glut_fullscrn.c b/src/glut/glx/glut_fullscrn.c
index 8d58f1743c..0f1ea10b1b 100644
--- a/src/glut/glx/glut_fullscrn.c
+++ b/src/glut/glx/glut_fullscrn.c
@@ -5,6 +5,10 @@
and is provided without guarantee or warrantee expressed or
implied. This program is -not- in the public domain. */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#include <stdio.h> /* SunOS multithreaded assert() needs <stdio.h>. Lame. */
#include <assert.h>
diff --git a/src/glut/glx/glut_gamemode.c b/src/glut/glx/glut_gamemode.c
index b685ce33e2..004f325a06 100644
--- a/src/glut/glx/glut_gamemode.c
+++ b/src/glut/glx/glut_gamemode.c
@@ -5,6 +5,10 @@
and is provided without guarantee or warrantee expressed or
implied. This program is -not- in the public domain. */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/glut/glx/glut_init.c b/src/glut/glx/glut_init.c
index b9d2fde3f3..d4d0e8a978 100644
--- a/src/glut/glx/glut_init.c
+++ b/src/glut/glx/glut_init.c
@@ -5,6 +5,10 @@
and is provided without guarantee or warrantee expressed or
implied. This program is -not- in the public domain. */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
diff --git a/src/glut/glx/glut_input.c b/src/glut/glx/glut_input.c
index bc93d5e515..d012c5ee16 100644
--- a/src/glut/glx/glut_input.c
+++ b/src/glut/glx/glut_input.c
@@ -5,6 +5,10 @@
and is provided without guarantee or warrantee expressed or
implied. This program is -not- in the public domain. */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/glut/glx/glut_menu.c b/src/glut/glx/glut_menu.c
index 2af3482afc..0c36d348f4 100644
--- a/src/glut/glx/glut_menu.c
+++ b/src/glut/glx/glut_menu.c
@@ -9,6 +9,10 @@
the menuing functionality implemented. This file is used only by
the X Window System version of GLUT. */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
diff --git a/src/glut/glx/glut_menu2.c b/src/glut/glx/glut_menu2.c
index 93119b540e..d02cee4ac1 100644
--- a/src/glut/glx/glut_menu2.c
+++ b/src/glut/glx/glut_menu2.c
@@ -12,6 +12,10 @@
the menuing functionality implemented. This file is used only by
the X Window System version of GLUT. */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
diff --git a/src/glut/glx/glut_overlay.c b/src/glut/glx/glut_overlay.c
index 13ece12a15..cc3c8ced64 100644
--- a/src/glut/glx/glut_overlay.c
+++ b/src/glut/glx/glut_overlay.c
@@ -5,6 +5,10 @@
and is provided without guarantee or warrantee expressed or
implied. This program is -not- in the public domain. */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/glut/glx/glut_win.c b/src/glut/glx/glut_win.c
index 883bacb087..934144f633 100644
--- a/src/glut/glx/glut_win.c
+++ b/src/glut/glx/glut_win.c
@@ -5,6 +5,10 @@
and is provided without guarantee or warrantee expressed or
implied. This program is -not- in the public domain. */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/glut/glx/glut_winmisc.c b/src/glut/glx/glut_winmisc.c
index 5a9d199a56..60d5a073a8 100644
--- a/src/glut/glx/glut_winmisc.c
+++ b/src/glut/glx/glut_winmisc.c
@@ -5,6 +5,10 @@
and is provided without guarantee or warrantee expressed or
implied. This program is -not- in the public domain. */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/glut/glx/glutint.h b/src/glut/glx/glutint.h
index 71dceeceee..f54ca0bd16 100644
--- a/src/glut/glx/glutint.h
+++ b/src/glut/glx/glutint.h
@@ -7,6 +7,10 @@
and is provided without guarantee or warrantee expressed or
implied. This program is -not- in the public domain. */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#if defined(__CYGWIN32__)
#include <sys/time.h>
#endif
diff --git a/src/glut/glx/layerutil.h b/src/glut/glx/layerutil.h
index 3461077409..8f580afe3b 100644
--- a/src/glut/glx/layerutil.h
+++ b/src/glut/glx/layerutil.h
@@ -9,6 +9,10 @@
/* Based on XLayerUtil.h: Revision: 1.3 */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#if !defined(_WIN32)
#include <X11/Xlib.h>
#include <X11/Xutil.h>
diff --git a/src/mesa/drivers/x11/glxheader.h b/src/mesa/drivers/x11/glxheader.h
index 28e53659f0..99a6400aad 100644
--- a/src/mesa/drivers/x11/glxheader.h
+++ b/src/mesa/drivers/x11/glxheader.h
@@ -1,4 +1,4 @@
-/* $Id: glxheader.h,v 1.1 1999/11/11 01:29:28 brianp Exp $ */
+/* $Id: glxheader.h,v 1.2 2000/08/22 13:31:04 joukj Exp $ */
/*
* Mesa 3-D graphics library
@@ -28,6 +28,9 @@
#ifndef GLX_HEADER_H
#define GLX_HEADER_H
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
#ifdef HAVE_CONFIG_H
#include "conf.h"
diff --git a/src/mesa/drivers/x11/xfonts.c b/src/mesa/drivers/x11/xfonts.c
index 27b877dbab..e0f457a354 100644
--- a/src/mesa/drivers/x11/xfonts.c
+++ b/src/mesa/drivers/x11/xfonts.c
@@ -1,4 +1,4 @@
-/* $Id: xfonts.c,v 1.8 2000/08/13 03:57:21 brianp Exp $ */
+/* $Id: xfonts.c,v 1.9 2000/08/22 13:31:04 joukj Exp $ */
/*
* Mesa 3-D graphics library
@@ -29,6 +29,9 @@
* Copyright (C) 1995 Thorsten.Ohl @ Physik.TH-Darmstadt.de
*/
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
#ifdef HAVE_CONFIG_H
#include "conf.h"
diff --git a/src/mesa/drivers/x11/xfonts.h b/src/mesa/drivers/x11/xfonts.h
index 9cbe11f7bb..712c9d4c32 100644
--- a/src/mesa/drivers/x11/xfonts.h
+++ b/src/mesa/drivers/x11/xfonts.h
@@ -1,4 +1,4 @@
-/* $Id: xfonts.h,v 1.1 2000/04/19 01:44:02 brianp Exp $ */
+/* $Id: xfonts.h,v 1.2 2000/08/22 13:31:04 joukj Exp $ */
/*
* Mesa 3-D graphics library
@@ -28,6 +28,9 @@
#ifndef XFONTS_H
#define XFONTS_H
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
#include <X11/Xlib.h>
diff --git a/src/mesa/main/descrip.mms b/src/mesa/main/descrip.mms
index 78c3b43480..e532df4c52 100644
--- a/src/mesa/main/descrip.mms
+++ b/src/mesa/main/descrip.mms
@@ -1,6 +1,6 @@
# Makefile for core library for VMS
# contributed by Jouk Jansen joukj@crys.chem.uva.nl
-# Last revision : 3 May 1999
+# Last revision : 22 August 2000
.first
define gl [-.include.gl]
@@ -13,11 +13,11 @@ VPATH = RCS
INCDIR = [-.include]
LIBDIR = [-.lib]
-CFLAGS = /include=($(INCDIR),[])/define=(FBIND=1)
+CFLAGS = /include=($(INCDIR),[])/define=(FBIND=1)/name=(as_is,short)
CORE_SOURCES = aatriangle.c accum.c alpha.c alphabuf.c attrib.c \
bitmap.c blend.c buffers.c clip.c colortab.c context.c copypix.c depth.c \
-dispatch.c \
+dispatch.c convolve.c \
dlist.c drawpix.c enable.c eval.c feedback.c fog.c \
get.c hash.c hint.c image.c imaging.c light.c lines.c logic.c masking.c matrix.c \
mem.c glapi.c glapinoop.c \
@@ -51,7 +51,7 @@ mmath.obj,pb.obj,pixel.obj,points.obj
OBJECTS7=polygon.obj,\
quads.obj,rastpos.obj,readpix.obj,rect.obj,scissor.obj,shade.obj,span.obj,\
-pixeltex.obj
+pixeltex.obj,convolve.obj
OBJECTS4=stencil.obj,teximage.obj,texobj.obj,texstate.obj,texture.obj,translate.obj,\
triangle.obj,varray.obj,winpos.obj,vb.obj,vbcull.obj,vbfill.obj,vbrender.obj