1 # Makefile for core library for VMS 2 # contributed by Jouk Jansen joukj (a] hrem.nano.tudelft.nl 3 # Last revision : 39 September 2008 4 5 .first 6 define gl [---.include.gl] 7 define math [-.math] 8 define vbo [-.vbo] 9 define shader [-.shader] 10 define swrast [-.swrast] 11 define array_cache [-.array_cache] 12 define main [-.main] 13 define glapi [-.glapi] 14 define tnl [-.tnl] 15 16 .include [---]mms-config. 17 18 ##### MACROS ##### 19 20 VPATH = RCS 21 22 INCDIR = [---.include],[-.main],[-.glapi],[-.shader],[-.shader.slang] 23 LIBDIR = [---.lib] 24 CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm 25 26 SOURCES = t_context.c t_draw.c \ 27 t_pipeline.c t_vb_fog.c \ 28 t_vb_light.c t_vb_normals.c t_vb_points.c t_vb_program.c \ 29 t_vb_render.c t_vb_texgen.c t_vb_texmat.c t_vb_vertex.c \ 30 t_vertex.c t_rasterpos.c\ 31 t_vertex_generic.c t_vp_build.c 32 33 OBJECTS = t_context.obj,t_draw.obj,\ 34 t_pipeline.obj,t_vb_fog.obj,t_vb_light.obj,t_vb_normals.obj,\ 35 t_vb_points.obj,t_vb_program.obj,t_vb_render.obj,t_vb_texgen.obj,\ 36 t_vb_texmat.obj,t_vb_vertex.obj,t_rasterpos.obj,\ 37 t_vertex.obj,t_vertex_generic.obj,\ 38 t_vp_build.obj 39 40 ##### RULES ##### 41 42 VERSION=Mesa V3.4 43 44 ##### TARGETS ##### 45 # Make the library 46 $(LIBDIR)$(GL_LIB) : $(OBJECTS) 47 @ library $(LIBDIR)$(GL_LIB) $(OBJECTS) 48 49 clean : 50 purge 51 delete *.obj;* 52 53 t_context.obj : t_context.c 54 t_draw.obj : t_draw.c 55 t_pipeline.obj : t_pipeline.c 56 t_vb_fog.obj : t_vb_fog.c 57 t_vb_light.obj : t_vb_light.c 58 t_vb_normals.obj : t_vb_normals.c 59 t_vb_points.obj : t_vb_points.c 60 t_vb_program.obj : t_vb_program.c 61 t_vb_render.obj : t_vb_render.c 62 t_vb_texgen.obj : t_vb_texgen.c 63 t_vb_texmat.obj : t_vb_texmat.c 64 t_vb_vertex.obj : t_vb_vertex.c 65 t_vertex.obj : t_vertex.c 66 t_vertex_generic.obj : t_vertex_generic.c 67 t_vp_build.obj : t_vp_build.c 68 t_rasterpos.obj : t_rasterpos.c 69