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)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).pdb \
20 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
21 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\ogl\..\..\..\include \
22 /I$(SETUPHDIR) /I..\..\src\ogl\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_OGL \
23 $(CXXFLAGS) /GR /GX /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_ogldll.pch"
25 $(OBJS)\ogldll_dummy.obj \
26 $(OBJS)\ogldll_basic2.obj \
27 $(OBJS)\ogldll_canvas.obj \
28 $(OBJS)\ogldll_divided.obj \
29 $(OBJS)\ogldll_mfutils.obj \
30 $(OBJS)\ogldll_oglmisc.obj \
31 $(OBJS)\ogldll_basic.obj \
32 $(OBJS)\ogldll_composit.obj \
33 $(OBJS)\ogldll_drawn.obj \
34 $(OBJS)\ogldll_bmpshape.obj \
35 $(OBJS)\ogldll_constrnt.obj \
36 $(OBJS)\ogldll_lines.obj \
37 $(OBJS)\ogldll_ogldiag.obj
38 OGLLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) /DWIN32 \
40 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.pdb \
41 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
42 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\ogl\..\..\..\include \
43 /I$(SETUPHDIR) /I..\..\src\ogl\..\..\include $(CXXFLAGS) /GR /GX \
44 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_ogllib.pch"
46 $(OBJS)\ogllib_dummy.obj \
47 $(OBJS)\ogllib_basic2.obj \
48 $(OBJS)\ogllib_canvas.obj \
49 $(OBJS)\ogllib_divided.obj \
50 $(OBJS)\ogllib_mfutils.obj \
51 $(OBJS)\ogllib_oglmisc.obj \
52 $(OBJS)\ogllib_basic.obj \
53 $(OBJS)\ogllib_composit.obj \
54 $(OBJS)\ogllib_drawn.obj \
55 $(OBJS)\ogllib_bmpshape.obj \
56 $(OBJS)\ogllib_constrnt.obj \
57 $(OBJS)\ogllib_lines.obj \
58 $(OBJS)\ogllib_ogldiag.obj
60 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
62 ### Conditionally set variables: ###
64 !if "$(SHARED)" == "0"
65 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_lib$(CFG)
67 !if "$(SHARED)" == "1"
68 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_dll$(CFG)
70 !if "$(USE_GUI)" == "0"
73 !if "$(USE_GUI)" == "1"
76 !if "$(OFFICIAL_BUILD)" == "0"
77 VENDORTAG = _$(VENDOR)
79 !if "$(OFFICIAL_BUILD)" == "1"
82 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
85 !if "$(DEBUG_FLAG)" == "1"
88 !if "$(SHARED)" == "1"
91 !if "$(UNICODE)" == "1"
94 !if "$(WXUNIV)" == "1"
97 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
100 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
103 !if "$(DEBUG_INFO)" == "0"
106 !if "$(DEBUG_INFO)" == "1"
109 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
110 __DEBUGINFO_1 = /DEBUG
112 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
115 !if "$(DEBUG_INFO)" == "0"
118 !if "$(DEBUG_INFO)" == "1"
119 __DEBUGINFO_1 = /DEBUG
121 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
124 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
127 !if "$(DEBUG_INFO)" == "0"
130 !if "$(DEBUG_INFO)" == "1"
133 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
136 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
137 __DEBUGRUNTIME_12 = d
139 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
140 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
142 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
145 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
148 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
149 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
151 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
152 __DEBUG_DEFINE_p = /D__WXDEBUG__
154 !if "$(DEBUG_FLAG)" == "1"
155 __DEBUG_DEFINE_p = /D__WXDEBUG__
157 !if "$(USE_GUI)" == "1"
158 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
160 !if "$(USE_GUI)" == "1"
161 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
163 !if "$(USE_GUI)" == "1"
164 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
166 !if "$(BUILD)" == "debug"
169 !if "$(BUILD)" == "release"
172 !if "$(RUNTIME_LIBS)" == "dynamic"
175 !if "$(RUNTIME_LIBS)" == "static"
178 !if "$(UNICODE)" == "1"
179 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
182 __UNICOWS_LIB_p = unicows.lib
184 !if "$(MONOLITHIC)" == "0"
185 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
187 !if "$(MONOLITHIC)" == "0"
189 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
191 !if "$(MONOLITHIC)" == "1"
193 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
195 !if "$(WXUNIV)" == "1"
196 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
198 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
199 ____DEBUGINFO = /D_DEBUG
201 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
204 !if "$(DEBUG_INFO)" == "0"
207 !if "$(DEBUG_INFO)" == "1"
208 ____DEBUGINFO = /D_DEBUG
210 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
211 ____DEBUGRUNTIME_11_p =
213 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
214 ____DEBUGRUNTIME_11_p = /D_DEBUG
216 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
217 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
219 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
220 ____DEBUGRUNTIME_2_p =
222 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
223 ____DEBUGRUNTIME_2_p = /D_DEBUG
225 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
226 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
228 !if "$(SHARED)" == "1"
229 __ogldll___depname = \
230 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll
232 !if "$(SHARED)" == "0"
233 __ogllib___depname = \
234 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
240 -if not exist $(OBJS) mkdir $(OBJS)
244 all: $(__ogldll___depname) $(__ogllib___depname)
246 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
247 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
249 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
250 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
252 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
253 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
255 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
256 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
258 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
259 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
261 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
262 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
264 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
265 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
267 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
268 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
270 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
271 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) /Ycwx/wxprec.h $**
273 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
274 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
276 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
277 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
279 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
280 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
282 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
283 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
285 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
286 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
288 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
289 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
291 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
292 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
294 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
297 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
298 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
300 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
301 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
303 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
304 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
306 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
309 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
310 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) /Ycwx/wxprec.h $**
312 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
315 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
318 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
321 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
322 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
325 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
326 -if exist $(OBJS)\*.res del $(OBJS)\*.res
327 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll
328 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
329 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
331 !if "$(SHARED)" == "1"
332 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OGLDLL_OBJECTS)
333 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
334 $(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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
338 !if "$(SHARED)" == "0"
339 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
341 lib /NOLOGO /OUT:$@ @<<