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