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 tnl [--.tnl] 9 define vbo [--.vbo] 10 define swrast [--.swrast] 11 define swrast_setup [--.swrast_setup] 12 define array_cache [--.array_cache] 13 define drivers [-] 14 define glapi [--.glapi] 15 define main [--.main] 16 define shader [--.shader] 17 18 .include [----]mms-config. 19 20 ##### MACROS ##### 21 22 VPATH = RCS 23 24 INCDIR = [----.include],[--.main],[--.glapi],[--.shader] 25 LIBDIR = [----.lib] 26 CFLAGS =/include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm 27 28 SOURCES = fakeglx.c glxapi.c xfonts.c xm_api.c xm_dd.c xm_line.c xm_span.c\ 29 xm_tri.c xm_buffer.c 30 31 OBJECTS =fakeglx.obj,glxapi.obj,xfonts.obj,xm_api.obj,xm_dd.obj,xm_line.obj,\ 32 xm_span.obj,xm_tri.obj,xm_buffer.obj 33 34 ##### RULES ##### 35 36 VERSION=Mesa V3.4 37 38 ##### TARGETS ##### 39 # Make the library 40 $(LIBDIR)$(GL_LIB) : $(OBJECTS) 41 @ library $(LIBDIR)$(GL_LIB) $(OBJECTS) 42 43 clean : 44 purge 45 delete *.obj;* 46 47 fakeglx.obj : fakeglx.c 48 glxapi.obj : glxapi.c 49 xfonts.obj : xfonts.c 50 xm_api.obj : xm_api.c 51 xm_buffer.obj : xm_buffer.c 52 xm_dd.obj : xm_dd.c 53 xm_line.obj : xm_line.c 54 xm_span.obj : xm_span.c 55 xm_tri.obj : xm_tri.c 56