1# Makefile for core library for VMS
2# contributed by Jouk Jansen  joukj@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
20VPATH = RCS
21
22INCDIR = [---.include],[-.main],[-.glapi],[-.shader],[-.shader.slang]
23LIBDIR = [---.lib]
24CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm
25
26SOURCES = 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
33OBJECTS = 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
42VERSION=Mesa V3.4
43
44##### TARGETS #####
45# Make the library
46$(LIBDIR)$(GL_LIB) : $(OBJECTS)
47  @ library $(LIBDIR)$(GL_LIB) $(OBJECTS)
48
49clean :
50	purge
51	delete *.obj;*
52
53t_context.obj : t_context.c
54t_draw.obj : t_draw.c
55t_pipeline.obj : t_pipeline.c
56t_vb_fog.obj : t_vb_fog.c
57t_vb_light.obj : t_vb_light.c
58t_vb_normals.obj : t_vb_normals.c
59t_vb_points.obj : t_vb_points.c
60t_vb_program.obj : t_vb_program.c
61t_vb_render.obj : t_vb_render.c
62t_vb_texgen.obj : t_vb_texgen.c
63t_vb_texmat.obj : t_vb_texmat.c
64t_vb_vertex.obj : t_vb_vertex.c
65t_vertex.obj : t_vertex.c
66t_vertex_generic.obj : t_vertex_generic.c
67t_vp_build.obj : t_vp_build.c
68t_rasterpos.obj : t_rasterpos.c
69