1# Makefile for core library for VMS 2# contributed by Jouk Jansen joukj@hrem.nano.tudelft.nl 3# Last revision : 29 September 2008 4 5.first 6 define gl [---.include.gl] 7 define math [-.math] 8 define shader [-.shader] 9 define glapi [-.glapi] 10 define main [-.main] 11 12.include [---]mms-config. 13 14##### MACROS ##### 15 16VPATH = RCS 17 18INCDIR = [---.include],[-.glapi],[-.shader] 19LIBDIR = [---.lib] 20CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm 21 22SOURCES =accum.c \ 23 api_arrayelt.c \ 24 api_exec.c \ 25 api_loopback.c \ 26 api_noop.c \ 27 api_validate.c \ 28 attrib.c \ 29 arrayobj.c \ 30 blend.c \ 31 bufferobj.c \ 32 buffers.c \ 33 clear.c \ 34 clip.c \ 35 colortab.c \ 36 context.c \ 37 convolve.c \ 38 debug.c \ 39 depth.c \ 40 depthstencil.c \ 41 dlist.c \ 42 drawpix.c \ 43 enable.c \ 44 enums.c \ 45 errors.c \ 46 eval.c \ 47 execmem.c \ 48 extensions.c \ 49 fbobject.c \ 50 feedback.c \ 51 ffvertex_prog.c \ 52 fog.c \ 53 framebuffer.c \ 54 get.c \ 55 getstring.c \ 56 hash.c \ 57 hint.c \ 58 histogram.c \ 59 image.c \ 60 imports.c \ 61 light.c \ 62 lines.c \ 63 matrix.c \ 64 mipmap.c \ 65 mm.c \ 66 multisample.c \ 67 pixel.c \ 68 pixelstore.c \ 69 points.c \ 70 polygon.c \ 71 rastpos.c \ 72 rbadaptors.c \ 73 readpix.c \ 74 renderbuffer.c \ 75 scissor.c \ 76 shaders.c \ 77 state.c \ 78 stencil.c \ 79 texcompress.c \ 80 texcompress_fxt1.c \ 81 texcompress_s3tc.c \ 82 texenv.c \ 83 texenvprogram.c \ 84 texformat.c \ 85 texgen.c \ 86 teximage.c \ 87 texobj.c \ 88 texparam.c \ 89 texrender.c \ 90 texstate.c \ 91 texstore.c \ 92 varray.c \ 93 vtxfmt.c \ 94 queryobj.c \ 95 rbadaptors.c 96 97OBJECTS=accum.obj,\ 98api_arrayelt.obj,\ 99api_exec.obj,\ 100api_loopback.obj,\ 101api_noop.obj,\ 102api_validate.obj,\ 103arrayobj.obj,\ 104attrib.obj,\ 105blend.obj,\ 106bufferobj.obj,\ 107buffers.obj,\ 108clear.obj,\ 109clip.obj,\ 110colortab.obj,\ 111context.obj,\ 112convolve.obj,\ 113debug.obj,\ 114depth.obj,\ 115depthstencil.obj,\ 116dlist.obj,\ 117drawpix.obj,\ 118enable.obj,\ 119enums.obj,\ 120errors.obj,\ 121eval.obj,\ 122execmem.obj,\ 123extensions.obj,\ 124fbobject.obj,\ 125feedback.obj,\ 126ffvertex_prog.obj,\ 127fog.obj,\ 128framebuffer.obj,\ 129get.obj,\ 130getstring.obj,\ 131hash.obj,\ 132hint.obj,\ 133histogram.obj,\ 134image.obj,\ 135imports.obj,\ 136light.obj,\ 137lines.obj,\ 138matrix.obj,\ 139mipmap.obj,\ 140mm.obj,\ 141multisample.obj,\ 142pixel.obj,\ 143pixelstore.obj,\ 144points.obj,\ 145polygon.obj,\ 146rastpos.obj,\ 147readpix.obj,\ 148renderbuffer.obj,\ 149scissor.obj,\ 150shaders.obj,\ 151state.obj,\ 152stencil.obj,\ 153texcompress.obj,\ 154texcompress_fxt1.obj,\ 155texcompress_s3tc.obj,\ 156texenv.obj,\ 157texenvprogram.obj,\ 158texformat.obj,\ 159texgen.obj,\ 160teximage.obj,\ 161texobj.obj,\ 162texparam.obj,\ 163texrender.obj,\ 164texstate.obj,\ 165texstore.obj,\ 166varray.obj,\ 167vtxfmt.obj,\ 168queryobj.obj,\ 169rbadaptors.obj 170 171##### RULES ##### 172 173VERSION=Mesa V3.4 174 175##### TARGETS ##### 176# Make the library 177$(LIBDIR)$(GL_LIB) : $(OBJECTS) 178 @ $(MAKELIB) $(LIBDIR)$(GL_LIB) $(OBJECTS) 179 180clean : 181 purge 182 delete *.obj;* 183 184accum.obj : accum.c 185api_arrayelt.obj : api_arrayelt.c 186api_loopback.obj : api_loopback.c 187api_noop.obj : api_noop.c 188api_validate.obj : api_validate.c 189arrayobj.obj : arrayobj.c 190attrib.obj : attrib.c 191blend.obj : blend.c 192bufferobj.obj : bufferobj.c 193buffers.obj : buffers.c 194clip.obj : clip.c 195colortab.obj : colortab.c 196context.obj : context.c 197convolve.obj : convolve.c 198debug.obj : debug.c 199depth.obj : depth.c 200depthstencil.obj : depthstencil.c 201dlist.obj : dlist.c 202drawpix.obj : drawpix.c 203enable.obj : enable.c 204enums.obj : enums.c 205errors.obj : errors.c 206eval.obj : eval.c 207execmem.obj : execmem.c 208extensions.obj : extensions.c 209fbobject.obj : fbobject.c 210feedback.obj : feedback.c 211fog.obj : fog.c 212framebuffer.obj : framebuffer.c 213get.obj : get.c 214getstring.obj : getstring.c 215hash.obj : hash.c 216hint.obj : hint.c 217histogram.obj : histogram.c 218image.obj : image.c 219imports.obj : imports.c vsnprintf.c 220light.obj : light.c 221lines.obj : lines.c 222matrix.obj : matrix.c 223mipmap.obj : mipmap.c 224mm.obj : mm.c 225pixel.obj : pixel.c 226points.obj : points.c 227polygon.obj : polygon.c 228rastpos.obj : rastpos.c 229rbadaptors.obj : rbadaptors.c 230renderbuffer.obj : renderbuffer.c 231state.obj : state.c 232stencil.obj : stencil.c 233texcompress.obj : texcompress.c 234texcompress_fxt1.obj : texcompress_fxt1.c 235 cc$(CFLAGS)/warn=(disable=SHIFTCOUNT) texcompress_fxt1.c 236texcompress_s3tc.obj : texcompress_s3tc.c 237texenvprogram.obj : texenvprogram.c 238texformat.obj : texformat.c 239teximage.obj : teximage.c 240texobj.obj : texobj.c 241texrender.obj : texrender.c 242texstate.obj : texstate.c 243texstore.obj : texstore.c 244varray.obj : varray.c 245vtxfmt.obj : vtxfmt.c 246shaders.obj : shaders.c 247queryobj.obj : queryobj.c 248rbadaptors.obj : rbadaptors.c 249clear.obj : clear.c 250multisample.obj : multisample.c 251scissor.obj : scissor.c 252texenv.obj : texenv.c 253texgen.obj : texgen.c 254texparam.obj : texparam.c 255readpix.obj : readpix.c 256ffvertex_prog.obj : ffvertex_prog.c 257api_exec.obj : api_exec.c 258pixelstore.obj : pixelstore.c 259