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 "$(SHARED)" == "1"
97 __ogldll___depname = \
98 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).dll
100 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
101 __DEBUGINFO_2 = /DEBUG
103 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
106 !if "$(DEBUG_INFO)" == "0"
109 !if "$(DEBUG_INFO)" == "1"
110 __DEBUGINFO_2 = /DEBUG
112 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
113 ____DEBUGRUNTIME_3_p =
115 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
116 ____DEBUGRUNTIME_3_p = /D_DEBUG
118 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
119 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
121 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
124 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
127 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
128 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
130 !if "$(MONOLITHIC)" == "1"
132 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
134 !if "$(USE_GUI)" == "1"
135 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
137 !if "$(USE_GUI)" == "1"
138 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
140 !if "$(USE_GUI)" == "1"
141 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
144 __UNICOWS_LIB_p = unicows.lib
146 !if "$(MONOLITHIC)" == "0"
148 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
150 !if "$(MONOLITHIC)" == "0"
152 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
154 !if "$(SHARED)" == "0"
155 __ogllib___depname = \
156 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
158 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
159 ____DEBUGRUNTIME_15_p =
161 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
162 ____DEBUGRUNTIME_15_p = /D_DEBUG
164 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
165 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
167 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
170 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
171 __DEBUGRUNTIME_16 = d
173 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
174 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
176 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
179 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
182 !if "$(DEBUG_INFO)" == "0"
185 !if "$(DEBUG_INFO)" == "1"
188 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
189 ____DEBUGINFO = /D_DEBUG
191 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
194 !if "$(DEBUG_INFO)" == "0"
197 !if "$(DEBUG_INFO)" == "1"
198 ____DEBUGINFO = /D_DEBUG
200 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
203 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
206 !if "$(DEBUG_INFO)" == "0"
209 !if "$(DEBUG_INFO)" == "1"
212 !if "$(BUILD)" == "debug"
215 !if "$(BUILD)" == "release"
218 !if "$(RUNTIME_LIBS)" == "dynamic"
221 !if "$(RUNTIME_LIBS)" == "static"
224 !if "$(USE_EXCEPTIONS)" == "0"
227 !if "$(USE_EXCEPTIONS)" == "1"
228 __EXCEPTIONSFLAG = /GR
230 !if "$(USE_EXCEPTIONS)" == "0"
233 !if "$(USE_EXCEPTIONS)" == "1"
234 __EXCEPTIONSFLAG_0 = /GX
236 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
237 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
239 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
240 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
242 !if "$(WXUNIV)" == "1"
243 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
245 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
246 __DEBUG_DEFINE_p = /D__WXDEBUG__
248 !if "$(DEBUG_FLAG)" == "1"
249 __DEBUG_DEFINE_p = /D__WXDEBUG__
251 !if "$(UNICODE)" == "1"
252 __UNICODE_DEFINE_p = /D_UNICODE
254 !if "$(SHARED)" == "0"
255 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_lib$(CFG)
257 !if "$(SHARED)" == "1"
258 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_dll$(CFG)
264 -if not exist $(OBJS) mkdir $(OBJS)
268 all: $(__ogldll___depname) $(__ogllib___depname)
271 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
272 -if exist $(OBJS)\*.res del $(OBJS)\*.res
273 -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
274 -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
275 -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
276 -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
277 -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
279 !if "$(SHARED)" == "1"
280 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_vc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OGLDLL_OBJECTS)
281 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
282 $(OGLDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(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)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
286 !if "$(SHARED)" == "0"
287 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
289 lib /NOLOGO /OUT:$@ @<<
294 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) /Ycwx/wxprec.h $**
297 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
298 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
300 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
301 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
303 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
304 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
306 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
309 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
310 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
312 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
315 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
318 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
321 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
322 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
324 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
325 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
327 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
328 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
330 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
331 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
333 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
334 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) /Ycwx/wxprec.h $**
336 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
337 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
339 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
340 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
342 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
343 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
345 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
346 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
348 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
349 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
351 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
352 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
354 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
355 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
357 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
358 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
360 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
361 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
363 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
364 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
366 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
367 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
369 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
370 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**