diff options
Diffstat (limited to 'src/glut')
-rw-r--r-- | src/glut/glx/descrip.mms | 53 |
1 files changed, 44 insertions, 9 deletions
diff --git a/src/glut/glx/descrip.mms b/src/glut/glx/descrip.mms index d47b245507..e6aeb8352e 100644 --- a/src/glut/glx/descrip.mms +++ b/src/glut/glx/descrip.mms @@ -77,8 +77,9 @@ glut_dstr.obj,\ glut_event.obj,\ glut_ext.obj,\ glut_fullscrn.obj,\ -glut_gamemode.obj,\ -glut_get.obj,\ +glut_gamemode.obj + +OBJECTS1=glut_get.obj,\ glut_glxext.obj,\ glut_hel10.obj,\ glut_hel12.obj,\ @@ -92,8 +93,9 @@ glut_keyup.obj,\ glut_menu.obj,\ glut_menu2.obj,\ glut_mesa.obj,\ -glut_modifier.obj,\ -glut_mroman.obj,\ +glut_modifier.obj + +OBJECTS2=glut_mroman.obj,\ glut_overlay.obj,\ glut_roman.obj,\ glut_shapes.obj,\ @@ -106,20 +108,53 @@ glut_teapot.obj,\ glut_tr10.obj,\ glut_tr24.obj,\ glut_util.obj,\ -glut_vidresize.obj,\ -glut_warp.obj,\ +glut_vidresize.obj + +OBJECTS3=glut_warp.obj,\ glut_win.obj,\ glut_winmisc.obj,\ layerutil.obj ##### RULES ##### +VERSION=Glut V3.7 + ##### TARGETS ##### # Make the library: -$(LIBDIR)$(GLUT_LIB) : $(OBJECTS) - $(MAKELIB) $(GLUT_LIB) $(OBJECTS) - rename $(GLUT_LIB)* $(LIBDIR) +$(LIBDIR)$(GLUT_LIB) : $(OBJECTS) $(OBJECTS1) $(OBJECTS2) $(OBJECTS3) +.ifdef SHARE + @ WRITE_ SYS$OUTPUT " generating mesagl1.opt" + @ OPEN_/WRITE FILE mesagl1.opt + @ WRITE_ FILE "!" + @ WRITE_ FILE "! mesagl1.opt generated by DESCRIP.$(MMS_EXT)" + @ WRITE_ FILE "!" + @ WRITE_ FILE "IDENTIFICATION=""$(VERSION)""" + @ WRITE_ FILE "GSMATCH=LEQUAL,3,7 + @ WRITE_ FILE "$(OBJECTS)" + @ WRITE_ FILE "$(OBJECTS1)" + @ WRITE_ FILE "$(OBJECTS2)" + @ WRITE_ FILE "$(OBJECTS3)" + @ WRITE_ FILE "[-.lib]libmesaglu.exe/SHARE" + @ WRITE_ FILE "[-.lib]libmesagl.exe/SHARE" + @ write file "sys$library:decw$xmulibshr.exe/share" + @ WRITE_ FILE "SYS$SHARE:DECW$XEXTLIBSHR/SHARE" + @ WRITE_ FILE "SYS$SHARE:DECW$XLIBSHR/SHARE" + @ CLOSE_ FILE + @ WRITE_ SYS$OUTPUT " generating mesagl.map ..." + @ LINK_/NODEB/NOSHARE/NOEXE/MAP=mesagl.map/FULL mesagl1.opt/OPT + @ WRITE_ SYS$OUTPUT " analyzing mesagl.map ..." + @ @[-.vms]ANALYZE_MAP.COM mesagl.map mesagl.opt + @ WRITE_ SYS$OUTPUT " linking $(GLUT_LIB) ..." + @ LINK_/NODEB/SHARE=$(GLUT_LIB)/MAP=mesagl.map/FULL mesagl1.opt/opt,mesagl.opt/opt +.else + @ $(MAKELIB) $(GLUT_LIB) $(OBJECTS) + @ library $(GLUT_LIB) $(OBJECTS1) + @ library $(GLUT_LIB) $(OBJECTS2) + @ library $(GLUT_LIB) $(OBJECTS3) +.endif + @ rename $(GLUT_LIB)* $(LIBDIR) + clean : delete *.obj;* purge |