]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/ogl/makefile.vc
regenerated makefiles
[wxWidgets.git] / contrib / build / ogl / makefile.vc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 !include <../../../build/msw/config.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 LIBDIRNAME = \
16 ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17 OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 OGLDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
20 $(__DEBUGINFO_2) \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
23 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\ogl\..\..\..\include \
24 /I$(LIBDIRNAME) /I..\..\src\ogl\..\..\..\src\tiff \
25 /I..\..\src\ogl\..\..\..\src\jpeg /I..\..\src\ogl\..\..\..\src\png \
26 /I..\..\src\ogl\..\..\..\src\zlib /I..\..\src\ogl\..\..\..\src\regex \
27 /I..\..\src\ogl\..\..\..\src\expat\lib /I..\..\src\ogl\..\..\include \
28 /DWXUSINGDLL /DWXMAKINGDLL_OGL $(CXXFLAGS) /Yu"wx/wxprec.h" \
29 /Fp"$(OBJS)\wxprec_ogldll.pch"
30 OGLDLL_OBJECTS = \
31 $(OBJS)\ogldll_dummy.obj \
32 $(OBJS)\ogldll_basic2.obj \
33 $(OBJS)\ogldll_canvas.obj \
34 $(OBJS)\ogldll_divided.obj \
35 $(OBJS)\ogldll_mfutils.obj \
36 $(OBJS)\ogldll_oglmisc.obj \
37 $(OBJS)\ogldll_basic.obj \
38 $(OBJS)\ogldll_composit.obj \
39 $(OBJS)\ogldll_drawn.obj \
40 $(OBJS)\ogldll_bmpshape.obj \
41 $(OBJS)\ogldll_constrnt.obj \
42 $(OBJS)\ogldll_lines.obj \
43 $(OBJS)\ogldll_ogldiag.obj
44 OGLLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) /DWIN32 \
45 $(__DEBUGINFO_2) \
46 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.pdb \
47 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
48 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\ogl\..\..\..\include \
49 /I$(LIBDIRNAME) /I..\..\src\ogl\..\..\..\src\tiff \
50 /I..\..\src\ogl\..\..\..\src\jpeg /I..\..\src\ogl\..\..\..\src\png \
51 /I..\..\src\ogl\..\..\..\src\zlib /I..\..\src\ogl\..\..\..\src\regex \
52 /I..\..\src\ogl\..\..\..\src\expat\lib /I..\..\src\ogl\..\..\include \
53 $(CXXFLAGS) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_ogllib.pch"
54 OGLLIB_OBJECTS = \
55 $(OBJS)\ogllib_dummy.obj \
56 $(OBJS)\ogllib_basic2.obj \
57 $(OBJS)\ogllib_canvas.obj \
58 $(OBJS)\ogllib_divided.obj \
59 $(OBJS)\ogllib_mfutils.obj \
60 $(OBJS)\ogllib_oglmisc.obj \
61 $(OBJS)\ogllib_basic.obj \
62 $(OBJS)\ogllib_composit.obj \
63 $(OBJS)\ogllib_drawn.obj \
64 $(OBJS)\ogllib_bmpshape.obj \
65 $(OBJS)\ogllib_constrnt.obj \
66 $(OBJS)\ogllib_lines.obj \
67 $(OBJS)\ogllib_ogldiag.obj
68
69 ### Conditionally set variables: ###
70
71 !if "$(USE_GUI)" == "0"
72 PORTNAME = base
73 !endif
74 !if "$(USE_GUI)" == "1"
75 PORTNAME = msw
76 !endif
77 !if "$(OFFICIAL_BUILD)" == "0"
78 VENDORTAG = _$(VENDOR)
79 !endif
80 !if "$(OFFICIAL_BUILD)" == "1"
81 VENDORTAG =
82 !endif
83 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
84 WXDEBUGFLAG = d
85 !endif
86 !if "$(DEBUG_FLAG)" == "1"
87 WXDEBUGFLAG = d
88 !endif
89 !if "$(SHARED)" == "1"
90 WXDLLFLAG = dll
91 !endif
92 !if "$(UNICODE)" == "1"
93 WXUNICODEFLAG = u
94 !endif
95 !if "$(WXUNIV)" == "1"
96 WXUNIVNAME = univ
97 !endif
98 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
99 __DEBUGINFO = d
100 !endif
101 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
102 __DEBUGINFO =
103 !endif
104 !if "$(DEBUG_INFO)" == "0"
105 __DEBUGINFO =
106 !endif
107 !if "$(DEBUG_INFO)" == "1"
108 __DEBUGINFO = d
109 !endif
110 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
111 __DEBUGINFO_1 = /DEBUG
112 !endif
113 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
114 __DEBUGINFO_1 =
115 !endif
116 !if "$(DEBUG_INFO)" == "0"
117 __DEBUGINFO_1 =
118 !endif
119 !if "$(DEBUG_INFO)" == "1"
120 __DEBUGINFO_1 = /DEBUG
121 !endif
122 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
123 __DEBUGINFO_2 = /Zi
124 !endif
125 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
126 __DEBUGINFO_2 =
127 !endif
128 !if "$(DEBUG_INFO)" == "0"
129 __DEBUGINFO_2 =
130 !endif
131 !if "$(DEBUG_INFO)" == "1"
132 __DEBUGINFO_2 = /Zi
133 !endif
134 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
135 __DEBUGRUNTIME_12 =
136 !endif
137 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
138 __DEBUGRUNTIME_12 = d
139 !endif
140 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
141 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
142 !endif
143 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
144 __DEBUGRUNTIME_3 =
145 !endif
146 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
147 __DEBUGRUNTIME_3 = d
148 !endif
149 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
150 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
151 !endif
152 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
153 __DEBUG_DEFINE_p = /D__WXDEBUG__
154 !endif
155 !if "$(DEBUG_FLAG)" == "1"
156 __DEBUG_DEFINE_p = /D__WXDEBUG__
157 !endif
158 !if "$(USE_GUI)" == "1"
159 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
160 !endif
161 !if "$(USE_GUI)" == "1"
162 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
163 !endif
164 !if "$(USE_GUI)" == "1"
165 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
166 !endif
167 !if "$(BUILD)" == "debug"
168 __OPTIMIZEFLAG = /Od
169 !endif
170 !if "$(BUILD)" == "release"
171 __OPTIMIZEFLAG = /O2
172 !endif
173 !if "$(RUNTIME_LIBS)" == "dynamic"
174 __RUNTIME_LIBS = D
175 !endif
176 !if "$(RUNTIME_LIBS)" == "static"
177 __RUNTIME_LIBS = T
178 !endif
179 !if "$(UNICODE)" == "1"
180 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
181 !endif
182 !if "$(MONOLITHIC)" == "0"
183 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
184 !endif
185 !if "$(MONOLITHIC)" == "0"
186 __WXLIB_CORE_p = \
187 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
188 !endif
189 !if "$(MONOLITHIC)" == "1"
190 __WXLIB_MONO_p = \
191 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
192 !endif
193 !if "$(WXUNIV)" == "1"
194 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
195 !endif
196 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
197 ____DEBUGINFO = /D_DEBUG
198 !endif
199 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
200 ____DEBUGINFO =
201 !endif
202 !if "$(DEBUG_INFO)" == "0"
203 ____DEBUGINFO =
204 !endif
205 !if "$(DEBUG_INFO)" == "1"
206 ____DEBUGINFO = /D_DEBUG
207 !endif
208 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
209 ____DEBUGRUNTIME_11_p =
210 !endif
211 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
212 ____DEBUGRUNTIME_11_p = /D_DEBUG
213 !endif
214 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
215 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
216 !endif
217 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
218 ____DEBUGRUNTIME_2_p =
219 !endif
220 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
221 ____DEBUGRUNTIME_2_p = /D_DEBUG
222 !endif
223 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
224 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
225 !endif
226 !if "$(SHARED)" == "1"
227 __ogldll___depname = \
228 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll
229 !endif
230 !if "$(SHARED)" == "0"
231 __ogllib___depname = \
232 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
233 !endif
234
235
236 all: $(OBJS)
237 $(OBJS):
238 -if not exist $(OBJS) mkdir $(OBJS)
239
240 ### Targets: ###
241
242 all: $(__ogldll___depname) $(__ogllib___depname)
243
244 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
245 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
246
247 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
248 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
249
250 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
251 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
252
253 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
254 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
255
256 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
257 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
258
259 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
260 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
261
262 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
263 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
264
265 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
266 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
267
268 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
269 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) /Ycwx/wxprec.h $**
270
271 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
272 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
273
274 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
276
277 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
278 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
279
280 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
281 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
282
283 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
284 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
285
286 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
287 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
288
289 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
290 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
291
292 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
293 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
294
295 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
296 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
297
298 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
299 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
300
301 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
302 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
303
304 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
305 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
306
307 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
308 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) /Ycwx/wxprec.h $**
309
310 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
311 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
312
313 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
314 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
315
316 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
317 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
318
319 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
320 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
321
322 clean:
323 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
324 -if exist $(OBJS)\*.res del $(OBJS)\*.res
325 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll
326 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
327 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
328
329 !if "$(SHARED)" == "1"
330 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll: $(OGLDLL_OBJECTS) $(OBJS)\ogldll_dummy.obj
331 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
332 $(OGLDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
333 <<
334 !endif
335
336 !if "$(SHARED)" == "0"
337 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib: $(OGLLIB_OBJECTS) $(OBJS)\ogllib_dummy.obj
338 if exist $@ del $@
339 lib /NOLOGO /OUT:$@ @<<
340 $(OGLLIB_OBJECTS)
341 <<
342 !endif