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 vbo [-.vbo] 9 define tnl [-.tnl] 10 define shader [-.shader] 11 define swrast [-.swrast] 12 define swrast_setup [-.swrast_setup] 13 define main [-.main] 14 define glapi [-.glapi] 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 =vbo_context.c,vbo_exec.c,vbo_exec_api.c,vbo_exec_array.c,\ 27 vbo_exec_draw.c,vbo_exec_eval.c,vbo_rebase.c,vbo_save.c,\ 28 vbo_save_api.c,vbo_save_draw.c,vbo_save_loopback.c,\ 29 vbo_split.c,vbo_split_copy.c,vbo_split_inplace.c 30 31 OBJECTS =vbo_context.obj,vbo_exec.obj,vbo_exec_api.obj,vbo_exec_array.obj,\ 32 vbo_exec_draw.obj,vbo_exec_eval.obj,vbo_rebase.obj,vbo_save.obj,\ 33 vbo_save_api.obj,vbo_save_draw.obj,vbo_save_loopback.obj,\ 34 vbo_split.obj,vbo_split_copy.obj,vbo_split_inplace.obj 35 36 ##### RULES ##### 37 38 VERSION=Mesa V3.4 39 40 ##### TARGETS ##### 41 # Make the library 42 $(LIBDIR)$(GL_LIB) : $(OBJECTS) 43 @ library $(LIBDIR)$(GL_LIB) $(OBJECTS) 44 45 clean : 46 purge 47 delete *.obj;* 48 49 vbo_context.obj : vbo_context.c 50 vbo_exec.obj : vbo_exec.c 51 vbo_exec_api.obj : vbo_exec_api.c 52 vbo_exec_array.obj : vbo_exec_array.c 53 vbo_exec_draw.obj : vbo_exec_draw.c 54 vbo_exec_eval.obj : vbo_exec_eval.c 55 vbo_rebase.obj : vbo_rebase.c 56 vbo_save.obj : vbo_save.c 57 vbo_save_api.obj : vbo_save_api.c 58 vbo_save_draw.obj : vbo_save_draw.c 59 vbo_save_loopback.obj : vbo_save_loopback.c 60 vbo_split.obj : vbo_split.c 61 vbo_split_copy.obj : vbo_split_copy.c 62 vbo_split_inplace.obj : vbo_split_inplace.c 63