# Makefile for core library for VMS
-# contributed by Jouk Jansen joukj@hrem.stm.tudelft.nl
-# Last revision : 23 March 2004
-
+# contributed by Jouk Jansen joukj@hrem.nano.tudelft.nl
+# Last revision : 20 November 2006
.first
define gl [---.include.gl]
define math [-.math]
VPATH = RCS
-INCDIR = [---.include],[-.main],[-.glapi]
+INCDIR = [---.include],[.grammar],[-.main],[-.glapi],[.slang]
LIBDIR = [---.lib]
-CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)
+CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1,"__extension__=")/name=(as_is,short)/float=ieee/ieee=denorm
SOURCES = \
- arbfragparse.c \
+ atifragshader.c \
arbprogparse.c \
arbprogram.c \
- arbvertparse.c \
- grammar_mesa.c \
nvfragparse.c \
nvprogram.c \
nvvertexec.c \
nvvertparse.c \
program.c \
- shaderobjects.c
+ shaderobjects.c \
+ shaderobjects_3dlabs.c
OBJECTS = \
- arbfragparse.obj,\
+ atifragshader.obj,\
arbprogparse.obj,\
arbprogram.obj,\
- arbvertparse.obj,\
- grammar_mesa.obj,\
nvfragparse.obj,\
nvprogram.obj,\
nvvertexec.obj,\
nvvertparse.obj,\
- program.obj \
- shaderobjects.obj
+ program.obj,\
+ shaderobjects.obj,\
+ shaderobjects_3dlabs.obj
##### RULES #####
VERSION=Mesa V3.4
##### TARGETS #####
+all :
+ $(MMS)$(MMSQUALIFIERS) $(LIBDIR)$(GL_LIB)
+ set def [.slang]
+ $(MMS)$(MMSQUALIFIERS)
+ set def [-.grammar]
+ $(MMS)$(MMSQUALIFIERS)
+ set def [-]
+
# Make the library
$(LIBDIR)$(GL_LIB) : $(OBJECTS)
@ library $(LIBDIR)$(GL_LIB) $(OBJECTS)
purge
delete *.obj;*
-
-arbfragparse.obj : arbfragparse.c
+atifragshader.obj : atifragshader.c
arbprogparse.obj : arbprogparse.c
arbprogram.obj : arbprogram.c
-arbvertparse.obj : arbvertparse.c
-grammar_mesa.obj : grammar_mesa.c
nvfragparse.obj : nvfragparse.c
nvprogram.obj : nvprogram.c
nvvertexec.obj : nvvertexec.c
nvvertparse.obj : nvvertparse.c
program.obj : program.c
-shaderobjects.obj: shaderobjects.c
+shaderobjects.obj : shaderobjects.c
+ cc$(CFLAGS)/nowarn shaderobjects.c
+shaderobjects_3dlabs.obj : shaderobjects_3dlabs.c