1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.3 (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 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 OGLDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
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)
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
42 OGLLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) /DWIN32 \
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)
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
65 ### Conditionally set variables: ###
67 !if "$(USE_GUI)" == "0"
70 !if "$(USE_GUI)" == "1"
73 !if "$(OFFICIAL_BUILD)" == "0"
74 VENDORTAG = _$(VENDOR)
76 !if "$(OFFICIAL_BUILD)" == "1"
79 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
82 !if "$(DEBUG_FLAG)" == "1"
85 !if "$(UNICODE)" == "1"
88 !if "$(WXUNIV)" == "1"
91 !if "$(SHARED)" == "1"
94 !if "$(SHARED)" == "1"
95 __ogldll___depname = \
96 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll
98 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
99 __DEBUGINFO_1 = /DEBUG
101 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
104 !if "$(DEBUG_INFO)" == "0"
107 !if "$(DEBUG_INFO)" == "1"
108 __DEBUGINFO_1 = /DEBUG
110 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
111 ____DEBUGRUNTIME_2_p =
113 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
114 ____DEBUGRUNTIME_2_p = /D_DEBUG
116 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
117 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
119 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
122 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
125 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
126 __DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
128 !if "$(MONOLITHIC)" == "1"
130 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
132 !if "$(USE_GUI)" == "1"
133 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
135 !if "$(USE_GUI)" == "1"
136 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
138 !if "$(USE_GUI)" == "1"
139 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
142 __UNICOWS_LIB_p = unicows.lib
144 !if "$(MONOLITHIC)" == "0"
146 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
148 !if "$(MONOLITHIC)" == "0"
149 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
151 !if "$(SHARED)" == "0"
152 __ogllib___depname = \
153 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
155 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
156 ____DEBUGRUNTIME_14_p =
158 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
159 ____DEBUGRUNTIME_14_p = /D_DEBUG
161 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
162 ____DEBUGRUNTIME_14_p = $(____DEBUGINFO)
164 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
167 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
168 __DEBUGRUNTIME_15 = d
170 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
171 __DEBUGRUNTIME_15 = $(__DEBUGINFO_2)
173 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
176 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
179 !if "$(DEBUG_INFO)" == "0"
182 !if "$(DEBUG_INFO)" == "1"
185 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
186 ____DEBUGINFO = /D_DEBUG
188 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
191 !if "$(DEBUG_INFO)" == "0"
194 !if "$(DEBUG_INFO)" == "1"
195 ____DEBUGINFO = /D_DEBUG
197 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
200 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
203 !if "$(DEBUG_INFO)" == "0"
206 !if "$(DEBUG_INFO)" == "1"
209 !if "$(BUILD)" == "debug"
212 !if "$(BUILD)" == "release"
215 !if "$(RUNTIME_LIBS)" == "dynamic"
218 !if "$(RUNTIME_LIBS)" == "static"
221 !if "$(USE_EXCEPTIONS)" == "0"
224 !if "$(USE_EXCEPTIONS)" == "1"
225 __EXCEPTIONSFLAG = /GR
227 !if "$(USE_EXCEPTIONS)" == "0"
230 !if "$(USE_EXCEPTIONS)" == "1"
231 __EXCEPTIONSFLAG_0 = /GX
233 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
234 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
236 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
237 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
239 !if "$(WXUNIV)" == "1"
240 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
242 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
243 __DEBUG_DEFINE_p = /D__WXDEBUG__
245 !if "$(DEBUG_FLAG)" == "1"
246 __DEBUG_DEFINE_p = /D__WXDEBUG__
248 !if "$(UNICODE)" == "1"
249 __UNICODE_DEFINE_p = /D_UNICODE
251 !if "$(SHARED)" == "0"
252 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_lib$(CFG)
254 !if "$(SHARED)" == "1"
255 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_dll$(CFG)
261 -if not exist $(OBJS) mkdir $(OBJS)
265 all: $(__ogldll___depname) $(__ogllib___depname)
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
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$(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)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
283 !if "$(SHARED)" == "0"
284 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
286 lib /NOLOGO /OUT:$@ @<<
291 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
292 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) /Ycwx/wxprec.h $**
294 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
297 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
298 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
300 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
301 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
303 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
304 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
306 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
309 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
310 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
312 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
315 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
318 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
321 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
322 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
324 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
325 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
327 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
328 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
330 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
331 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) /Ycwx/wxprec.h $**
333 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
334 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
336 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
337 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
339 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
340 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
342 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
343 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
345 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
346 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
348 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
349 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
351 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
352 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
354 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
355 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
357 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
358 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
360 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
361 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
363 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
364 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
366 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
367 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**