Home | History | Annotate | Download | only in program
      1 # Makefile for core library for VMS
      2 # contributed by Jouk Jansen  joukj (a] hrem.nano.tudelft.nl
      3 # Last revision : 29 September 2008
      4 .first
      5 	define gl [---.include.gl]
      6 	define math [-.math]
      7 	define swrast [-.swrast]
      8 	define array_cache [-.array_cache]
      9 	define glapi [-.glapi]
     10 	define main [-.main]
     11 	define shader [-.shader]
     12 
     13 .include [---]mms-config.
     14 
     15 ##### MACROS #####
     16 
     17 VPATH = RCS
     18 
     19 INCDIR = [---.include],[-.main],[-.glapi],[.slang]
     20 LIBDIR = [---.lib]
     21 CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1,"__extension__=")/name=(as_is,short)/float=ieee/ieee=denorm
     22 
     23 SOURCES = \
     24 	atifragshader.c \
     25 	arbprogparse.c \
     26 	arbprogram.c \
     27 	nvfragparse.c \
     28 	nvprogram.c \
     29 	nvvertparse.c \
     30 	program.c \
     31 	programopt.c \
     32 	prog_debug.c \
     33 	prog_execute.c \
     34 	prog_instruction.c \
     35 	prog_parameter.c \
     36 	prog_print.c \
     37 	prog_cache.c \
     38 	prog_statevars.c \
     39 	shader_api.c prog_uniform.c
     40 
     41 OBJECTS = \
     42 	atifragshader.obj,\
     43 	arbprogparse.obj,\
     44 	arbprogram.obj,\
     45 	nvfragparse.obj,\
     46 	nvprogram.obj,\
     47 	nvvertparse.obj,\
     48 	program.obj,\
     49 	programopt.obj,\
     50 	prog_debug.obj,\
     51 	prog_execute.obj,\
     52 	prog_instruction.obj,\
     53 	prog_parameter.obj,\
     54 	prog_print.obj,\
     55 	prog_statevars.obj,\
     56 	shader_api.obj,prog_uniform.obj,prog_cache.obj
     57 
     58 ##### RULES #####
     59 
     60 VERSION=Mesa V3.4
     61 
     62 ##### TARGETS #####
     63 all : 
     64 	$(MMS)$(MMSQUALIFIERS) $(LIBDIR)$(GL_LIB)
     65 	set def [.slang]
     66 	$(MMS)$(MMSQUALIFIERS)
     67 	set def [-]
     68 
     69 # Make the library
     70 $(LIBDIR)$(GL_LIB) : $(OBJECTS)
     71   @ library $(LIBDIR)$(GL_LIB) $(OBJECTS)
     72 
     73 clean :
     74 	purge
     75 	delete *.obj;*
     76 
     77 atifragshader.obj : atifragshader.c
     78 arbprogparse.obj : arbprogparse.c
     79 arbprogram.obj : arbprogram.c
     80 nvfragparse.obj : nvfragparse.c
     81 nvprogram.obj : nvprogram.c
     82 nvvertparse.obj : nvvertparse.c
     83 program.obj : program.c
     84 programopt. obj : programopt.c
     85 prog_debug.obj : prog_debug.c
     86 prog_execute.obj : prog_execute.c
     87 prog_instruction.obj : prog_instruction.c
     88 prog_parameter.obj : prog_parameter.c
     89 prog_print.obj : prog_print.c
     90 prog_statevars.obj : prog_statevars.c
     91 shader_api.obj : shader_api.c
     92 prog_uniform.obj : prog_uniform.c
     93 prog_cache.obj : prog_cache.c
     94