1 # Makefile for core library for VMS 2 # contributed by Jouk Jansen joukj (a] hrem.nano.tudelft.nl 3 # Last revision : 3 October 2007 4 5 .first 6 define gl [---.include.gl] 7 define math [-.math] 8 define swrast [-.swrast] 9 define array_cache [-.array_cache] 10 define glapi [-.glapi] 11 define main [-.main] 12 define shader [-.shader] 13 14 .include [---]mms-config. 15 16 ##### MACROS ##### 17 18 VPATH = RCS 19 20 INCDIR = [---.include],[-.main],[-.glapi],[-.shader],[-.shader.slang] 21 LIBDIR = [---.lib] 22 CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm 23 24 SOURCES = s_aaline.c s_aatriangle.c s_accum.c s_alpha.c \ 25 s_bitmap.c s_blend.c s_blit.c s_buffers.c s_context.c \ 26 s_copypix.c s_depth.c s_fragprog.c \ 27 s_drawpix.c s_feedback.c s_fog.c s_imaging.c s_lines.c s_logic.c \ 28 s_masking.c s_points.c s_readpix.c \ 29 s_span.c s_stencil.c s_texstore.c s_texcombine.c s_texfilter.c \ 30 s_triangle.c s_zoom.c s_atifragshader.c 31 32 OBJECTS = s_aaline.obj,s_aatriangle.obj,s_accum.obj,s_alpha.obj,\ 33 s_bitmap.obj,s_blend.obj,s_blit.obj,s_fragprog.obj,\ 34 s_buffers.obj,s_context.obj,s_atifragshader.obj,\ 35 s_copypix.obj,s_depth.obj,s_drawpix.obj,s_feedback.obj,s_fog.obj,\ 36 s_imaging.obj,s_lines.obj,s_logic.obj,s_masking.obj,\ 37 s_points.obj,s_readpix.obj,s_span.obj,s_stencil.obj,\ 38 s_texstore.obj,s_texcombine.obj,s_texfilter.obj,s_triangle.obj,\ 39 s_zoom.obj 40 41 ##### RULES ##### 42 43 VERSION=Mesa V3.4 44 45 ##### TARGETS ##### 46 # Make the library 47 $(LIBDIR)$(GL_LIB) : $(OBJECTS) 48 @ library $(LIBDIR)$(GL_LIB) $(OBJECTS) 49 50 clean : 51 purge 52 delete *.obj;* 53 54 s_atifragshader.obj : s_atifragshader.c 55 s_aaline.obj : s_aaline.c 56 s_aatriangle.obj : s_aatriangle.c 57 s_accum.obj : s_accum.c 58 s_alpha.obj : s_alpha.c 59 s_bitmap.obj : s_bitmap.c 60 s_blend.obj : s_blend.c 61 s_blit.obj : s_blit.c 62 s_buffers.obj : s_buffers.c 63 s_context.obj : s_context.c 64 s_copypix.obj : s_copypix.c 65 s_depth.obj : s_depth.c 66 s_drawpix.obj : s_drawpix.c 67 s_feedback.obj : s_feedback.c 68 s_fog.obj : s_fog.c 69 s_imaging.obj : s_imaging.c 70 s_lines.obj : s_lines.c 71 s_logic.obj : s_logic.c 72 s_masking.obj : s_masking.c 73 s_points.obj : s_points.c 74 s_readpix.obj : s_readpix.c 75 s_span.obj : s_span.c 76 s_stencil.obj : s_stencil.c 77 s_texstore.obj : s_texstore.c 78 s_texcombine.obj : s_texcombine.c 79 s_texfilter.obj : s_texfilter.c 80 s_triangle.obj : s_triangle.c 81 s_zoom.obj : s_zoom.c 82 s_fragprog.obj : s_fragprog.c 83