Home | History | Annotate | Download | only in main
      1 # Makefile for core library for VMS
      2 # contributed by Jouk Jansen  joukj (a] 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 
     16 VPATH = RCS
     17 
     18 INCDIR = [---.include],[-.glapi],[-.shader]
     19 LIBDIR = [---.lib]
     20 CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm
     21 
     22 SOURCES =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 
     97 OBJECTS=accum.obj,\
     98 api_arrayelt.obj,\
     99 api_exec.obj,\
    100 api_loopback.obj,\
    101 api_noop.obj,\
    102 api_validate.obj,\
    103 arrayobj.obj,\
    104 attrib.obj,\
    105 blend.obj,\
    106 bufferobj.obj,\
    107 buffers.obj,\
    108 clear.obj,\
    109 clip.obj,\
    110 colortab.obj,\
    111 context.obj,\
    112 convolve.obj,\
    113 debug.obj,\
    114 depth.obj,\
    115 depthstencil.obj,\
    116 dlist.obj,\
    117 drawpix.obj,\
    118 enable.obj,\
    119 enums.obj,\
    120 errors.obj,\
    121 eval.obj,\
    122 execmem.obj,\
    123 extensions.obj,\
    124 fbobject.obj,\
    125 feedback.obj,\
    126 ffvertex_prog.obj,\
    127 fog.obj,\
    128 framebuffer.obj,\
    129 get.obj,\
    130 getstring.obj,\
    131 hash.obj,\
    132 hint.obj,\
    133 histogram.obj,\
    134 image.obj,\
    135 imports.obj,\
    136 light.obj,\
    137 lines.obj,\
    138 matrix.obj,\
    139 mipmap.obj,\
    140 mm.obj,\
    141 multisample.obj,\
    142 pixel.obj,\
    143 pixelstore.obj,\
    144 points.obj,\
    145 polygon.obj,\
    146 rastpos.obj,\
    147 readpix.obj,\
    148 renderbuffer.obj,\
    149 scissor.obj,\
    150 shaders.obj,\
    151 state.obj,\
    152 stencil.obj,\
    153 texcompress.obj,\
    154 texcompress_fxt1.obj,\
    155 texcompress_s3tc.obj,\
    156 texenv.obj,\
    157 texenvprogram.obj,\
    158 texformat.obj,\
    159 texgen.obj,\
    160 teximage.obj,\
    161 texobj.obj,\
    162 texparam.obj,\
    163 texrender.obj,\
    164 texstate.obj,\
    165 texstore.obj,\
    166 varray.obj,\
    167 vtxfmt.obj,\
    168 queryobj.obj,\
    169 rbadaptors.obj
    170 
    171 ##### RULES #####
    172 
    173 VERSION=Mesa V3.4
    174 
    175 ##### TARGETS #####
    176 # Make the library
    177 $(LIBDIR)$(GL_LIB) : $(OBJECTS)
    178   @ $(MAKELIB) $(LIBDIR)$(GL_LIB) $(OBJECTS)
    179 
    180 clean :
    181 	purge
    182 	delete *.obj;*
    183 
    184 accum.obj : accum.c
    185 api_arrayelt.obj : api_arrayelt.c
    186 api_loopback.obj : api_loopback.c
    187 api_noop.obj : api_noop.c
    188 api_validate.obj : api_validate.c
    189 arrayobj.obj : arrayobj.c
    190 attrib.obj : attrib.c
    191 blend.obj : blend.c
    192 bufferobj.obj : bufferobj.c
    193 buffers.obj : buffers.c
    194 clip.obj : clip.c
    195 colortab.obj : colortab.c
    196 context.obj : context.c
    197 convolve.obj : convolve.c
    198 debug.obj : debug.c
    199 depth.obj : depth.c
    200 depthstencil.obj : depthstencil.c
    201 dlist.obj : dlist.c
    202 drawpix.obj : drawpix.c
    203 enable.obj : enable.c
    204 enums.obj : enums.c
    205 errors.obj : errors.c
    206 eval.obj : eval.c
    207 execmem.obj : execmem.c
    208 extensions.obj : extensions.c
    209 fbobject.obj : fbobject.c
    210 feedback.obj : feedback.c
    211 fog.obj : fog.c
    212 framebuffer.obj : framebuffer.c
    213 get.obj : get.c
    214 getstring.obj : getstring.c
    215 hash.obj : hash.c
    216 hint.obj : hint.c
    217 histogram.obj : histogram.c
    218 image.obj : image.c
    219 imports.obj : imports.c vsnprintf.c
    220 light.obj : light.c
    221 lines.obj : lines.c
    222 matrix.obj : matrix.c
    223 mipmap.obj : mipmap.c
    224 mm.obj : mm.c
    225 pixel.obj : pixel.c
    226 points.obj : points.c
    227 polygon.obj : polygon.c
    228 rastpos.obj : rastpos.c
    229 rbadaptors.obj : rbadaptors.c
    230 renderbuffer.obj : renderbuffer.c
    231 state.obj : state.c
    232 stencil.obj : stencil.c
    233 texcompress.obj : texcompress.c
    234 texcompress_fxt1.obj : texcompress_fxt1.c
    235 	cc$(CFLAGS)/warn=(disable=SHIFTCOUNT) texcompress_fxt1.c
    236 texcompress_s3tc.obj : texcompress_s3tc.c
    237 texenvprogram.obj : texenvprogram.c
    238 texformat.obj : texformat.c
    239 teximage.obj : teximage.c
    240 texobj.obj : texobj.c
    241 texrender.obj : texrender.c
    242 texstate.obj : texstate.c
    243 texstore.obj : texstore.c
    244 varray.obj : varray.c
    245 vtxfmt.obj : vtxfmt.c
    246 shaders.obj : shaders.c
    247 queryobj.obj : queryobj.c
    248 rbadaptors.obj : rbadaptors.c
    249 clear.obj : clear.c
    250 multisample.obj : multisample.c
    251 scissor.obj : scissor.c
    252 texenv.obj : texenv.c
    253 texgen.obj : texgen.c
    254 texparam.obj : texparam.c
    255 readpix.obj : readpix.c
    256 ffvertex_prog.obj : ffvertex_prog.c
    257 api_exec.obj : api_exec.c
    258 pixelstore.obj : pixelstore.c
    259