1ecc88c1e1cad4a5ac933fd085237f54cff62d2d4Brian Paul
2e18df5f669af32eedf2980c70f60f4e13d06244cJouk JansenVMS support contributed by Jouk Jansen (joukj@hrem.stm.tudelft.nl)
3ecc88c1e1cad4a5ac933fd085237f54cff62d2d4Brian Paul
4ecc88c1e1cad4a5ac933fd085237f54cff62d2d4Brian Paul
5e18df5f669af32eedf2980c70f60f4e13d06244cJouk JansenThe latest version was tested on a VMSAlpha7.2 system using DECC6.0, but
6e18df5f669af32eedf2980c70f60f4e13d06244cJouk Jansenprobably also works for other versions.
7e18df5f669af32eedf2980c70f60f4e13d06244cJouk Jansen
8f464dc1168d562973689635756b42f0ca2e85a59Jouk JansenAt the moment only the libraries LIBMESGL.EXE/LIBMESGL.OLB,
9f464dc1168d562973689635756b42f0ca2e85a59Jouk JansenLIBMESAGLU.EXE/LIBMESAGLU.OLB and LIBGLUT.EXE/LIBGLUT.OLB and the demos of the
10f464dc1168d562973689635756b42f0ca2e85a59Jouk Jansendirectory [.DEMOS] can be build.
11e18df5f669af32eedf2980c70f60f4e13d06244cJouk JansenHowever, feel free to create the missing "decrip.mms-files" in the other
12e18df5f669af32eedf2980c70f60f4e13d06244cJouk Jansendirectories.
13e18df5f669af32eedf2980c70f60f4e13d06244cJouk Jansen
14e18df5f669af32eedf2980c70f60f4e13d06244cJouk Jansen The make files were tested
15e18df5f669af32eedf2980c70f60f4e13d06244cJouk Jansenusing the DIGITAL make utility called MMS.  There is also a public domain
16ecc88c1e1cad4a5ac933fd085237f54cff62d2d4Brian Paulclone available (MMK) and I  think, but it is not tested, that this
17e18df5f669af32eedf2980c70f60f4e13d06244cJouk Jansenutility will give (hardly) any problem.
18ecc88c1e1cad4a5ac933fd085237f54cff62d2d4Brian Paul
19ecc88c1e1cad4a5ac933fd085237f54cff62d2d4Brian PaulTo make everything just type MMS (or MMK) in the main directory of
20ecc88c1e1cad4a5ac933fd085237f54cff62d2d4Brian Paulmesagl.  For MMS the deafult makefile is called descrip.mms, and
21ecc88c1e1cad4a5ac933fd085237f54cff62d2d4Brian Paulthat is what I have called it.  I included alse some config files,
22ecc88c1e1cad4a5ac933fd085237f54cff62d2d4Brian Paulall having mms somewhere in the name which all the makefiles need
23ecc88c1e1cad4a5ac933fd085237f54cff62d2d4Brian Paul(just as your unix makefiles).
24f464dc1168d562973689635756b42f0ca2e85a59Jouk Jansen
25f464dc1168d562973689635756b42f0ca2e85a59Jouk JansenOn Alpha platforms at default a sharable images for the libraries are created.
26e18df5f669af32eedf2980c70f60f4e13d06244cJouk JansenTo get a static library make it by typing MMS/MACRO=(NOSHARE=1).
27e18df5f669af32eedf2980c70f60f4e13d06244cJouk JansenOn VAX platforms only static libraries can be build.
28e18df5f669af32eedf2980c70f60f4e13d06244cJouk Jansen
29d997b904338bdef2269894d9d2f0cf2e0ed5c209Jouk Jansen23-sep-2005
30d997b904338bdef2269894d9d2f0cf2e0ed5c209Jouk Jansenchanged default compilation to use /float=ieee/ieee=denorm. The reason for 
31d997b904338bdef2269894d9d2f0cf2e0ed5c209Jouk Jansenthis is that it makes Mesa on OpenVMS better compatible with other platforms
32d997b904338bdef2269894d9d2f0cf2e0ed5c209Jouk Jansenand other packages for VMS that I maintain.
33d997b904338bdef2269894d9d2f0cf2e0ed5c209Jouk JansenFor more information see
34d997b904338bdef2269894d9d2f0cf2e0ed5c209Jouk Jansen      http://nchrem.tnw.tudelft.nl/openvms
35d997b904338bdef2269894d9d2f0cf2e0ed5c209Jouk Jansen      https://bugs.freedesktop.org/show_bug.cgi?id=4270
36d997b904338bdef2269894d9d2f0cf2e0ed5c209Jouk JansenYou may want to compile Mesa to use VAX-floating point arithmetic, instead
37d997b904338bdef2269894d9d2f0cf2e0ed5c209Jouk Jansenof IEEE floating point by removing the /float=IEEE/denorm flag from the
38d997b904338bdef2269894d9d2f0cf2e0ed5c209Jouk Jansencompiler options in the descrip.mms files.
39