1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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)3
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 OGLDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
23 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).pdb \
24 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
25 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
26 /I..\..\src\ogl\..\..\..\include /I$(SETUPHDIR) /W4 \
27 /I..\..\src\ogl\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_OGL \
28 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
29 /Fp"$(OBJS)\wxprec_ogldll.pch" $(CPPFLAGS) $(CXXFLAGS)
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 = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
46 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.pdb \
47 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
48 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
49 /I..\..\src\ogl\..\..\..\include /I$(SETUPHDIR) /W4 \
50 /I..\..\src\ogl\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
51 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_ogllib.pch" $(CPPFLAGS) $(CXXFLAGS)
53 $(OBJS)\ogllib_dummy.obj \
54 $(OBJS)\ogllib_basic2.obj \
55 $(OBJS)\ogllib_canvas.obj \
56 $(OBJS)\ogllib_divided.obj \
57 $(OBJS)\ogllib_mfutils.obj \
58 $(OBJS)\ogllib_oglmisc.obj \
59 $(OBJS)\ogllib_basic.obj \
60 $(OBJS)\ogllib_composit.obj \
61 $(OBJS)\ogllib_drawn.obj \
62 $(OBJS)\ogllib_bmpshape.obj \
63 $(OBJS)\ogllib_constrnt.obj \
64 $(OBJS)\ogllib_lines.obj \
65 $(OBJS)\ogllib_ogldiag.obj
67 ### Conditionally set variables: ###
69 !if "$(USE_GUI)" == "0"
72 !if "$(USE_GUI)" == "1"
75 !if "$(OFFICIAL_BUILD)" == "0"
76 VENDORTAG = _$(VENDOR)
78 !if "$(OFFICIAL_BUILD)" == "1"
81 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
84 !if "$(DEBUG_FLAG)" == "1"
87 !if "$(UNICODE)" == "1"
90 !if "$(WXUNIV)" == "1"
93 !if "$(SHARED)" == "1"
96 !if "$(MONOLITHIC)" == "0"
99 !if "$(MONOLITHIC)" == "1"
102 !if "$(SHARED)" == "1"
103 __ogldll___depname = \
104 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).dll
106 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
107 __DEBUGINFO_2 = /DEBUG
109 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
112 !if "$(DEBUG_INFO)" == "0"
115 !if "$(DEBUG_INFO)" == "1"
116 __DEBUGINFO_2 = /DEBUG
118 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
119 ____DEBUGRUNTIME_3_p =
121 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
122 ____DEBUGRUNTIME_3_p = /D_DEBUG
124 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
125 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
127 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
130 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
133 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
134 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
136 !if "$(MONOLITHIC)" == "1"
138 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
140 !if "$(USE_GUI)" == "1"
141 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
143 !if "$(USE_GUI)" == "1"
144 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
146 !if "$(USE_GUI)" == "1"
147 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
150 __UNICOWS_LIB_p = unicows.lib
152 !if "$(MONOLITHIC)" == "0"
154 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
156 !if "$(MONOLITHIC)" == "0"
158 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
160 !if "$(SHARED)" == "0"
161 __ogllib___depname = \
162 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
164 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
165 ____DEBUGRUNTIME_15_p =
167 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
168 ____DEBUGRUNTIME_15_p = /D_DEBUG
170 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
171 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
173 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
176 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
177 __DEBUGRUNTIME_16 = d
179 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
180 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
182 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
185 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
188 !if "$(DEBUG_INFO)" == "0"
191 !if "$(DEBUG_INFO)" == "1"
194 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
195 ____DEBUGINFO = /D_DEBUG
197 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
200 !if "$(DEBUG_INFO)" == "0"
203 !if "$(DEBUG_INFO)" == "1"
204 ____DEBUGINFO = /D_DEBUG
206 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
209 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
212 !if "$(DEBUG_INFO)" == "0"
215 !if "$(DEBUG_INFO)" == "1"
218 !if "$(BUILD)" == "debug"
221 !if "$(BUILD)" == "release"
224 !if "$(RUNTIME_LIBS)" == "dynamic"
227 !if "$(RUNTIME_LIBS)" == "static"
230 !if "$(USE_EXCEPTIONS)" == "0"
233 !if "$(USE_EXCEPTIONS)" == "1"
234 __EXCEPTIONSFLAG = /GR
236 !if "$(USE_EXCEPTIONS)" == "0"
239 !if "$(USE_EXCEPTIONS)" == "1"
240 __EXCEPTIONSFLAG_0 = /GX
242 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
243 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
245 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
246 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
248 !if "$(WXUNIV)" == "1"
249 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
251 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
252 __DEBUG_DEFINE_p = /D__WXDEBUG__
254 !if "$(DEBUG_FLAG)" == "1"
255 __DEBUG_DEFINE_p = /D__WXDEBUG__
257 !if "$(UNICODE)" == "1"
258 __UNICODE_DEFINE_p = /D_UNICODE
260 !if "$(SHARED)" == "0"
261 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_lib$(CFG)
263 !if "$(SHARED)" == "1"
264 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_dll$(CFG)
270 -if not exist $(OBJS) mkdir $(OBJS)
274 all: $(__ogldll___depname) $(__ogllib___depname)
277 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
278 -if exist $(OBJS)\*.res del $(OBJS)\*.res
279 -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
280 -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
281 -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
282 -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
283 -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 "$(SHARED)" == "1"
286 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OGLDLL_OBJECTS)
287 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
288 $(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
292 !if "$(SHARED)" == "0"
293 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
295 lib /NOLOGO /OUT:$@ @<<
300 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
301 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) /Ycwx/wxprec.h $**
303 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
304 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
306 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
309 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
310 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
312 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
315 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
318 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
321 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
322 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
324 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
325 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
327 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
328 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
330 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
331 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
333 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
334 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
336 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
337 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
339 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
340 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) /Ycwx/wxprec.h $**
342 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
343 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
345 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
346 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
348 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
349 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
351 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
352 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
354 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
355 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
357 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
358 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
360 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
361 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
363 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
364 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
366 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
367 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
369 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
370 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
372 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
373 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
375 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
376 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**