summaryrefslogtreecommitdiffstats
path: root/src/descrip.mms
diff options
context:
space:
mode:
authorJouk Jansen <[email protected]>2003-06-17 07:20:22 +0000
committerJouk Jansen <[email protected]>2003-06-17 07:20:22 +0000
commitccb8284a5b98315bffdbc1df56f54c7ba23e123c (patch)
tree897cd857c8959dd7f6f98b8d856cdd82e96d5473 /src/descrip.mms
parent642699a19f1c07336a6fadacd6d5a9028f5d346f (diff)
Committing in .
OpenVMS support for new directory tree Modified Files: Mesa-newtree/progs/demos/descrip.mms Mesa-newtree/progs/tests/descrip.mms Mesa-newtree/progs/xdemos/descrip.mms Mesa-newtree/src/glu/sgi/descrip.mms Mesa-newtree/src/glut/glx/descrip.mms Mesa-newtree/src/mesa/main/descrip.mms Added Files: Mesa-newtree/descrip.mms Mesa-newtree/mms-config. Mesa-newtree/src/descrip.mms Mesa-newtree/src/glu/descrip.mms Mesa-newtree/src/mesa/descrip.mms Mesa-newtree/src/mesa/array_cache/descrip.mms Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms Mesa-newtree/src/mesa/drivers/x11/descrip.mms Mesa-newtree/src/mesa/glapi/descrip.mms Mesa-newtree/src/mesa/math/descrip.mms Mesa-newtree/src/mesa/swrast/descrip.mms Mesa-newtree/src/mesa/swrast_setup/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms Mesa-newtree/vms/analyze_map.com Mesa-newtree/vms/xlib.opt Mesa-newtree/vms/xlib_share.opt ----------------------------------------------------------------------
Diffstat (limited to 'src/descrip.mms')
-rw-r--r--src/descrip.mms43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/descrip.mms b/src/descrip.mms
new file mode 100644
index 00000000000..71b8ea16ac7
--- /dev/null
+++ b/src/descrip.mms
@@ -0,0 +1,43 @@
+# Makefile for Mesa for VMS
+# contributed by Jouk Jansen [email protected]
+
+.include [-]mms-config.
+
+all :
+ set default [.mesa]
+ $(MMS)$(MMSQUALIFIERS)
+ set default [-]
+.ifdef SHARE
+ $(MMS)$(MMSQUALIFIERS) [-.lib]$(GL_SHAR)
+.endif
+ set default [.glu]
+ $(MMS)$(MMSQUALIFIERS)
+ set default [-.glut.glx]
+ $(MMS)$(MMSQUALIFIERS)
+ set default [--]
+
+[-.lib]$(GL_SHAR) : [-.lib]$(GL_LIB)
+ @ WRITE_ SYS$OUTPUT " generating libmesa.opt"
+ @ library/extract=* [-.lib]$(GL_LIB)
+ @ OPEN_/WRITE FILE libmesa.opt
+ @ WRITE_ FILE "!"
+ @ WRITE_ FILE "! libmesa.opt generated by DESCRIP.$(MMS_EXT)"
+ @ WRITE_ FILE "!"
+ @ WRITE_ FILE "IDENTIFICATION=""mesa5.1"""
+ @ WRITE_ FILE "GSMATCH=LEQUAL,5,1
+ @ WRITE_ FILE "libmesagl.obj"
+ @ write_ file "sys$share:decw$xextlibshr/share"
+ @ write_ file "sys$share:decw$xlibshr/share"
+ @ write_ file "sys$share:pthread$rtl/share"
+ @ CLOSE_ FILE
+ @ $(MMS)$(MMSQUALIFIERS)/ignore=warning mesa_vms
+ @ WRITE_ SYS$OUTPUT " linking ..."
+ @ LINK_/NODEB/SHARE=[-.lib]$(GL_SHAR)/MAP=libmesa.map/FULL libmesa.opt/opt,\
+ mesa_vms.opt/opt
+ @ delete libmesagl.obj;*
+
+mesa_vms :
+ @ WRITE_ SYS$OUTPUT " generating libmesa.map ..."
+ @ LINK_/NODEB/NOSHARE/NOEXE/MAP=libmesa.map/FULL libmesa.opt/OPT
+ @ WRITE_ SYS$OUTPUT " analyzing libmesa.map ..."
+ @ @[-.vms]analyze_map.com libmesa.map mesa_vms.opt