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) \
24 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
25 /Fp"$(OBJS)\wxprec_ogldll.pch"
27 $(OBJS)\ogldll_dummy.obj \
28 $(OBJS)\ogldll_basic2.obj \
29 $(OBJS)\ogldll_canvas.obj \
30 $(OBJS)\ogldll_divided.obj \
31 $(OBJS)\ogldll_mfutils.obj \
32 $(OBJS)\ogldll_oglmisc.obj \
33 $(OBJS)\ogldll_basic.obj \
34 $(OBJS)\ogldll_composit.obj \
35 $(OBJS)\ogldll_drawn.obj \
36 $(OBJS)\ogldll_bmpshape.obj \
37 $(OBJS)\ogldll_constrnt.obj \
38 $(OBJS)\ogldll_lines.obj \
39 $(OBJS)\ogldll_ogldiag.obj
40 OGLLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) /DWIN32 \
42 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.pdb \
43 $(____DEBUGRUNTIME_14_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
44 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
45 /I..\..\src\ogl\..\..\..\include /I$(SETUPHDIR) /W4 \
46 /I..\..\src\ogl\..\..\include $(CXXFLAGS) $(__EXCEPTIONSFLAG) \
47 $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_ogllib.pch"
49 $(OBJS)\ogllib_dummy.obj \
50 $(OBJS)\ogllib_basic2.obj \
51 $(OBJS)\ogllib_canvas.obj \
52 $(OBJS)\ogllib_divided.obj \
53 $(OBJS)\ogllib_mfutils.obj \
54 $(OBJS)\ogllib_oglmisc.obj \
55 $(OBJS)\ogllib_basic.obj \
56 $(OBJS)\ogllib_composit.obj \
57 $(OBJS)\ogllib_drawn.obj \
58 $(OBJS)\ogllib_bmpshape.obj \
59 $(OBJS)\ogllib_constrnt.obj \
60 $(OBJS)\ogllib_lines.obj \
61 $(OBJS)\ogllib_ogldiag.obj
63 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
65 ### Conditionally set variables: ###
67 !if "$(SHARED)" == "0"
68 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_lib$(CFG)
70 !if "$(SHARED)" == "1"
71 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_dll$(CFG)
73 !if "$(USE_GUI)" == "0"
76 !if "$(USE_GUI)" == "1"
79 !if "$(OFFICIAL_BUILD)" == "0"
80 VENDORTAG = _$(VENDOR)
82 !if "$(OFFICIAL_BUILD)" == "1"
85 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
88 !if "$(DEBUG_FLAG)" == "1"
91 !if "$(SHARED)" == "1"
94 !if "$(UNICODE)" == "1"
97 !if "$(WXUNIV)" == "1"
100 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
103 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
106 !if "$(DEBUG_INFO)" == "0"
109 !if "$(DEBUG_INFO)" == "1"
112 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
113 __DEBUGINFO_1 = /DEBUG
115 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
118 !if "$(DEBUG_INFO)" == "0"
121 !if "$(DEBUG_INFO)" == "1"
122 __DEBUGINFO_1 = /DEBUG
124 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
127 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
130 !if "$(DEBUG_INFO)" == "0"
133 !if "$(DEBUG_INFO)" == "1"
136 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
139 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
140 __DEBUGRUNTIME_15 = d
142 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
143 __DEBUGRUNTIME_15 = $(__DEBUGINFO)
145 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
148 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
151 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
152 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
154 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
155 __DEBUG_DEFINE_p = /D__WXDEBUG__
157 !if "$(DEBUG_FLAG)" == "1"
158 __DEBUG_DEFINE_p = /D__WXDEBUG__
160 !if "$(USE_EXCEPTIONS)" == "0"
163 !if "$(USE_EXCEPTIONS)" == "1"
164 __EXCEPTIONSFLAG = /GR
166 !if "$(USE_EXCEPTIONS)" == "0"
169 !if "$(USE_EXCEPTIONS)" == "1"
170 __EXCEPTIONSFLAG_0 = /GX
172 !if "$(USE_GUI)" == "1"
173 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
175 !if "$(USE_GUI)" == "1"
176 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
178 !if "$(USE_GUI)" == "1"
179 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
181 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
182 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
184 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
185 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
187 !if "$(BUILD)" == "debug"
190 !if "$(BUILD)" == "release"
193 !if "$(RUNTIME_LIBS)" == "dynamic"
196 !if "$(RUNTIME_LIBS)" == "static"
199 !if "$(UNICODE)" == "1"
200 __UNICODE_DEFINE_p = /D_UNICODE
203 __UNICOWS_LIB_p = unicows.lib
205 !if "$(MONOLITHIC)" == "0"
206 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
208 !if "$(MONOLITHIC)" == "0"
210 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
212 !if "$(MONOLITHIC)" == "1"
214 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
216 !if "$(WXUNIV)" == "1"
217 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
219 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
220 ____DEBUGINFO = /D_DEBUG
222 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
225 !if "$(DEBUG_INFO)" == "0"
228 !if "$(DEBUG_INFO)" == "1"
229 ____DEBUGINFO = /D_DEBUG
231 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
232 ____DEBUGRUNTIME_14_p =
234 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
235 ____DEBUGRUNTIME_14_p = /D_DEBUG
237 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
238 ____DEBUGRUNTIME_14_p = $(____DEBUGINFO)
240 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
241 ____DEBUGRUNTIME_2_p =
243 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
244 ____DEBUGRUNTIME_2_p = /D_DEBUG
246 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
247 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
249 !if "$(SHARED)" == "1"
250 __ogldll___depname = \
251 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll
253 !if "$(SHARED)" == "0"
254 __ogllib___depname = \
255 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
261 -if not exist $(OBJS) mkdir $(OBJS)
265 all: $(__ogldll___depname) $(__ogllib___depname)
267 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
268 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
270 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
271 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
273 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
274 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
276 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
277 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
279 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
280 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
282 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
283 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
285 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
286 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
288 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
289 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
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_lines.obj: ../../src/ogl\lines.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
297 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
298 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
300 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
301 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
303 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
304 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
306 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
309 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
310 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
312 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
315 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
318 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
321 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
322 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
324 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
325 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
327 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
328 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_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_lines.obj: ../../src/ogl\lines.cpp
334 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
336 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
337 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
339 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
340 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
342 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
343 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
346 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
347 -if exist $(OBJS)\*.res del $(OBJS)\*.res
348 -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
349 -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
350 -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
351 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
352 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
354 !if "$(SHARED)" == "1"
355 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OGLDLL_OBJECTS)
356 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
357 $(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
361 !if "$(SHARED)" == "0"
362 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
364 lib /NOLOGO /OUT:$@ @<<