Committing in .
[mesa.git] / src / mesa / shader / descrip.mms
1 # Makefile for core library for VMS
2 # contributed by Jouk Jansen joukj@hrem.stm.tudelft.nl
3 # Last revision : 1 June 2005
4
5 .first
6 define gl [---.include.gl]
7 define math [-.math]
8 define swrast [-.swrast]
9 define array_cache [-.array_cache]
10
11 .include [---]mms-config.
12
13 ##### MACROS #####
14
15 VPATH = RCS
16
17 INCDIR = [---.include],[.grammar],[-.main],[-.glapi],[.slang]
18 LIBDIR = [---.lib]
19 CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)
20
21 SOURCES = \
22 atifragshader.c \
23 arbfragparse.c \
24 arbprogparse.c \
25 arbprogram.c \
26 arbvertparse.c \
27 nvfragparse.c \
28 nvprogram.c \
29 nvvertexec.c \
30 nvvertparse.c \
31 program.c \
32 shaderobjects.c \
33 shaderobjects_3dlabs.c
34
35 OBJECTS = \
36 atifragshader.obj,\
37 arbfragparse.obj,\
38 arbprogparse.obj,\
39 arbprogram.obj,\
40 arbvertparse.obj,\
41 nvfragparse.obj,\
42 nvprogram.obj,\
43 nvvertexec.obj,\
44 nvvertparse.obj,\
45 program.obj,\
46 shaderobjects.obj,\
47 shaderobjects_3dlabs.obj
48
49
50 ##### RULES #####
51
52 VERSION=Mesa V3.4
53
54 ##### TARGETS #####
55 all :
56 $(MMS)$(MMSQUALIFIERS) $(LIBDIR)$(GL_LIB)
57 set def [.slang]
58 $(MMS)$(MMSQUALIFIERS)
59 set def [-.grammar]
60 $(MMS)$(MMSQUALIFIERS)
61 set def [-]
62
63 # Make the library
64 $(LIBDIR)$(GL_LIB) : $(OBJECTS)
65 @ library $(LIBDIR)$(GL_LIB) $(OBJECTS)
66
67 clean :
68 purge
69 delete *.obj;*
70
71 atifragshader.obj : atifragshader.c
72 arbfragparse.obj : arbfragparse.c
73 arbprogparse.obj : arbprogparse.c
74 arbprogram.obj : arbprogram.c
75 arbvertparse.obj : arbvertparse.c
76 nvfragparse.obj : nvfragparse.c
77 nvprogram.obj : nvprogram.c
78 nvvertexec.obj : nvvertexec.c
79 nvvertparse.obj : nvvertparse.c
80 program.obj : program.c
81 shaderobjects.obj : shaderobjects.c
82 cc$(CFLAGS)/nowarn shaderobjects.c
83 shaderobjects_3dlabs.obj : shaderobjects_3dlabs.c