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 swrast [-.swrast]
9	define array_cache [-.array_cache]
10	define glapi [-.glapi]
11	define main [-.main]
12	define shader [-.shader]
13
14.include [---]mms-config.
15
16##### MACROS #####
17
18VPATH = RCS
19
20INCDIR = [---.include],[-.main],[-.glapi],[-.shader],[-.shader.slang]
21LIBDIR = [---.lib]
22CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm
23
24SOURCES = s_aaline.c s_aatriangle.c s_accum.c s_alpha.c \
25	s_bitmap.c s_blend.c s_blit.c s_buffers.c s_context.c \
26	s_copypix.c s_depth.c s_fragprog.c \
27        s_drawpix.c s_feedback.c s_fog.c s_imaging.c s_lines.c s_logic.c \
28	s_masking.c s_points.c s_readpix.c \
29	s_span.c s_stencil.c s_texstore.c s_texcombine.c s_texfilter.c \
30	s_triangle.c s_zoom.c s_atifragshader.c
31 
32OBJECTS = s_aaline.obj,s_aatriangle.obj,s_accum.obj,s_alpha.obj,\
33	s_bitmap.obj,s_blend.obj,s_blit.obj,s_fragprog.obj,\
34	s_buffers.obj,s_context.obj,s_atifragshader.obj,\
35	s_copypix.obj,s_depth.obj,s_drawpix.obj,s_feedback.obj,s_fog.obj,\
36	s_imaging.obj,s_lines.obj,s_logic.obj,s_masking.obj,\
37	s_points.obj,s_readpix.obj,s_span.obj,s_stencil.obj,\
38	s_texstore.obj,s_texcombine.obj,s_texfilter.obj,s_triangle.obj,\
39	s_zoom.obj
40 
41##### RULES #####
42
43VERSION=Mesa V3.4
44
45##### TARGETS #####
46# Make the library
47$(LIBDIR)$(GL_LIB) : $(OBJECTS)
48  @ library $(LIBDIR)$(GL_LIB) $(OBJECTS)
49
50clean :
51	purge
52	delete *.obj;*
53
54s_atifragshader.obj : s_atifragshader.c
55s_aaline.obj : s_aaline.c
56s_aatriangle.obj : s_aatriangle.c
57s_accum.obj : s_accum.c
58s_alpha.obj : s_alpha.c
59s_bitmap.obj : s_bitmap.c
60s_blend.obj : s_blend.c
61s_blit.obj : s_blit.c
62s_buffers.obj : s_buffers.c
63s_context.obj : s_context.c
64s_copypix.obj : s_copypix.c
65s_depth.obj : s_depth.c
66s_drawpix.obj : s_drawpix.c
67s_feedback.obj : s_feedback.c
68s_fog.obj : s_fog.c
69s_imaging.obj : s_imaging.c
70s_lines.obj : s_lines.c
71s_logic.obj : s_logic.c
72s_masking.obj : s_masking.c
73s_points.obj : s_points.c
74s_readpix.obj : s_readpix.c
75s_span.obj : s_span.c
76s_stencil.obj : s_stencil.c
77s_texstore.obj : s_texstore.c
78s_texcombine.obj : s_texcombine.c
79s_texfilter.obj : s_texfilter.c
80s_triangle.obj : s_triangle.c
81s_zoom.obj : s_zoom.c
82s_fragprog.obj : s_fragprog.c
83