diff options
author | Brian Paul <[email protected]> | 2005-01-11 15:23:08 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-01-11 15:23:08 +0000 |
commit | 0275d921ac344e91cf25f097d6b262b2ac06ff7e (patch) | |
tree | 0754f106fb171b6e620c10dafc3c81844bdd9fad | |
parent | 94dd520210293750ab6f3094a6a8c67e23f61ef2 (diff) |
VMS updates from Jouk Jansen
-rw-r--r-- | descrip.mms | 4 | ||||
-rw-r--r-- | progs/demos/descrip.mms | 16 | ||||
-rw-r--r-- | progs/util/descrip.mms | 42 |
3 files changed, 56 insertions, 6 deletions
diff --git a/descrip.mms b/descrip.mms index 556c62f12e6..11d94988916 100644 --- a/descrip.mms +++ b/descrip.mms @@ -13,7 +13,9 @@ all : if f$search("lib.dir") .eqs. "" then create/directory [.lib] set default [.src] $(MMS)$(MMSQUALIFIERS) - set default [-.progs.demos] + set default [-.progs.util] + $(MMS)$(MMSQUALIFIERS) + set default [-.demos] $(MMS)$(MMSQUALIFIERS) set default [-.xdemos] $(MMS)$(MMSQUALIFIERS) diff --git a/progs/demos/descrip.mms b/progs/demos/descrip.mms index df8c73004ec..3fc9c38e4f9 100644 --- a/progs/demos/descrip.mms +++ b/progs/demos/descrip.mms @@ -44,24 +44,30 @@ realclean : bounce.exe; : bounce.obj $(LIB_DEP) clearspd.exe; : clearspd.obj $(LIB_DEP) -drawpix.exe; : drawpix.obj $(LIB_DEP) +drawpix.exe; : drawpix.obj $(LIB_DEP) [-.util]readtex.obj + cxxlink $(MMS$TARGET_NAME),[-.util]readtex.obj,$(GL_LIBS) gamma.exe; : gamma.obj $(LIB_DEP) gears.exe; : gears.obj $(LIB_DEP) glinfo.exe; : glinfo.obj $(LIB_DEP) glutfx.exe; : glutfx.obj $(LIB_DEP) -isosurf.exe; : isosurf.obj $(LIB_DEP) +isosurf.exe; : isosurf.obj $(LIB_DEP) [-.util]readtex.obj + cxxlink $(MMS$TARGET_NAME),[-.util]readtex.obj,$(GL_LIBS) morph3d.exe; : morph3d.obj $(LIB_DEP) osdemo.exe; : osdemo.obj $(LIB_DEP) paltex.exe; : paltex.obj $(LIB_DEP) pointblast.exe; : pointblast.obj $(LIB_DEP) -reflect.exe; : reflect.obj $(LIB_DEP) +reflect.exe; : reflect.obj [-.util]readtex.obj [-.util]showbuffer.obj\ + $(LIB_DEP) + cxxlink $(MMS$TARGET_NAME),[-.util]readtex,showbuffer,$(GL_LIBS) spectex.exe; : spectex.obj $(LIB_DEP) stex3d.exe; : stex3d.obj $(LIB_DEP) tessdemo.exe; : tessdemo.obj $(LIB_DEP) -texcyl.exe; : texcyl.obj $(LIB_DEP) +texcyl.exe; : texcyl.obj [-.util]readtex.obj $(LIB_DEP) + cxxlink $(MMS$TARGET_NAME),[-.util]readtex.obj,$(GL_LIBS) texobj.exe; : texobj.obj $(LIB_DEP) trispd.exe; : trispd.obj $(LIB_DEP) -winpos.exe; : winpos.obj $(LIB_DEP) +winpos.exe; : winpos.obj [-.util]readtex.obj $(LIB_DEP) + cxxlink $(MMS$TARGET_NAME),[-.util]readtex.obj,$(GL_LIBS) bounce.obj : bounce.c diff --git a/progs/util/descrip.mms b/progs/util/descrip.mms new file mode 100644 index 00000000000..41b1248157c --- /dev/null +++ b/progs/util/descrip.mms @@ -0,0 +1,42 @@ +# Makefile for GLUT-based demo programs for VMS +# contributed by Jouk Jansen [email protected] + + +.first + define gl [--.include.gl] + +.include [--]mms-config. + +##### MACROS ##### + +INCDIR = ([--.include],[-.util]) +CFLAGS = /include=$(INCDIR)/prefix=all/name=(as_is,short) + +.ifdef SHARE +GL_LIBS = $(XLIBS) +LIB_DEP = [--.lib]$(GL_SHAR) [--.lib]$(GLU_SHAR) [--.lib]$(GLUT_SHAR) +.else +GL_LIBS = [--.lib]libGLUT/l,libMesaGLU/l,libMesaGL/l,$(XLIBS) +LIB_DEP = [--.lib]$(GL_LIB) [--.lib]$(GLU_LIB) [--.lib]$(GLUT_LIB) +.endif + + +OBJS =readtex.obj,showbuffer.obj + + +##### RULES ##### +.obj.exe : + cxxlink $(MMS$TARGET_NAME),$(GL_LIBS) + +##### TARGETS ##### +default : + $(MMS)$(MMSQUALIFIERS) $(OBJS) + +clean : + delete *.obj;* + +realclean : + delete *.obj;* + +readtex.obj : readtex.c +showbuffer.obj : showbuffer.c |