# Makefile for core library for VMS # contributed by Jouk Jansen joukj@hrem.stm.tudelft.nl # Last revision : 1 November 2000 .first define gl [-.include.gl] .include [-]mms-config. ##### MACROS ##### VPATH = RCS INCDIR = [-.include] LIBDIR = [-.lib] CFLAGS = /include=($(INCDIR),[])/define=(FBIND=1)/name=(as_is,short) CORE_SOURCES = accum.c alpha.c attrib.c \ bitmap.c blend.c buffers.c clip.c colortab.c context.c copypix.c depth.c \ dispatch.c convolve.c \ dlist.c drawpix.c enable.c eval.c feedback.c fog.c \ get.c hash.c highpc.c hint.c image.c imaging.c light.c lines.c logic.c\ lowpc.c masking.c matrix.c \ mem.c glapi.c glapinoop.c imports.c\ mmath.c pixel.c points.c polygon.c \ rastpos.c readpix.c rect.c scissor.c shade.c \ stencil.c teximage.c texobj.c texstate.c texture.c translate.c \ varray.c winpos.c vb.c vbcull.c vbfill.c vbrender.c vbxform.c xform.c \ bbox.c cva.c vector.c vbindirect.c config.c enums.c extensions.c \ pipeline.c stages.c state.c vertices.c [.x86]x86.c DRIVER_SOURCES = [.x]glxapi.c [.x]fakeglx.c [.x]xfonts.c \ [.x]xm_api.c [.x]xm_dd.c [.x]xm_line.c [.x]xm_span.c [.x]xm_tri.c \ [.osmesa]osmesa.c \ [.svga]svgamesa.c \ [.fx]fxapi.c [.fx]fxdd.c [.fx]fxddtex.c [.fx]fxvsetup.c [.fx]fxsetup.c \ [.fx]fxtrifuncs.c [.fx]fxfastpath.c [.fx]fxpipeline.c\ [.fx]fxtexman.c [.fx]fxddspan.c\ [.fx]fxglidew.c RASTER_SOURCES = [.swrast]s_aatriangle.c \ [.swrast]s_aaline.c \ [.swrast]s_accum.c \ [.swrast]s_alpha.c \ [.swrast]s_alphabuf.c \ [.swrast]s_bitmap.c \ [.swrast]s_blend.c \ [.swrast]s_buffers.c \ [.swrast]s_copypix.c \ [.swrast]s_context.c \ [.swrast]s_depth.c \ [.swrast]s_drawpix.c \ [.swrast]s_fog.c \ [.swrast]s_feedback.c \ [.swrast]s_imaging.c \ [.swrast]s_lines.c \ [.swrast]s_logic.c \ [.swrast]s_masking.c \ [.swrast]s_pb.c \ [.swrast]s_pixeltex.c \ [.swrast]s_points.c \ [.swrast]s_quads.c \ [.swrast]s_readpix.c \ [.swrast]s_scissor.c \ [.swrast]s_span.c \ [.swrast]s_stencil.c \ [.swrast]s_texture.c \ [.swrast]s_triangle.c \ [.swrast]s_zoom.c \ [.swrast_setup]ss_context.c \ [.swrast_setup]ss_triangle.c \ [.swrast_setup]ss_vb.c ASM_SOURCES = OBJECTS =\ accum.obj,alpha.obj,attrib.obj,\ bitmap.obj,blend.obj,buffers.obj,clip.obj,colortab.obj,context.obj,copypix.obj,depth.obj,\ dlist.obj,drawpix.obj,enable.obj,eval.obj,feedback.obj,fog.obj OBJECTS3=get.obj,hash.obj,hint.obj,image.obj,light.obj,lines.obj,logic.obj,masking.obj,\ matrix.obj,glapi.obj,glapinoop.obj,dispatch.obj,highpc.obj,imaging.obj,mem.obj,\ mmath.obj,pixel.obj,points.obj OBJECTS7=polygon.obj,imports.obj,\ rastpos.obj,readpix.obj,rect.obj,scissor.obj,shade.obj,\ pixeltex.obj,convolve.obj,lowpc.obj OBJECTS4=stencil.obj,teximage.obj,texobj.obj,texstate.obj,texture.obj,translate.obj,\ varray.obj,winpos.obj,vb.obj,vbcull.obj,vbfill.obj,vbrender.obj OBJECTS6=vbxform.obj,xform.obj,bbox.obj,cva.obj,vector.obj,vbindirect.obj,\ config.obj,enums.obj,extensions.obj,pipeline.obj,stages.obj,state.obj,\ vertices.obj,[.x86]x86.obj OBJECTS2=[.x]glxapi.obj,[.x]fakeglx.obj,[.x]xfonts.obj,\ [.x]xm_api.obj,[.x]xm_dd.obj,[.x]xm_line.obj,[.x]xm_span.obj,[.x]xm_tri.obj,\ [.osmesa]osmesa.obj,\ [.svga]svgamesa.obj OBJECTS5=[.fx]fxapi.obj,[.fx]fxdd.obj,[.fx]fxddtex.obj,[.fx]fxvsetup.obj,\ [.fx]fxsetup.obj,[.fx]fxfastpath.obj,[.fx]fxpipeline.obj OBJECTS8=[.fx]fxtrifuncs.obj,[.fx]fxglidew.obj,\ [.fx]fxtexman.obj,[.fx]fxddspan.obj OBJECTS9=[.swrast]s_aatriangle.obj,\ [.swrast]s_accum.obj,\ [.swrast]s_alpha.obj,\ [.swrast]s_alphabuf.obj,\ [.swrast]s_bitmap.obj,\ [.swrast]s_blend.obj,\ [.swrast]s_buffers.obj,\ [.swrast]s_copypix.obj,\ [.swrast]s_context.obj,\ [.swrast]s_depth.obj OBJECTS10=[.swrast]s_drawpix.obj,\ [.swrast]s_fog.obj,\ [.swrast]s_imaging.obj,\ [.swrast]s_lines.obj,\ [.swrast]s_logic.obj,\ [.swrast]s_masking.obj,\ [.swrast]s_pb.obj,\ [.swrast]s_pixeltex.obj,\ [.swrast]s_points.obj,\ [.swrast]s_quads.obj OBJECTS11=[.swrast]s_readpix.obj,\ [.swrast]s_aaline.obj,\ [.swrast]s_scissor.obj,\ [.swrast]s_span.obj,\ [.swrast]s_stencil.obj,\ [.swrast]s_texture.obj,\ [.swrast]s_triangle.obj,\ [.swrast]s_feedback.obj,\ [.swrast]s_zoom.obj OBJECTS12=[.swrast_setup]ss_context.obj,\ [.swrast_setup]ss_triangle.obj,\ [.swrast_setup]ss_vb.obj ##### RULES ##### VERSION=Mesa V3.4 ##### TARGETS ##### # Make the library $(LIBDIR)$(GL_LIB) : $(OBJECTS),$(OBJECTS2) $(OBJECTS3) $(OBJECTS4)\ $(OBJECTS5) $(OBJECTS8) $(OBJECTS7) $(OBJECTS6) $(OBJECTS9)\ $(OBJECTS10) $(OBJECTS11) $(OBJECTS12) .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,4 @ WRITE_ FILE "$(OBJECTS)" @ WRITE_ FILE "$(OBJECTS3)" @ WRITE_ FILE "$(OBJECTS4)" @ WRITE_ FILE "$(OBJECTS7)" @ WRITE_ FILE "$(OBJECTS6)" @ WRITE_ FILE "$(OBJECTS2)" @ WRITE_ FILE "$(OBJECTS5)" @ WRITE_ FILE "$(OBJECTS8)" @ WRITE_ FILE "$(OBJECTS9)" @ WRITE_ FILE "$(OBJECTS10)" @ WRITE_ FILE "$(OBJECTS11)" @ WRITE_ FILE "$(OBJECTS12)" @ 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 $(GL_LIB) ..." @ LINK_/NODEB/SHARE=$(GL_LIB)/MAP=mesagl.map/FULL mesagl1.opt/opt,mesagl.opt/opt .else @ $(MAKELIB) $(GL_LIB) $(OBJECTS) @ library $(GL_LIB) $(OBJECTS2) @ library $(GL_LIB) $(OBJECTS3) @ library $(GL_LIB) $(OBJECTS4) @ library $(GL_LIB) $(OBJECTS5) @ library $(GL_LIB) $(OBJECTS8) @ library $(GL_LIB) $(OBJECTS7) @ library $(GL_LIB) $(OBJECTS6) @ library $(GL_LIB) $(OBJECTS9) @ library $(GL_LIB) $(OBJECTS10) @ library $(GL_LIB) $(OBJECTS11) @ library $(GL_LIB) $(OBJECTS12) .endif @ rename $(GL_LIB)* $(LIBDIR) clean : purge delete *.obj;* pixeltex.obj : pixeltex.c imports.obj : imports.c [.x86]x86.obj : [.x86]x86.c $(CC) $(CFLAGS) /obj=[.x86]x86.obj [.x86]x86.c [.x]glxapi.obj : [.x]glxapi.c $(CC) $(CFLAGS) /obj=[.x]glxapi.obj [.x]glxapi.c [.x]fakeglx.obj : [.x]fakeglx.c $(CC) $(CFLAGS) /obj=[.x]fakeglx.obj [.x]fakeglx.c [.x]xfonts.obj : [.x]xfonts.c $(CC) $(CFLAGS) /obj=[.x]xfonts.obj [.x]xfonts.c [.x]xm_api.obj : [.x]xm_api.c $(CC) $(CFLAGS) /obj=[.x]xm_api.obj [.x]xm_api.c [.x]xm_dd.obj : [.x]xm_dd.c $(CC) $(CFLAGS)/nowarn /obj=[.x]xm_dd.obj [.x]xm_dd.c [.x]xm_line.obj : [.x]xm_line.c $(CC) $(CFLAGS) /obj=[.x]xm_line.obj [.x]xm_line.c [.x]xm_span.obj : [.x]xm_span.c $(CC) $(CFLAGS) /obj=[.x]xm_span.obj [.x]xm_span.c [.x]xm_tri.obj : [.x]xm_tri.c $(CC) $(CFLAGS) /obj=[.x]xm_tri.obj [.x]xm_tri.c [.osmesa]osmesa.obj : [.osmesa]osmesa.c $(CC) $(CFLAGS) /obj=[.osmesa]osmesa.obj [.osmesa]osmesa.c [.svga]svgamesa.obj : [.svga]svgamesa.c $(CC) $(CFLAGS) /obj=[.svga]svgamesa.obj [.svga]svgamesa.c [.fx]fxapi.obj : [.fx]fxapi.c $(CC) $(CFLAGS) /obj=[.fx]fxapi.obj [.fx]fxapi.c [.fx]fxdd.obj : [.fx]fxdd.c $(CC) $(CFLAGS) /obj=[.fx]fxdd.obj [.fx]fxdd.c [.fx]fxddtex.obj : [.fx]fxddtex.c $(CC) $(CFLAGS) /obj=[.fx]fxddtex.obj [.fx]fxddtex.c [.fx]fxfastpath.obj : [.fx]fxfastpath.c $(CC) $(CFLAGS) /obj=[.fx]fxfastpath.obj [.fx]fxfastpath.c [.fx]fxpipeline.obj : [.fx]fxpipeline.c $(CC) $(CFLAGS) /obj=[.fx]fxpipeline.obj [.fx]fxpipeline.c [.fx]fxvsetup.obj : [.fx]fxvsetup.c $(CC) $(CFLAGS) /obj=[.fx]fxvsetup.obj [.fx]fxvsetup.c [.fx]fxsetup.obj : [.fx]fxsetup.c $(CC) $(CFLAGS) /obj=[.fx]fxsetup.obj [.fx]fxsetup.c [.fx]fxtrifuncs.obj : [.fx]fxtrifuncs.c $(CC) $(CFLAGS) /obj=[.fx]fxtrifuncs.obj [.fx]fxtrifuncs.c [.fx]fxtexman.obj : [.fx]fxtexman.c $(CC) $(CFLAGS) /obj=[.fx]fxtexman.obj [.fx]fxtexman.c [.fx]fxddspan.obj : [.fx]fxddspan.c $(CC) $(CFLAGS) /obj=[.fx]fxddspan.obj [.fx]fxddspan.c [.fx]fxglidew.obj : [.fx]fxglidew.c $(CC) $(CFLAGS) /obj=[.fx]fxglidew.obj [.fx]fxglidew.c [.swrast]s_aaline.obj : [.swrast]s_aaline.c $(CC) $(CFLAGS) /obj=[.swrast]s_aaline.obj [.swrast]s_aaline.c [.swrast]s_aatriangle.obj : [.swrast]s_aatriangle.c $(CC) $(CFLAGS) /obj=[.swrast]s_aatriangle.obj [.swrast]s_aatriangle.c [.swrast]s_accum.obj : [.swrast]s_accum.c $(CC) $(CFLAGS) /obj=[.swrast]s_accum.obj [.swrast]s_accum.c [.swrast]s_alpha.obj : [.swrast]s_alpha.c $(CC) $(CFLAGS) /obj=[.swrast]s_alpha.obj [.swrast]s_alpha.c [.swrast]s_alphabuf.obj : [.swrast]s_alphabuf.c $(CC) $(CFLAGS) /obj=[.swrast]s_alphabuf.obj [.swrast]s_alphabuf.c [.swrast]s_bitmap.obj : [.swrast]s_bitmap.c $(CC) $(CFLAGS) /obj=[.swrast]s_bitmap.obj [.swrast]s_bitmap.c [.swrast]s_blend.obj : [.swrast]s_blend.c $(CC) $(CFLAGS) /obj=[.swrast]s_blend.obj [.swrast]s_blend.c [.swrast]s_buffers.obj : [.swrast]s_buffers.c $(CC) $(CFLAGS) /obj=[.swrast]s_buffers.obj [.swrast]s_buffers.c [.swrast]s_copypix.obj : [.swrast]s_copypix.c $(CC) $(CFLAGS) /obj=[.swrast]s_copypix.obj [.swrast]s_copypix.c [.swrast]s_context.obj : [.swrast]s_context.c $(CC) $(CFLAGS) /obj=[.swrast]s_context.obj [.swrast]s_context.c [.swrast]s_depth.obj : [.swrast]s_depth.c $(CC) $(CFLAGS) /obj=[.swrast]s_depth.obj [.swrast]s_depth.c [.swrast]s_drawpix.obj : [.swrast]s_drawpix.c $(CC) $(CFLAGS) /obj=[.swrast]s_drawpix.obj [.swrast]s_drawpix.c [.swrast]s_feedback.obj : [.swrast]s_feedback.c $(CC) $(CFLAGS) /obj=[.swrast]s_feedback.obj [.swrast]s_feedback.c [.swrast]s_fog.obj : [.swrast]s_fog.c $(CC) $(CFLAGS) /obj=[.swrast]s_fog.obj [.swrast]s_fog.c [.swrast]s_imaging.obj : [.swrast]s_imaging.c $(CC) $(CFLAGS) /obj=[.swrast]s_imaging.obj [.swrast]s_imaging.c [.swrast]s_lines.obj : [.swrast]s_lines.c $(CC) $(CFLAGS) /obj=[.swrast]s_lines.obj [.swrast]s_lines.c [.swrast]s_logic.obj : [.swrast]s_logic.c $(CC) $(CFLAGS) /obj=[.swrast]s_logic.obj [.swrast]s_logic.c [.swrast]s_masking.obj : [.swrast]s_masking.c $(CC) $(CFLAGS) /obj=[.swrast]s_masking.obj [.swrast]s_masking.c [.swrast]s_pb.obj : [.swrast]s_pb.c $(CC) $(CFLAGS) /obj=[.swrast]s_pb.obj [.swrast]s_pb.c [.swrast]s_pixeltex.obj : [.swrast]s_pixeltex.c $(CC) $(CFLAGS) /obj=[.swrast]s_pixeltex.obj [.swrast]s_pixeltex.c [.swrast]s_points.obj : [.swrast]s_points.c $(CC) $(CFLAGS) /obj=[.swrast]s_points.obj [.swrast]s_points.c [.swrast]s_quads.obj : [.swrast]s_quads.c $(CC) $(CFLAGS) /obj=[.swrast]s_quads.obj [.swrast]s_quads.c [.swrast]s_readpix.obj : [.swrast]s_readpix.c $(CC) $(CFLAGS) /obj=[.swrast]s_readpix.obj [.swrast]s_readpix.c [.swrast]s_scissor.obj : [.swrast]s_scissor.c $(CC) $(CFLAGS) /obj=[.swrast]s_scissor.obj [.swrast]s_scissor.c [.swrast]s_span.obj : [.swrast]s_span.c $(CC) $(CFLAGS) /obj=[.swrast]s_span.obj [.swrast]s_span.c [.swrast]s_stencil.obj : [.swrast]s_stencil.c $(CC) $(CFLAGS) /obj=[.swrast]s_stencil.obj [.swrast]s_stencil.c [.swrast]s_texture.obj : [.swrast]s_texture.c $(CC) $(CFLAGS) /obj=[.swrast]s_texture.obj [.swrast]s_texture.c [.swrast]s_triangle.obj : [.swrast]s_triangle.c $(CC) $(CFLAGS) /obj=[.swrast]s_triangle.obj [.swrast]s_triangle.c [.swrast]s_zoom.obj : [.swrast]s_zoom.c $(CC) $(CFLAGS) /obj=[.swrast]s_zoom.obj [.swrast]s_zoom.c [.swrast_setup]ss_context.obj : [.swrast_setup]ss_context.c $(CC) $(CFLAGS) /obj=[.swrast_setup]ss_context.obj [.swrast_setup]ss_context.c [.swrast_setup]ss_triangle.obj : [.swrast_setup]ss_triangle.c $(CC) $(CFLAGS) /obj=[.swrast_setup]ss_triangle.obj [.swrast_setup]ss_triangle.c [.swrast_setup]ss_vb.obj : [.swrast_setup]ss_vb.c $(CC) $(CFLAGS) /obj=[.swrast_setup]ss_vb.obj [.swrast_setup]ss_vb.c .include mms_depend.