1# Makefile for core library for VMS
2# contributed by Jouk Jansen  joukj@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
22VPATH = RCS
23
24INCDIR = [----.include],[--.main],[--.glapi],[--.shader]
25LIBDIR = [----.lib]
26CFLAGS =/include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm
27
28SOURCES = 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
31OBJECTS =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
36VERSION=Mesa V3.4
37
38##### TARGETS #####
39# Make the library
40$(LIBDIR)$(GL_LIB) : $(OBJECTS)
41  @ library $(LIBDIR)$(GL_LIB) $(OBJECTS)
42
43clean :
44	purge
45	delete *.obj;*
46
47fakeglx.obj : fakeglx.c
48glxapi.obj : glxapi.c
49xfonts.obj : xfonts.c
50xm_api.obj : xm_api.c
51xm_buffer.obj : xm_buffer.c
52xm_dd.obj : xm_dd.c
53xm_line.obj : xm_line.c
54xm_span.obj : xm_span.c
55xm_tri.obj : xm_tri.c
56