1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 OGLDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
24 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).pdb \
25 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
26 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
27 /I..\..\src\ogl\..\..\..\include /I$(SETUPHDIR) /W4 \
28 /I..\..\src\ogl\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_OGL \
29 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
30 /Fp"$(OBJS)\wxprec_ogldll.pch" $(CPPFLAGS) $(CXXFLAGS)
32 $(OBJS)\ogldll_dummy.obj \
33 $(OBJS)\ogldll_basic2.obj \
34 $(OBJS)\ogldll_canvas.obj \
35 $(OBJS)\ogldll_divided.obj \
36 $(OBJS)\ogldll_mfutils.obj \
37 $(OBJS)\ogldll_oglmisc.obj \
38 $(OBJS)\ogldll_basic.obj \
39 $(OBJS)\ogldll_composit.obj \
40 $(OBJS)\ogldll_drawn.obj \
41 $(OBJS)\ogldll_bmpshape.obj \
42 $(OBJS)\ogldll_constrnt.obj \
43 $(OBJS)\ogldll_lines.obj \
44 $(OBJS)\ogldll_ogldiag.obj
45 OGLLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
47 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.pdb \
48 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
49 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
50 /I..\..\src\ogl\..\..\..\include /I$(SETUPHDIR) /W4 \
51 /I..\..\src\ogl\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
52 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_ogllib.pch" $(CPPFLAGS) $(CXXFLAGS)
54 $(OBJS)\ogllib_dummy.obj \
55 $(OBJS)\ogllib_basic2.obj \
56 $(OBJS)\ogllib_canvas.obj \
57 $(OBJS)\ogllib_divided.obj \
58 $(OBJS)\ogllib_mfutils.obj \
59 $(OBJS)\ogllib_oglmisc.obj \
60 $(OBJS)\ogllib_basic.obj \
61 $(OBJS)\ogllib_composit.obj \
62 $(OBJS)\ogllib_drawn.obj \
63 $(OBJS)\ogllib_bmpshape.obj \
64 $(OBJS)\ogllib_constrnt.obj \
65 $(OBJS)\ogllib_lines.obj \
66 $(OBJS)\ogllib_ogldiag.obj
68 ### Conditionally set variables: ###
70 !if "$(USE_GUI)" == "0"
73 !if "$(USE_GUI)" == "1"
76 !if "$(OFFICIAL_BUILD)" == "0"
77 VENDORTAG = _$(VENDOR)
79 !if "$(OFFICIAL_BUILD)" == "1"
82 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
85 !if "$(DEBUG_FLAG)" == "1"
88 !if "$(UNICODE)" == "1"
91 !if "$(WXUNIV)" == "1"
94 !if "$(SHARED)" == "1"
97 !if "$(SHARED)" == "0"
100 !if "$(SHARED)" == "1"
103 !if "$(MONOLITHIC)" == "0"
106 !if "$(MONOLITHIC)" == "1"
109 !if "$(SHARED)" == "1"
110 __ogldll___depname = \
111 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).dll
113 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
114 __DEBUGINFO_2 = /DEBUG
116 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
119 !if "$(DEBUG_INFO)" == "0"
122 !if "$(DEBUG_INFO)" == "1"
123 __DEBUGINFO_2 = /DEBUG
125 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
126 ____DEBUGRUNTIME_3_p =
128 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
129 ____DEBUGRUNTIME_3_p = /D_DEBUG
131 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
132 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
134 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
137 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
140 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
141 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
143 !if "$(MONOLITHIC)" == "1"
145 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
147 !if "$(USE_GUI)" == "1"
148 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
150 !if "$(USE_GUI)" == "1"
151 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
153 !if "$(USE_GUI)" == "1"
154 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
157 __UNICOWS_LIB_p = unicows.lib
159 !if "$(MONOLITHIC)" == "0"
161 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
163 !if "$(MONOLITHIC)" == "0"
165 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
167 !if "$(SHARED)" == "0"
168 __ogllib___depname = \
169 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
171 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
172 ____DEBUGRUNTIME_15_p =
174 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
175 ____DEBUGRUNTIME_15_p = /D_DEBUG
177 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
178 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
180 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
183 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
184 __DEBUGRUNTIME_16 = d
186 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
187 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
189 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
192 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
195 !if "$(DEBUG_INFO)" == "0"
198 !if "$(DEBUG_INFO)" == "1"
201 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
202 ____DEBUGINFO = /D_DEBUG
204 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
207 !if "$(DEBUG_INFO)" == "0"
210 !if "$(DEBUG_INFO)" == "1"
211 ____DEBUGINFO = /D_DEBUG
213 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
216 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
219 !if "$(DEBUG_INFO)" == "0"
222 !if "$(DEBUG_INFO)" == "1"
225 !if "$(BUILD)" == "debug"
228 !if "$(BUILD)" == "release"
231 !if "$(RUNTIME_LIBS)" == "dynamic"
234 !if "$(RUNTIME_LIBS)" == "static"
237 !if "$(USE_EXCEPTIONS)" == "0"
240 !if "$(USE_EXCEPTIONS)" == "1"
241 __EXCEPTIONSFLAG = /GR
243 !if "$(USE_EXCEPTIONS)" == "0"
246 !if "$(USE_EXCEPTIONS)" == "1"
247 __EXCEPTIONSFLAG_0 = /GX
249 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
250 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
252 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
253 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
255 !if "$(WXUNIV)" == "1"
256 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
258 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
259 __DEBUG_DEFINE_p = /D__WXDEBUG__
261 !if "$(DEBUG_FLAG)" == "1"
262 __DEBUG_DEFINE_p = /D__WXDEBUG__
264 !if "$(UNICODE)" == "1"
265 __UNICODE_DEFINE_p = /D_UNICODE
271 -if not exist $(OBJS) mkdir $(OBJS)
275 all: $(__ogldll___depname) $(__ogllib___depname)
278 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
279 -if exist $(OBJS)\*.res del $(OBJS)\*.res
280 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
281 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).dll
282 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).ilk
283 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).pdb
284 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
285 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
287 !if "$(SHARED)" == "1"
288 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OGLDLL_OBJECTS)
289 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
290 $(OGLDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__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)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
294 !if "$(SHARED)" == "0"
295 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
297 lib /NOLOGO /OUT:$@ @<<
302 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
303 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) /Ycwx/wxprec.h $**
305 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
306 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
308 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
309 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
311 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
312 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
314 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
315 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
317 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
320 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
321 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
323 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
326 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
329 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
330 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
332 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
335 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
336 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
338 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
341 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
342 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) /Ycwx/wxprec.h $**
344 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
347 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
348 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
350 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
351 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
353 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
354 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
356 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
357 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
359 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
360 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
362 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
363 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
365 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
366 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
368 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
369 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
371 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
372 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
374 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
375 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
377 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
378 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**