• 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 : 3 October 2007
4
5.first
6	define gl [---.include.gl]
7	define math [-.math]
8	define vbo [-.vbo]
9	define tnl [-.tnl]
10	define shader [-.shader]
11	define swrast [-.swrast]
12	define swrast_setup [-.swrast_setup]
13	define main [-.main]
14	define glapi [-.glapi]
15
16.include [---]mms-config.
17
18##### MACROS #####
19
20VPATH = RCS
21
22INCDIR = [---.include],[-.main],[-.glapi],[-.shader],[-.shader.slang]
23LIBDIR = [---.lib]
24CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm
25
26SOURCES =vbo_context.c,vbo_exec.c,vbo_exec_api.c,vbo_exec_array.c,\
27	vbo_exec_draw.c,vbo_exec_eval.c,vbo_rebase.c,vbo_save.c,\
28	vbo_save_api.c,vbo_save_draw.c,vbo_save_loopback.c,\
29	vbo_split.c,vbo_split_copy.c,vbo_split_inplace.c
30
31OBJECTS =vbo_context.obj,vbo_exec.obj,vbo_exec_api.obj,vbo_exec_array.obj,\
32	vbo_exec_draw.obj,vbo_exec_eval.obj,vbo_rebase.obj,vbo_save.obj,\
33	vbo_save_api.obj,vbo_save_draw.obj,vbo_save_loopback.obj,\
34	vbo_split.obj,vbo_split_copy.obj,vbo_split_inplace.obj
35
36##### RULES #####
37
38VERSION=Mesa V3.4
39
40##### TARGETS #####
41# Make the library
42$(LIBDIR)$(GL_LIB) : $(OBJECTS)
43  @ library $(LIBDIR)$(GL_LIB) $(OBJECTS)
44
45clean :
46	purge
47	delete *.obj;*
48
49vbo_context.obj : vbo_context.c
50vbo_exec.obj : vbo_exec.c
51vbo_exec_api.obj : vbo_exec_api.c
52vbo_exec_array.obj : vbo_exec_array.c
53vbo_exec_draw.obj : vbo_exec_draw.c
54vbo_exec_eval.obj : vbo_exec_eval.c
55vbo_rebase.obj : vbo_rebase.c
56vbo_save.obj : vbo_save.c
57vbo_save_api.obj : vbo_save_api.c
58vbo_save_draw.obj : vbo_save_draw.c
59vbo_save_loopback.obj : vbo_save_loopback.c
60vbo_split.obj : vbo_split.c
61vbo_split_copy.obj : vbo_split_copy.c
62vbo_split_inplace.obj : vbo_split_inplace.c
63