1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (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)
17 OGLDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
19 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).pdb \
20 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
21 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
22 /I..\..\src\ogl\..\..\..\include /I$(SETUPHDIR) /W4 \
23 /I..\..\src\ogl\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_OGL $(CXXFLAGS) /GR \
24 /GX /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_ogldll.pch"
26 $(OBJS)\ogldll_dummy.obj \
27 $(OBJS)\ogldll_basic2.obj \
28 $(OBJS)\ogldll_canvas.obj \
29 $(OBJS)\ogldll_divided.obj \
30 $(OBJS)\ogldll_mfutils.obj \
31 $(OBJS)\ogldll_oglmisc.obj \
32 $(OBJS)\ogldll_basic.obj \
33 $(OBJS)\ogldll_composit.obj \
34 $(OBJS)\ogldll_drawn.obj \
35 $(OBJS)\ogldll_bmpshape.obj \
36 $(OBJS)\ogldll_constrnt.obj \
37 $(OBJS)\ogldll_lines.obj \
38 $(OBJS)\ogldll_ogldiag.obj
39 OGLLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_13) /DWIN32 \
41 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.pdb \
42 $(____DEBUGRUNTIME_12_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
43 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
44 /I..\..\src\ogl\..\..\..\include /I$(SETUPHDIR) /W4 \
45 /I..\..\src\ogl\..\..\include $(CXXFLAGS) /GR /GX /Yu"wx/wxprec.h" \
46 /Fp"$(OBJS)\wxprec_ogllib.pch"
48 $(OBJS)\ogllib_dummy.obj \
49 $(OBJS)\ogllib_basic2.obj \
50 $(OBJS)\ogllib_canvas.obj \
51 $(OBJS)\ogllib_divided.obj \
52 $(OBJS)\ogllib_mfutils.obj \
53 $(OBJS)\ogllib_oglmisc.obj \
54 $(OBJS)\ogllib_basic.obj \
55 $(OBJS)\ogllib_composit.obj \
56 $(OBJS)\ogllib_drawn.obj \
57 $(OBJS)\ogllib_bmpshape.obj \
58 $(OBJS)\ogllib_constrnt.obj \
59 $(OBJS)\ogllib_lines.obj \
60 $(OBJS)\ogllib_ogldiag.obj
62 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
64 ### Conditionally set variables: ###
66 !if "$(SHARED)" == "0"
67 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_lib$(CFG)
69 !if "$(SHARED)" == "1"
70 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_dll$(CFG)
72 !if "$(USE_GUI)" == "0"
75 !if "$(USE_GUI)" == "1"
78 !if "$(OFFICIAL_BUILD)" == "0"
79 VENDORTAG = _$(VENDOR)
81 !if "$(OFFICIAL_BUILD)" == "1"
84 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
87 !if "$(DEBUG_FLAG)" == "1"
90 !if "$(SHARED)" == "1"
93 !if "$(UNICODE)" == "1"
96 !if "$(WXUNIV)" == "1"
99 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
102 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
105 !if "$(DEBUG_INFO)" == "0"
108 !if "$(DEBUG_INFO)" == "1"
111 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
112 __DEBUGINFO_1 = /DEBUG
114 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
117 !if "$(DEBUG_INFO)" == "0"
120 !if "$(DEBUG_INFO)" == "1"
121 __DEBUGINFO_1 = /DEBUG
123 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
126 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
129 !if "$(DEBUG_INFO)" == "0"
132 !if "$(DEBUG_INFO)" == "1"
135 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
138 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
139 __DEBUGRUNTIME_13 = d
141 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
142 __DEBUGRUNTIME_13 = $(__DEBUGINFO_2)
144 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
147 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
150 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
151 __DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
153 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
154 __DEBUG_DEFINE_p = /D__WXDEBUG__
156 !if "$(DEBUG_FLAG)" == "1"
157 __DEBUG_DEFINE_p = /D__WXDEBUG__
159 !if "$(USE_GUI)" == "1"
160 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
162 !if "$(USE_GUI)" == "1"
163 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
165 !if "$(USE_GUI)" == "1"
166 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
168 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
169 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
171 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
172 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
174 !if "$(BUILD)" == "debug"
177 !if "$(BUILD)" == "release"
180 !if "$(RUNTIME_LIBS)" == "dynamic"
183 !if "$(RUNTIME_LIBS)" == "static"
186 !if "$(UNICODE)" == "1"
187 __UNICODE_DEFINE_p = /D_UNICODE
190 __UNICOWS_LIB_p = unicows.lib
192 !if "$(MONOLITHIC)" == "0"
193 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
195 !if "$(MONOLITHIC)" == "0"
197 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
199 !if "$(MONOLITHIC)" == "1"
201 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
203 !if "$(WXUNIV)" == "1"
204 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
206 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
207 ____DEBUGINFO = /D_DEBUG
209 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
212 !if "$(DEBUG_INFO)" == "0"
215 !if "$(DEBUG_INFO)" == "1"
216 ____DEBUGINFO = /D_DEBUG
218 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
219 ____DEBUGRUNTIME_12_p =
221 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
222 ____DEBUGRUNTIME_12_p = /D_DEBUG
224 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
225 ____DEBUGRUNTIME_12_p = $(____DEBUGINFO)
227 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
228 ____DEBUGRUNTIME_2_p =
230 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
231 ____DEBUGRUNTIME_2_p = /D_DEBUG
233 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
234 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
236 !if "$(SHARED)" == "1"
237 __ogldll___depname = \
238 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll
240 !if "$(SHARED)" == "0"
241 __ogllib___depname = \
242 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
248 -if not exist $(OBJS) mkdir $(OBJS)
252 all: $(__ogldll___depname) $(__ogllib___depname)
254 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
255 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
257 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
258 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
260 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
261 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
263 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
264 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
266 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
267 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
269 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
270 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
272 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
273 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
275 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
276 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
278 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
279 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) /Ycwx/wxprec.h $**
281 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
282 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
284 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
285 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
287 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
288 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
290 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
291 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
293 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
294 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
296 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
297 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
299 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
300 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
302 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
303 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
305 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
306 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
308 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
309 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
311 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
312 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
314 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
315 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
317 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) /Ycwx/wxprec.h $**
320 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
321 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
323 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
326 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
329 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
330 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
333 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
334 -if exist $(OBJS)\*.res del $(OBJS)\*.res
335 -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
336 -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
337 -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
338 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
339 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
341 !if "$(SHARED)" == "1"
342 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OGLDLL_OBJECTS)
343 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
344 $(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 odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
348 !if "$(SHARED)" == "0"
349 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
351 lib /NOLOGO /OUT:$@ @<<