Comment out __FUNCTION__ usage.
[mesa.git] / src / mesa / main / Makefile.win
1 # Makefile for Win32
2
3 !include <win32.mak>
4
5 TOP = ..
6
7 CORE_SRCS = \
8 tnl\t_array_api.c \
9 tnl\t_array_import.c \
10 tnl\t_context.c \
11 tnl\t_eval_api.c \
12 tnl\t_imm_alloc.c \
13 tnl\t_imm_api.c \
14 tnl\t_imm_debug.c \
15 tnl\t_imm_dlist.c \
16 tnl\t_imm_elt.c \
17 tnl\t_imm_eval.c \
18 tnl\t_imm_exec.c \
19 tnl\t_imm_fixup.c \
20 tnl\t_pipeline.c \
21 tnl\t_vb_fog.c \
22 tnl\t_vb_light.c \
23 tnl\t_vb_normals.c \
24 tnl\t_vb_points.c \
25 tnl\t_vb_render.c \
26 tnl\t_vb_texgen.c \
27 tnl\t_vb_texmat.c \
28 tnl\t_vb_vertex.c \
29 swrast_setup\ss_context.c \
30 swrast_setup\ss_triangle.c \
31 swrast_setup\ss_vb.c \
32 swrast_setup\ss_interp.c \
33 api_loopback.c \
34 api_noop.c \
35 api_validate.c \
36 accum.c \
37 alpha.c \
38 attrib.c \
39 bitmap.c \
40 blend.c \
41 buffers.c \
42 clip.c \
43 colortab.c \
44 config.c \
45 context.c \
46 convolve.c \
47 copypix.c \
48 debug.c \
49 depth.c \
50 dispatch.c \
51 dlist.c \
52 drawpix.c \
53 enable.c \
54 enums.c \
55 eval.c \
56 extensions.c \
57 feedback.c \
58 fog.c \
59 get.c \
60 glapi.c \
61 glthread.c \
62 hash.c \
63 highpc.c \
64 hint.c \
65 histogram.c \
66 image.c \
67 imports.c \
68 light.c \
69 lines.c \
70 logic.c \
71 lowpc.c \
72 masking.c \
73 matrix.c \
74 mem.c \
75 mmath.c \
76 pixel.c \
77 pixeltex.c \
78 points.c \
79 polygon.c \
80 rastpos.c \
81 readpix.c \
82 scissor.c \
83 state.c \
84 stencil.c \
85 teximage.c \
86 texobj.c \
87 texstate.c \
88 texstore.c \
89 texutil.c \
90 varray.c \
91 vtxfmt.c \
92 winpos.c \
93 X86\x86.c \
94 X86\common_x86.c \
95 X86\3dnow.c \
96 X86\sse.c \
97 math\m_debug_norm.c \
98 math\m_debug_vertex.c \
99 math\m_debug_xform.c \
100 math\m_eval.c \
101 math\m_matrix.c \
102 math\m_translate.c \
103 math\m_vector.c \
104 math\m_vertices.c \
105 math\m_xform.c \
106 array_cache\ac_context.c \
107 array_cache\ac_import.c \
108 swrast\s_aaline.c \
109 swrast\s_aatriangle.c \
110 swrast\s_accum.c \
111 swrast\s_alpha.c \
112 swrast\s_alphabuf.c \
113 swrast\s_bitmap.c \
114 swrast\s_blend.c \
115 swrast\s_buffers.c \
116 swrast\s_copypix.c \
117 swrast\s_context.c \
118 swrast\s_depth.c \
119 swrast\s_drawpix.c \
120 swrast\s_feedback.c \
121 swrast\s_fog.c \
122 swrast\s_histogram.c \
123 swrast\s_lines.c \
124 swrast\s_logic.c \
125 swrast\s_masking.c \
126 swrast\s_pb.c \
127 swrast\s_pixeltex.c \
128 swrast\s_points.c \
129 swrast\s_readpix.c \
130 swrast\s_scissor.c \
131 swrast\s_span.c \
132 swrast\s_stencil.c \
133 swrast\s_texture.c \
134 swrast\s_triangle.c \
135 swrast\s_zoom.c
136
137 DRIVER_SRCS = \
138 Trace\tr_context.c \
139 Trace\tr_control.c \
140 Trace\tr_error.c \
141 Trace\tr_support.c \
142 Trace\tr_wrapper.c \
143 Trace\tr_write.c
144
145 ASM_SRCS =
146
147 SRCS = $(CORE_SRCS) $(DRIVER_SRCS)
148
149 OSMESA_SRCS = OSmesa\osmesa.c
150 OSMESA_OBJS = OSmesa\osmesa.obj
151
152 all : mesadll install
153
154 !include "$(TOP)/mesawin32.mak"
155
156 mesadll : $(MESADLL)
157
158 CFLAGS = $(cvarsdll) $(CFLAGS) -D_OPENGL32_
159 LFLAGS = $(dlllflags) $(LFLAGS)
160
161 OBJS = $(ASM_SRCS:.S=.obj) $(CORE_SRCS:.c=.obj) $(DRIVER_SRCS:.c=.obj)
162 LIBS = $(OPENGL) $(GLU) winmm.lib $(guilibsdll)
163
164 $(MESADLL) : $(OBJS) mesa.def
165 $(link) $(LFLAGS) -out:$(MESADLL) -def:mesa.def $(OBJS) $(LIBS)
166
167 #install : $(MESADLL)
168 # @echo "copying Mesa dynamic link library to system directory..."
169 # -copy $(MESADLL) $(DLLINSTALL)
170 # @echo "copying Mesa header files to include directory..."
171 # -copy ..\..\include\GL\gl.h $(INCLUDEINSTALL)
172 # -copy ..\..\include\GL\glext.h $(INCLUDEINSTALL)
173 # @echo "copying Mesa import library to library directory..."
174 # -copy $(MESALIB) $(LIBINSTALL)
175 install : $(MESADLL)
176 @echo "copying Mesa dynamic link library to system directory..."
177 -copy $(MESADLL) $(TOP)\lib
178 @echo "copying Mesa import library to library directory..."
179 -copy $(MESALIB) $(TOP)\lib
180
181 .c.obj :
182 $(cc) $(CFLAGS) -I. $<