• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Makefile for core library for VMS
2# contributed by Jouk Jansen  joukj@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
17VPATH = RCS
18
19INCDIR = [---.include],[-.main],[-.glapi],[.slang]
20LIBDIR = [---.lib]
21CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1,"__extension__=")/name=(as_is,short)/float=ieee/ieee=denorm
22
23SOURCES = \
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
41OBJECTS = \
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
60VERSION=Mesa V3.4
61
62##### TARGETS #####
63all :
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
73clean :
74	purge
75	delete *.obj;*
76
77atifragshader.obj : atifragshader.c
78arbprogparse.obj : arbprogparse.c
79arbprogram.obj : arbprogram.c
80nvfragparse.obj : nvfragparse.c
81nvprogram.obj : nvprogram.c
82nvvertparse.obj : nvvertparse.c
83program.obj : program.c
84programopt. obj : programopt.c
85prog_debug.obj : prog_debug.c
86prog_execute.obj : prog_execute.c
87prog_instruction.obj : prog_instruction.c
88prog_parameter.obj : prog_parameter.c
89prog_print.obj : prog_print.c
90prog_statevars.obj : prog_statevars.c
91shader_api.obj : shader_api.c
92prog_uniform.obj : prog_uniform.c
93prog_cache.obj : prog_cache.c
94